Package org.zalando.fahrschein.domain
Enum BatchItemResponse.PublishingStatus
- java.lang.Object
-
- java.lang.Enum<BatchItemResponse.PublishingStatus>
-
- org.zalando.fahrschein.domain.BatchItemResponse.PublishingStatus
-
- All Implemented Interfaces:
Serializable,Comparable<BatchItemResponse.PublishingStatus>
- Enclosing class:
- BatchItemResponse
public static enum BatchItemResponse.PublishingStatus extends Enum<BatchItemResponse.PublishingStatus>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static BatchItemResponse.PublishingStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static BatchItemResponse.PublishingStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUBMITTED
public static final BatchItemResponse.PublishingStatus SUBMITTED
-
ABORTED
public static final BatchItemResponse.PublishingStatus ABORTED
-
FAILED
public static final BatchItemResponse.PublishingStatus FAILED
-
-
Method Detail
-
values
public static BatchItemResponse.PublishingStatus[] 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 (BatchItemResponse.PublishingStatus c : BatchItemResponse.PublishingStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BatchItemResponse.PublishingStatus 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<BatchItemResponse.PublishingStatus>
-
-