public static enum OptionValue.AccessibleScopes extends Enum<OptionValue.AccessibleScopes>
Enum Constant and Description |
---|
ALL |
BOOT |
QUERY |
SESSION |
SESSION_AND_QUERY |
SYSTEM |
SYSTEM_AND_SESSION |
Modifier and Type | Method and Description |
---|---|
boolean |
inScopeOf(OptionValue.OptionScope scope) |
static OptionValue.AccessibleScopes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OptionValue.AccessibleScopes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OptionValue.AccessibleScopes BOOT
public static final OptionValue.AccessibleScopes SYSTEM
public static final OptionValue.AccessibleScopes SESSION
public static final OptionValue.AccessibleScopes QUERY
public static final OptionValue.AccessibleScopes SYSTEM_AND_SESSION
public static final OptionValue.AccessibleScopes SESSION_AND_QUERY
public static final OptionValue.AccessibleScopes ALL
public static OptionValue.AccessibleScopes[] values()
for (OptionValue.AccessibleScopes c : OptionValue.AccessibleScopes.values()) System.out.println(c);
public static OptionValue.AccessibleScopes 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 boolean inScopeOf(OptionValue.OptionScope scope)
Copyright © 1970 The Apache Software Foundation. All rights reserved.