public enum StandardOption extends Enum<StandardOption> implements PolicyOption
| Modifier and Type | Method and Description | 
|---|---|
| String | getId() | 
| PolicyOption | ofId(String id) | 
| String | toString() | 
| static StandardOption | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static StandardOption[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final StandardOption NOOP
public static final StandardOption YES
public static final StandardOption NO
public static StandardOption[] values()
for (StandardOption c : StandardOption.values()) System.out.println(c);
public static StandardOption 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 getId()
getId in interface PolicyOptionpublic PolicyOption ofId(String id)
ofId in interface PolicyOptionpublic String toString()
toString in class Enum<StandardOption>Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.