Class CommandAction.CommandData

  • Enclosing class:
    CommandAction<T>

    public static class CommandAction.CommandData
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Object condresult
      The condition result.
      protected java.lang.Object context
      The context.
      protected IEvent event
      The event.
      protected IRule<?> rule
      The rule.
    • Constructor Summary

      Constructors 
      Constructor Description
      CommandData​(IEvent event, IRule<?> rule, java.lang.Object context, java.lang.Object condresult)
      Create a new CommandData.
    • Field Detail

      • event

        protected IEvent event
        The event.
      • rule

        protected IRule<?> rule
        The rule.
      • context

        protected java.lang.Object context
        The context.
      • condresult

        protected java.lang.Object condresult
        The condition result.
    • Constructor Detail

      • CommandData

        public CommandData​(IEvent event,
                           IRule<?> rule,
                           java.lang.Object context,
                           java.lang.Object condresult)
        Create a new CommandData.
    • Method Detail

      • getEvent

        public IEvent getEvent()
        Get the event.
        Returns:
        The event.
      • getRule

        public IRule<?> getRule()
        Get the rule.
        Returns:
        The rule.
      • getContext

        public java.lang.Object getContext()
        Get the context.
        Returns:
        The context.
      • getCondresult

        public java.lang.Object getCondresult()
        Get the condresult.
        Returns:
        The condresult.