Package org.opencms.letsencrypt
Enum CmsLetsEncryptConfiguration.Mode
- java.lang.Object
-
- java.lang.Enum<CmsLetsEncryptConfiguration.Mode>
-
- org.opencms.letsencrypt.CmsLetsEncryptConfiguration.Mode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CmsLetsEncryptConfiguration.Mode>
- Enclosing class:
- CmsLetsEncryptConfiguration
public static enum CmsLetsEncryptConfiguration.Mode extends java.lang.Enum<CmsLetsEncryptConfiguration.Mode>
Enum which represents different modes that control which domains OpenCms puts into the certificate configuration.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description all
Use both site domains and workplace domains in certificate configuration.disabled
Do not generate the certificate configuration.sites
Only use site domains in certificate configuration.workplace
Only use workplace domains in certificate configuration.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CmsLetsEncryptConfiguration.Mode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CmsLetsEncryptConfiguration.Mode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
all
public static final CmsLetsEncryptConfiguration.Mode all
Use both site domains and workplace domains in certificate configuration.
-
disabled
public static final CmsLetsEncryptConfiguration.Mode disabled
Do not generate the certificate configuration.
-
sites
public static final CmsLetsEncryptConfiguration.Mode sites
Only use site domains in certificate configuration.
-
workplace
public static final CmsLetsEncryptConfiguration.Mode workplace
Only use workplace domains in certificate configuration.
-
-
Method Detail
-
values
public static CmsLetsEncryptConfiguration.Mode[] 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 (CmsLetsEncryptConfiguration.Mode c : CmsLetsEncryptConfiguration.Mode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CmsLetsEncryptConfiguration.Mode 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
-
-