Class ComponentActionList.ActionEntry
- java.lang.Object
-
- jadex.extension.envsupport.environment.ComponentActionList.ActionEntry
-
- All Implemented Interfaces:
java.lang.Comparable
- Enclosing class:
- ComponentActionList
public static class ComponentActionList.ActionEntry extends java.lang.Object implements java.lang.Comparable
Entry for a scheduled action.
-
-
Field Summary
Fields Modifier and Type Field Description ISpaceAction
action
The action.protected static int
CNT
java.lang.Exception
exception
The exception (set after failed execution).int
id
An id to differentiate otherwise equal actions.IResultListener
listener
The result listener.java.util.Map
parameters
The action parameters.java.lang.Object
result
The result (set after successful execution).
-
Constructor Summary
Constructors Constructor Description ActionEntry(ISpaceAction action, java.util.Map parameters, IResultListener listener)
Convenience constructor for inline entry creation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(java.lang.Object obj)
Compare two action entries.boolean
isInvalid()
Get the invalid.void
setInvalid(boolean invalid)
Set the invalid.java.lang.String
toString()
Create a string representation of the action.
-
-
-
Field Detail
-
CNT
protected static int CNT
-
action
public ISpaceAction action
The action.
-
parameters
public java.util.Map parameters
The action parameters.
-
listener
public IResultListener listener
The result listener.
-
result
public java.lang.Object result
The result (set after successful execution).
-
exception
public java.lang.Exception exception
The exception (set after failed execution).
-
id
public int id
An id to differentiate otherwise equal actions.
-
-
Constructor Detail
-
ActionEntry
public ActionEntry(ISpaceAction action, java.util.Map parameters, IResultListener listener)
Convenience constructor for inline entry creation.
-
-
Method Detail
-
compareTo
public int compareTo(java.lang.Object obj)
Compare two action entries.- Specified by:
compareTo
in interfacejava.lang.Comparable
-
isInvalid
public boolean isInvalid()
Get the invalid.- Returns:
- The invalid.
-
setInvalid
public void setInvalid(boolean invalid)
Set the invalid.- Parameters:
invalid
- The invalid to set.
-
toString
public java.lang.String toString()
Create a string representation of the action.- Overrides:
toString
in classjava.lang.Object
-
-