Enum SVNCertificateFailureKind
- java.lang.Object
-
- java.lang.Enum<SVNCertificateFailureKind>
-
- org.tmatesoft.svn.core.internal.util.SVNCertificateFailureKind
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SVNCertificateFailureKind>
public enum SVNCertificateFailureKind extends java.lang.Enum<SVNCertificateFailureKind>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CN_MISMATCHEXPIREDNOT_YET_VALIDOTHERUNKNOWN_CA
-
Field Summary
Fields Modifier and Type Field Description private intcode
-
Constructor Summary
Constructors Modifier Constructor Description privateSVNCertificateFailureKind(int code)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringasString()static intcreateMask(java.util.EnumSet<SVNCertificateFailureKind> failureKinds)static SVNCertificateFailureKindfromString(java.lang.String s)intgetCode()static SVNCertificateFailureKindvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SVNCertificateFailureKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN_CA
public static final SVNCertificateFailureKind UNKNOWN_CA
-
CN_MISMATCH
public static final SVNCertificateFailureKind CN_MISMATCH
-
EXPIRED
public static final SVNCertificateFailureKind EXPIRED
-
NOT_YET_VALID
public static final SVNCertificateFailureKind NOT_YET_VALID
-
OTHER
public static final SVNCertificateFailureKind OTHER
-
-
Method Detail
-
values
public static SVNCertificateFailureKind[] 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 (SVNCertificateFailureKind c : SVNCertificateFailureKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SVNCertificateFailureKind 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
-
createMask
public static int createMask(java.util.EnumSet<SVNCertificateFailureKind> failureKinds)
-
fromString
public static SVNCertificateFailureKind fromString(java.lang.String s)
-
asString
public java.lang.String asString()
-
getCode
public int getCode()
-
-