Package com._1c.g5.v8.dt.ws.common
Enum WSDefinitionLoader.Certificate.CertificateSource
- java.lang.Object
-
- java.lang.Enum<WSDefinitionLoader.Certificate.CertificateSource>
-
- com._1c.g5.v8.dt.ws.common.WSDefinitionLoader.Certificate.CertificateSource
-
- All Implemented Interfaces:
Serializable
,Comparable<WSDefinitionLoader.Certificate.CertificateSource>
- Enclosing class:
- WSDefinitionLoader.Certificate
public static enum WSDefinitionLoader.Certificate.CertificateSource extends Enum<WSDefinitionLoader.Certificate.CertificateSource>
Type of certificate source
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
Gets integer value of CertificateSourcestatic WSDefinitionLoader.Certificate.CertificateSource
valueOf(String name)
Returns the enum constant of this type with the specified name.static WSDefinitionLoader.Certificate.CertificateSource[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final WSDefinitionLoader.Certificate.CertificateSource NONE
-
FILE
public static final WSDefinitionLoader.Certificate.CertificateSource FILE
-
WINDOWS
public static final WSDefinitionLoader.Certificate.CertificateSource WINDOWS
-
LINUX
public static final WSDefinitionLoader.Certificate.CertificateSource LINUX
-
-
Method Detail
-
values
public static WSDefinitionLoader.Certificate.CertificateSource[] 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 (WSDefinitionLoader.Certificate.CertificateSource c : WSDefinitionLoader.Certificate.CertificateSource.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WSDefinitionLoader.Certificate.CertificateSource 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
-
getValue
public int getValue()
Gets integer value of CertificateSource- Returns:
- integer value of CertificateSource
-
-