lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anshum Gupta (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-6899) SolrJ CollectionAdminRequest classes should not support public setters for action
Date Tue, 30 Dec 2014 00:06:13 GMT

     [ https://issues.apache.org/jira/browse/SOLR-6899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Anshum Gupta updated SOLR-6899:
-------------------------------
    Summary: SolrJ CollectionAdminRequest classes should not support public setters for action
 (was: SolrJ CollectionAdminRequest classes should not support public setters for action,
method or path)

> SolrJ CollectionAdminRequest classes should not support public setters for action
> ---------------------------------------------------------------------------------
>
>                 Key: SOLR-6899
>                 URL: https://issues.apache.org/jira/browse/SOLR-6899
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Anshum Gupta
>            Assignee: Anshum Gupta
>
> There shouldn't be public path/method/action setters for the CollectionAdminRequests.
> To elaborate more, a Create object should be able to do just that, doesn't make sense
to support/have the following:
> {code}
> Create c = new Create();
> c.setAction("RELOAD");
> {code}
> The implementation could have an action = <custom action> in case of custom actions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message