public enum PaFlag extends Enum<PaFlag> implements org.apache.kerby.asn1.EnumType
| Modifier and Type | Method and Description |
|---|---|
static PaFlag |
fromValue(int value) |
String |
getName() |
int |
getValue() |
static PaFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaFlag NONE
public static final PaFlag PA_REAL
public static final PaFlag PA_INFO
public static PaFlag[] values()
for (PaFlag c : PaFlag.values()) System.out.println(c);
public static PaFlag valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()
getValue in interface org.apache.kerby.asn1.EnumTypepublic String getName()
getName in interface org.apache.kerby.asn1.EnumTypepublic static PaFlag fromValue(int value)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.