|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PropertyScope>
com.dtolabs.rundeck.core.plugins.configuration.PropertyScope
public enum PropertyScope
Available scopes for properties, indicating where the runtime values can be resolved from.
Enum Constant Summary | |
---|---|
Framework
Only framework properties |
|
Instance
Instance and all earlier levels |
|
InstanceOnly
Only instance properties |
|
Project
Project and Framework properties |
|
ProjectOnly
Only Project properties |
|
Unspecified
No specific scope specified |
Method Summary | |
---|---|
boolean |
isFrameworkLevel()
Return true if this scope encompasses Framework level properties |
boolean |
isInstanceLevel()
Return true if this scope encompasses Instance level properties |
boolean |
isProjectLevel()
Return true if this scope encompasses Project level properties |
boolean |
isUnspecified()
Return true if this scope is Unspecified |
static PropertyScope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PropertyScope[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PropertyScope Framework
public static final PropertyScope ProjectOnly
public static final PropertyScope Project
public static final PropertyScope InstanceOnly
public static final PropertyScope Instance
public static final PropertyScope Unspecified
Method Detail |
---|
public static PropertyScope[] values()
for (PropertyScope c : PropertyScope.values()) System.out.println(c);
public static PropertyScope valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic boolean isUnspecified()
Unspecified
public boolean isInstanceLevel()
public boolean isProjectLevel()
public boolean isFrameworkLevel()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |