|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
K
- the key type.V
- the value type.public interface ManagerInput<K,V>
This interface is used to represent the input to
KernelProcessManager objects. A ManagerInput
should contain all the information necessary to construct
a process.
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the name of this manager input. |
V |
getOptionalValue(java.lang.Object key)
Returns the value corresponding to the provided key. |
V |
getRequiredValue(java.lang.Object key)
Returns the value corresponding to the provided key. |
boolean |
hasValueFor(java.lang.Object key)
Indicates if a value exists for the provided key in this manager input. |
java.util.Map<K,V> |
toMap()
Returns the information contained in this input as a map. |
Method Detail |
---|
boolean hasValueFor(java.lang.Object key)
key
- the key whose presence in this input
is to be tested.
true
if this input contains a
value for the specified key.V getRequiredValue(java.lang.Object key)
key
- the key whose value is to be returned.
ApplicationException
- if the value does not exist.V getOptionalValue(java.lang.Object key)
key
- the key whose value is to be returned.
null
if the value does not exist.java.util.Map<K,V> toMap()
java.lang.String getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |