Class RemoveTaskVariablesCmd

    • Constructor Summary

      Constructors 
      Constructor Description
      RemoveTaskVariablesCmd​(java.lang.String taskId, java.util.Collection<java.lang.String> variableNames, boolean isLocal)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Void execute​(CommandContext commandContext, TaskEntity task)
      Subclasses must implement in this method their normal command logic.
      protected java.lang.String getSuspendedTaskException()
      Subclasses can override this method to provide a customized exception message that will be thrown when the task is suspended.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RemoveTaskVariablesCmd

        public RemoveTaskVariablesCmd​(java.lang.String taskId,
                                      java.util.Collection<java.lang.String> variableNames,
                                      boolean isLocal)
    • Method Detail

      • getSuspendedTaskException

        protected java.lang.String getSuspendedTaskException()
        Description copied from class: NeedsActiveTaskCmd
        Subclasses can override this method to provide a customized exception message that will be thrown when the task is suspended.
        Overrides:
        getSuspendedTaskException in class NeedsActiveTaskCmd<java.lang.Void>