public class ModuleDeploymentProperties
extends java.lang.Object
implements java.util.Map<java.lang.String,java.lang.String>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COUNT_KEY
Key for the
count property. |
static java.lang.String |
CRITERIA_KEY
Key for the
criteria property. |
static ModuleDeploymentProperties |
defaultInstance
Default instance of
ModuleDeploymentProperties . |
static java.lang.String |
TRACK_HISTORY_KEY
Key for the
trackHistory property. |
Constructor and Description |
---|
ModuleDeploymentProperties()
Create a map to hold module deployment properties.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.String>> |
entrySet() |
java.lang.String |
get(java.lang.Object key) |
int |
getCount()
Return the number of container instances this module should be deployed to.
|
java.lang.String |
getCriteria()
Return the criteria expression to evaluate against container attributes to determine deployment candidates for this module.
|
boolean |
getTrackHistory()
Return the trackHistory property for this module.
|
boolean |
isEmpty() |
java.util.Set<java.lang.String> |
keySet() |
java.lang.String |
put(java.lang.String key,
java.lang.String value) |
void |
putAll(java.util.Map<? extends java.lang.String,? extends java.lang.String> m) |
java.lang.String |
remove(java.lang.Object key) |
ModuleDeploymentProperties |
setCount(int count)
Specify the number of container instances this module should be deployed to.
|
ModuleDeploymentProperties |
setCriteria(java.lang.String criteria)
Specify the criteria expression to evaluate against container attributes to determine deployment candidates for this module.
|
ModuleDeploymentProperties |
setTrackHistory(boolean trackHistory)
Specify the trackHistory property for this module.
|
int |
size() |
java.lang.String |
toString() |
java.util.Collection<java.lang.String> |
values() |
public static final ModuleDeploymentProperties defaultInstance
ModuleDeploymentProperties
. This instance
uses default values for all mandatory properties.public static final java.lang.String COUNT_KEY
count
property. Value should be an integer.public static final java.lang.String CRITERIA_KEY
criteria
property. Value should be a SpEL expression.public static final java.lang.String TRACK_HISTORY_KEY
trackHistory
property. Value should be a boolean.public ModuleDeploymentProperties()
public int getCount()
public ModuleDeploymentProperties setCount(int count)
group
. If group
is null and the value is 0, this module
should be deployed to all containers.public java.lang.String getCriteria()
null
if no criteria expression was specified.public ModuleDeploymentProperties setCriteria(java.lang.String criteria)
public boolean getTrackHistory()
public ModuleDeploymentProperties setTrackHistory(boolean trackHistory)
public int size()
size
in interface java.util.Map<java.lang.String,java.lang.String>
public boolean isEmpty()
isEmpty
in interface java.util.Map<java.lang.String,java.lang.String>
public boolean containsKey(java.lang.Object key)
containsKey
in interface java.util.Map<java.lang.String,java.lang.String>
public boolean containsValue(java.lang.Object value)
containsValue
in interface java.util.Map<java.lang.String,java.lang.String>
public java.lang.String get(java.lang.Object key)
get
in interface java.util.Map<java.lang.String,java.lang.String>
public java.lang.String put(java.lang.String key, java.lang.String value)
put
in interface java.util.Map<java.lang.String,java.lang.String>
public java.lang.String remove(java.lang.Object key)
remove
in interface java.util.Map<java.lang.String,java.lang.String>
public void putAll(java.util.Map<? extends java.lang.String,? extends java.lang.String> m)
putAll
in interface java.util.Map<java.lang.String,java.lang.String>
public void clear()
clear
in interface java.util.Map<java.lang.String,java.lang.String>
public java.util.Set<java.lang.String> keySet()
keySet
in interface java.util.Map<java.lang.String,java.lang.String>
public java.util.Collection<java.lang.String> values()
values
in interface java.util.Map<java.lang.String,java.lang.String>
public java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.String>> entrySet()
entrySet
in interface java.util.Map<java.lang.String,java.lang.String>
public java.lang.String toString()
toString
in class java.lang.Object