jadex.application.space.envsupport.environment
Class ComponentActionList.ActionEntry

java.lang.Object
  extended by jadex.application.space.envsupport.environment.ComponentActionList.ActionEntry
All Implemented Interfaces:
Comparable
Enclosing class:
ComponentActionList

public static class ComponentActionList.ActionEntry
extends Object
implements Comparable

Entry for a scheduled action.


Field Summary
 ISpaceAction action
          The action.
protected static int CNT
           
 Exception exception
          The exception (set after failed execution).
 int id
          An id to differentiate otherwise equal actions.
 boolean invalid
          Flag indicating that the action is invalid (e.g. when actor was destroyed in meantime).
 IResultListener listener
          The result listener.
 Map parameters
          The action parameters.
 Object result
          The result (set after successful execution).
 
Constructor Summary
ComponentActionList.ActionEntry(ISpaceAction action, Map parameters, IResultListener listener)
          Convenience constructor for inline entry creation.
 
Method Summary
 int compareTo(Object obj)
          Compare two action entries.
 String toString()
          Create a string representation of the action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CNT

protected static int CNT

action

public ISpaceAction action
The action.


parameters

public Map parameters
The action parameters.


listener

public IResultListener listener
The result listener.


result

public Object result
The result (set after successful execution).


exception

public Exception exception
The exception (set after failed execution).


id

public int id
An id to differentiate otherwise equal actions.


invalid

public boolean invalid
Flag indicating that the action is invalid (e.g. when actor was destroyed in meantime).

Constructor Detail

ComponentActionList.ActionEntry

public ComponentActionList.ActionEntry(ISpaceAction action,
                                       Map parameters,
                                       IResultListener listener)
Convenience constructor for inline entry creation.

Method Detail

compareTo

public int compareTo(Object obj)
Compare two action entries.

Specified by:
compareTo in interface Comparable

toString

public String toString()
Create a string representation of the action.

Overrides:
toString in class Object


Copyright © 2010. All Rights Reserved.