Package com.venafi.vcert.sdk.certificate
Enum ChainOption
- java.lang.Object
-
- java.lang.Enum<ChainOption>
-
- com.venafi.vcert.sdk.certificate.ChainOption
-
- All Implemented Interfaces:
Serializable,Comparable<ChainOption>
public enum ChainOption extends Enum<ChainOption>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ChainOptionIgnoreChainOptionRootFirstChainOptionRootLast
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ChainOptionfromString(String order)static ChainOptionvalueOf(String name)Returns the enum constant of this type with the specified name.static ChainOption[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ChainOptionRootLast
public static final ChainOption ChainOptionRootLast
-
ChainOptionRootFirst
public static final ChainOption ChainOptionRootFirst
-
ChainOptionIgnore
public static final ChainOption ChainOptionIgnore
-
-
Method Detail
-
values
public static ChainOption[] 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 (ChainOption c : ChainOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChainOption 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
public static ChainOption fromString(String order)
-
-