Enum OngoingOperation
- java.lang.Object
-
- java.lang.Enum<OngoingOperation>
-
- com.thalesgroup.gemalto.d1.card.cardservice.OngoingOperation
-
- All Implemented Interfaces:
Serializable,Comparable<OngoingOperation>
public enum OngoingOperation extends Enum<OngoingOperation>
The ongoing operation of the card issued by D1.- Since:
- 4.0.0
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OngoingOperationfromString(String val)Converts from String to OngoingOperation.StringtoString()Returns the value as String.static OngoingOperationvalueOf(String name)Returns the enum constant of this type with the specified name.static OngoingOperation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final OngoingOperation NONE
No ongoing operation.
-
RENEWAL
public static final OngoingOperation RENEWAL
Renewal operation.
-
-
Method Detail
-
values
public static OngoingOperation[] 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 (OngoingOperation c : OngoingOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OngoingOperation 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
-
fromString
@Nullable public static OngoingOperation fromString(String val)
Converts from String to OngoingOperation.
-
toString
@NonNull public String toString()
Returns the value as String.- Overrides:
toStringin classEnum<OngoingOperation>
-
-