Enum StatusRetrievalMethod
- java.lang.Object
-
- java.lang.Enum<StatusRetrievalMethod>
-
- no.digipost.signature.client.direct.StatusRetrievalMethod
-
- All Implemented Interfaces:
Serializable
,Comparable<StatusRetrievalMethod>
,MarshallableEnum<no.digipost.signature.api.xml.XMLStatusRetrievalMethod>
public enum StatusRetrievalMethod extends Enum<StatusRetrievalMethod> implements MarshallableEnum<no.digipost.signature.api.xml.XMLStatusRetrievalMethod>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description POLLING
WAIT_FOR_CALLBACK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description no.digipost.signature.api.xml.XMLStatusRetrievalMethod
getXmlEnumValue()
static StatusRetrievalMethod
valueOf(String name)
Returns the enum constant of this type with the specified name.static StatusRetrievalMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WAIT_FOR_CALLBACK
public static final StatusRetrievalMethod WAIT_FOR_CALLBACK
-
POLLING
public static final StatusRetrievalMethod POLLING
-
-
Method Detail
-
values
public static StatusRetrievalMethod[] 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 (StatusRetrievalMethod c : StatusRetrievalMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StatusRetrievalMethod 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
-
getXmlEnumValue
public no.digipost.signature.api.xml.XMLStatusRetrievalMethod getXmlEnumValue()
- Specified by:
getXmlEnumValue
in interfaceMarshallableEnum<no.digipost.signature.api.xml.XMLStatusRetrievalMethod>
-
-