Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • CNT

        protected static int CNT
      • parameters

        public java.util.Map parameters
        The action parameters.
      • 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 interface java.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 class java.lang.Object