|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AgentAction
Encapsulation of an action to be executed.
Nested Class Summary | |
---|---|
static class |
AgentAction.Topology
|
Method Summary | |
---|---|
FrameworkModule |
getAssociatedModule()
|
java.lang.Object |
getContent()
|
long |
getId()
|
java.lang.String |
getLabel()
|
void |
performAction()
The actual action that should be performed. |
void |
setAssociatedModule(FrameworkModule module)
Sets an associated FrameworkModule. |
void |
setContent(java.lang.Object content)
|
void |
setLabel(java.lang.String label)
|
java.lang.String |
toString()
Useful to implement this for the display of tasks in the GUI |
Method Detail |
---|
void performAction()
java.lang.Object getContent()
void setContent(java.lang.Object content)
content
- the content to set.java.lang.String getLabel()
void setLabel(java.lang.String label)
label
- the action label to set.void setAssociatedModule(FrameworkModule module)
module
- the module to be associated.FrameworkModule getAssociatedModule()
long getId()
AgentAction
idjava.lang.String toString()
toString
in class java.lang.Object
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |