Enum SourceFactory.CacheType
- java.lang.Object
-
- java.lang.Enum<SourceFactory.CacheType>
-
- com.dtolabs.rundeck.core.resources.SourceFactory.CacheType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SourceFactory.CacheType>
- Enclosing class:
- SourceFactory
public static enum SourceFactory.CacheType extends java.lang.Enum<SourceFactory.CacheType>
behavior of the cache
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTH
Store and load dataLOAD_ONLY
Only load dataSTORE_ONLY
only store data
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isLoadType()
boolean
isStoreType()
static SourceFactory.CacheType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SourceFactory.CacheType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOAD_ONLY
public static final SourceFactory.CacheType LOAD_ONLY
Only load data
-
STORE_ONLY
public static final SourceFactory.CacheType STORE_ONLY
only store data
-
BOTH
public static final SourceFactory.CacheType BOTH
Store and load data
-
-
Method Detail
-
values
public static SourceFactory.CacheType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SourceFactory.CacheType c : SourceFactory.CacheType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SourceFactory.CacheType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
isStoreType
public boolean isStoreType()
-
isLoadType
public boolean isLoadType()
-
-