public enum VariableScope extends Enum<VariableScope>
Modifier and Type | Method and Description |
---|---|
static VariableScope |
getScopeForValue(String scopeValue) |
String |
getValue() |
static VariableScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VariableScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VariableScope LOCAL
public static final VariableScope GLOBAL
public static final VariableScope ANY
public static VariableScope[] values()
for (VariableScope c : VariableScope.values()) System.out.println(c);
public static VariableScope 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 static VariableScope getScopeForValue(String scopeValue)
scopeValue
- value of the scope, see getValue()
.VariableScope
for the given value. Returns null if the given value is not
a valid scope.public String getValue()
Copyright © 2005–2017 Alfresco Software. All rights reserved.