Package com.iizix.server.acme
Enum LetsEncrypt.Code
- java.lang.Object
- java.lang.Enum<LetsEncrypt.Code>
- com.iizix.server.acme.LetsEncrypt.Code
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LetsEncrypt.Code>
- Enclosing class:
- LetsEncrypt
public static enum LetsEncrypt.Code extends java.lang.Enum<LetsEncrypt.Code>
The reply code.
Enum Constant Summary
Enum Constants Enum Constant Description CREATE_DNS_RECORD
DNS record must be created.NO_CHANGE
No change: same certificate as before.OK
OK, certificate processed.TOS_NEEDS_ACCEPTANCE
Terms-of-Service agreement URI must be accepted.
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LetsEncrypt.Code
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LetsEncrypt.Code[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
Enum Constant Detail
OK
public static final LetsEncrypt.Code OK
OK, certificate processed.
NO_CHANGE
public static final LetsEncrypt.Code NO_CHANGE
No change: same certificate as before.
TOS_NEEDS_ACCEPTANCE
public static final LetsEncrypt.Code TOS_NEEDS_ACCEPTANCE
Terms-of-Service agreement URI must be accepted.
CREATE_DNS_RECORD
public static final LetsEncrypt.Code CREATE_DNS_RECORD
DNS record must be created.
Method Detail
values
public static LetsEncrypt.Code[] 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 (LetsEncrypt.Code c : LetsEncrypt.Code.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static LetsEncrypt.Code valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null