public enum SecurityMarker extends Enum<SecurityMarker> implements AbstractEnumeration
Enum Constant and Description |
---|
NONE |
OTHER |
TATTLE_TAPE |
WHISPER_TAPE |
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
AbstractEnumeration |
getKey(String code) |
String |
toString() |
static SecurityMarker |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecurityMarker[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecurityMarker OTHER
public static final SecurityMarker NONE
public static final SecurityMarker TATTLE_TAPE
public static final SecurityMarker WHISPER_TAPE
public static SecurityMarker[] values()
for (SecurityMarker c : SecurityMarker.values()) System.out.println(c);
public static SecurityMarker 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 String toString()
toString
in interface AbstractEnumeration
toString
in class Enum<SecurityMarker>
public final String getCode()
getCode
in interface AbstractEnumeration
public final AbstractEnumeration getKey(String code)
getKey
in interface AbstractEnumeration
Copyright © 2004–2016 Ceridwen Limited. All rights reserved.