Interface Task.Properties
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <V extends Serializable>
Vget(String sKey)
Get the property of a given key.<V extends Serializable>
Vput(String sKey, V value)
Put a property with the given name and value.
-
-
-
Method Detail
-
get
<V extends Serializable> V get(String sKey)
Get the property of a given key.- Type Parameters:
V
- the value type of the property- Parameters:
sKey
- the key of the property- Returns:
- the value of the property
-
put
<V extends Serializable> V put(String sKey, V value)
Put a property with the given name and value.- Type Parameters:
V
- the value type of the property- Parameters:
sKey
- the key of the propertyvalue
- the value of the property- Returns:
- the previous value of the property or null if it's a new property
-
-