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.ComparableEntry for a scheduled action.
-
-
Field Summary
Fields Modifier and Type Field Description ISpaceActionactionThe action.protected static intCNTjava.lang.ExceptionexceptionThe exception (set after failed execution).intidAn id to differentiate otherwise equal actions.IResultListenerlistenerThe result listener.java.util.MapparametersThe action parameters.java.lang.ObjectresultThe 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 intcompareTo(java.lang.Object obj)Compare two action entries.booleanisInvalid()Get the invalid.voidsetInvalid(boolean invalid)Set the invalid.java.lang.StringtoString()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:
compareToin 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:
toStringin classjava.lang.Object
-
-