Package org.alfresco.solr.client
Enum SOLRAPIClient.SolrApiContentStatus
- java.lang.Object
-
- java.lang.Enum<SOLRAPIClient.SolrApiContentStatus>
-
- org.alfresco.solr.client.SOLRAPIClient.SolrApiContentStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<SOLRAPIClient.SolrApiContentStatus>
- Enclosing class:
- SOLRAPIClient
public static enum SOLRAPIClient.SolrApiContentStatus extends Enum<SOLRAPIClient.SolrApiContentStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GENERAL_FAILURE
NO_CONTENT
NO_TRANSFORM
NOT_MODIFIED
OK
TRANSFORM_FAILED
UNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SOLRAPIClient.SolrApiContentStatus
getStatus(String statusStr)
static SOLRAPIClient.SolrApiContentStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static SOLRAPIClient.SolrApiContentStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_MODIFIED
public static final SOLRAPIClient.SolrApiContentStatus NOT_MODIFIED
-
OK
public static final SOLRAPIClient.SolrApiContentStatus OK
-
NO_TRANSFORM
public static final SOLRAPIClient.SolrApiContentStatus NO_TRANSFORM
-
NO_CONTENT
public static final SOLRAPIClient.SolrApiContentStatus NO_CONTENT
-
UNKNOWN
public static final SOLRAPIClient.SolrApiContentStatus UNKNOWN
-
TRANSFORM_FAILED
public static final SOLRAPIClient.SolrApiContentStatus TRANSFORM_FAILED
-
GENERAL_FAILURE
public static final SOLRAPIClient.SolrApiContentStatus GENERAL_FAILURE
-
-
Method Detail
-
values
public static SOLRAPIClient.SolrApiContentStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SOLRAPIClient.SolrApiContentStatus c : SOLRAPIClient.SolrApiContentStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SOLRAPIClient.SolrApiContentStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getStatus
public static SOLRAPIClient.SolrApiContentStatus getStatus(String statusStr)
-
-