|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.memphis.ccrg.lida.actionselection.ActionImpl
public class ActionImpl
Default implementation of Action
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface edu.memphis.ccrg.lida.actionselection.Action |
---|
Action.Topology |
Constructor Summary | |
---|---|
ActionImpl()
Default constructor |
|
ActionImpl(java.lang.String label)
Convenience constructor that set the Action's label |
Method Summary | |
---|---|
int |
getId()
|
java.lang.String |
getLabel()
|
java.lang.Object |
getParam(java.lang.String name,
java.lang.Object defaultValue)
A convenience method to read parameters from the Map of properties set with the init() method. |
void |
init()
This is a convenience method to initialize this Object. |
void |
init(java.util.Map<java.lang.String,?> parameters)
This method initializes the module with parameters specified in agent.xml |
void |
setLabel(java.lang.String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActionImpl()
public ActionImpl(java.lang.String label)
label
- the label to setMethod Detail |
---|
public java.lang.String getLabel()
getLabel
in interface Action
public void setLabel(java.lang.String name)
setLabel
in interface Action
name
- the action label to set.public int getId()
getId
in interface Action
Action
idpublic java.lang.Object getParam(java.lang.String name, java.lang.Object defaultValue)
Initializable
getParam
in interface Initializable
name
- the parameter namedefaultValue
- the default value to be returned if the parameter doesn't exist.
public void init(java.util.Map<java.lang.String,?> parameters)
Initializable
init
in interface Initializable
parameters
- Map of parameters indexed by String namespublic void init()
Initializable
init
in interface Initializable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |