Class GeneratedTask

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable
    Direct Known Subclasses:
    Task

    public abstract class GeneratedTask
    extends GenericItem
    Generated class for type Task.
    See Also:
    Serialized Form
    • Field Detail

      • RUNNERBEAN

        public static final java.lang.String RUNNERBEAN
        Qualifier of the Task.runnerBean attribute
        See Also:
        Constant Field Values
      • EXECUTIONTIMEMILLIS

        public static final java.lang.String EXECUTIONTIMEMILLIS
        Qualifier of the Task.executionTimeMillis attribute
        See Also:
        Constant Field Values
      • EXECUTIONHOURMILLIS

        public static final java.lang.String EXECUTIONHOURMILLIS
        Qualifier of the Task.executionHourMillis attribute
        See Also:
        Constant Field Values
      • FAILED

        public static final java.lang.String FAILED
        Qualifier of the Task.failed attribute
        See Also:
        Constant Field Values
      • EXPIRATIONTIMEMILLIS

        public static final java.lang.String EXPIRATIONTIMEMILLIS
        Qualifier of the Task.expirationTimeMillis attribute
        See Also:
        Constant Field Values
      • CONTEXT

        public static final java.lang.String CONTEXT
        Qualifier of the Task.context attribute
        See Also:
        Constant Field Values
      • CONTEXTITEM

        public static final java.lang.String CONTEXTITEM
        Qualifier of the Task.contextItem attribute
        See Also:
        Constant Field Values
      • NODEID

        public static final java.lang.String NODEID
        Qualifier of the Task.nodeId attribute
        See Also:
        Constant Field Values
      • NODEGROUP

        public static final java.lang.String NODEGROUP
        Qualifier of the Task.nodeGroup attribute
        See Also:
        Constant Field Values
      • RETRY

        public static final java.lang.String RETRY
        Qualifier of the Task.retry attribute
        See Also:
        Constant Field Values
      • RUNNINGONCLUSTERNODE

        public static final java.lang.String RUNNINGONCLUSTERNODE
        Qualifier of the Task.runningOnClusterNode attribute
        See Also:
        Constant Field Values
      • CONDITIONS

        public static final java.lang.String CONDITIONS
        Qualifier of the Task.conditions attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedTask

        public GeneratedTask()
    • Method Detail

      • getConditions

        public java.util.Set<TaskCondition> getConditions​(SessionContext ctx)
        Generated method - Getter of the Task.conditions attribute.
        Returns:
        the conditions
      • getConditions

        public java.util.Set<TaskCondition> getConditions()
        Generated method - Getter of the Task.conditions attribute.
        Returns:
        the conditions
      • setConditions

        public void setConditions​(SessionContext ctx,
                                  java.util.Set<TaskCondition> value)
        Generated method - Setter of the Task.conditions attribute.
        Parameters:
        value - the conditions
      • setConditions

        public void setConditions​(java.util.Set<TaskCondition> value)
        Generated method - Setter of the Task.conditions attribute.
        Parameters:
        value - the conditions
      • addToConditions

        public void addToConditions​(SessionContext ctx,
                                    TaskCondition value)
        Generated method - Adds value to conditions.
        Parameters:
        value - the item to add to conditions
      • addToConditions

        public void addToConditions​(TaskCondition value)
        Generated method - Adds value to conditions.
        Parameters:
        value - the item to add to conditions
      • removeFromConditions

        public void removeFromConditions​(SessionContext ctx,
                                         TaskCondition value)
        Generated method - Removes value from conditions.
        Parameters:
        value - the item to remove from conditions
      • removeFromConditions

        public void removeFromConditions​(TaskCondition value)
        Generated method - Removes value from conditions.
        Parameters:
        value - the item to remove from conditions
      • getContext

        public java.lang.Object getContext​(SessionContext ctx)
        Generated method - Getter of the Task.context attribute.
        Returns:
        the context
      • getContext

        public java.lang.Object getContext()
        Generated method - Getter of the Task.context attribute.
        Returns:
        the context
      • setContext

        public void setContext​(SessionContext ctx,
                               java.lang.Object value)
        Generated method - Setter of the Task.context attribute.
        Parameters:
        value - the context
      • setContext

        public void setContext​(java.lang.Object value)
        Generated method - Setter of the Task.context attribute.
        Parameters:
        value - the context
      • getContextItem

        public Item getContextItem​(SessionContext ctx)
        Generated method - Getter of the Task.contextItem attribute.
        Returns:
        the contextItem
      • getContextItem

        public Item getContextItem()
        Generated method - Getter of the Task.contextItem attribute.
        Returns:
        the contextItem
      • setContextItem

        public void setContextItem​(SessionContext ctx,
                                   Item value)
        Generated method - Setter of the Task.contextItem attribute.
        Parameters:
        value - the contextItem
      • setContextItem

        public void setContextItem​(Item value)
        Generated method - Setter of the Task.contextItem attribute.
        Parameters:
        value - the contextItem
      • setExecutionHourMillis

        public void setExecutionHourMillis​(SessionContext ctx,
                                           java.lang.Long value)
        Generated method - Setter of the Task.executionHourMillis attribute.
        Parameters:
        value - the executionHourMillis - Internal representation to overcome database limitations!
      • setExecutionHourMillis

        public void setExecutionHourMillis​(java.lang.Long value)
        Generated method - Setter of the Task.executionHourMillis attribute.
        Parameters:
        value - the executionHourMillis - Internal representation to overcome database limitations!
      • setExecutionHourMillis

        public void setExecutionHourMillis​(SessionContext ctx,
                                           long value)
        Generated method - Setter of the Task.executionHourMillis attribute.
        Parameters:
        value - the executionHourMillis - Internal representation to overcome database limitations!
      • setExecutionHourMillis

        public void setExecutionHourMillis​(long value)
        Generated method - Setter of the Task.executionHourMillis attribute.
        Parameters:
        value - the executionHourMillis - Internal representation to overcome database limitations!
      • getExecutionTimeMillis

        public java.lang.Long getExecutionTimeMillis​(SessionContext ctx)
        Generated method - Getter of the Task.executionTimeMillis attribute.
        Returns:
        the executionTimeMillis - Internal representation to overcome database limitations!
      • getExecutionTimeMillis

        public java.lang.Long getExecutionTimeMillis()
        Generated method - Getter of the Task.executionTimeMillis attribute.
        Returns:
        the executionTimeMillis - Internal representation to overcome database limitations!
      • getExecutionTimeMillisAsPrimitive

        public long getExecutionTimeMillisAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the Task.executionTimeMillis attribute.
        Returns:
        the executionTimeMillis - Internal representation to overcome database limitations!
      • getExecutionTimeMillisAsPrimitive

        public long getExecutionTimeMillisAsPrimitive()
        Generated method - Getter of the Task.executionTimeMillis attribute.
        Returns:
        the executionTimeMillis - Internal representation to overcome database limitations!
      • setExecutionTimeMillis

        public void setExecutionTimeMillis​(SessionContext ctx,
                                           java.lang.Long value)
        Generated method - Setter of the Task.executionTimeMillis attribute.
        Parameters:
        value - the executionTimeMillis - Internal representation to overcome database limitations!
      • setExecutionTimeMillis

        public void setExecutionTimeMillis​(java.lang.Long value)
        Generated method - Setter of the Task.executionTimeMillis attribute.
        Parameters:
        value - the executionTimeMillis - Internal representation to overcome database limitations!
      • setExecutionTimeMillis

        public void setExecutionTimeMillis​(SessionContext ctx,
                                           long value)
        Generated method - Setter of the Task.executionTimeMillis attribute.
        Parameters:
        value - the executionTimeMillis - Internal representation to overcome database limitations!
      • setExecutionTimeMillis

        public void setExecutionTimeMillis​(long value)
        Generated method - Setter of the Task.executionTimeMillis attribute.
        Parameters:
        value - the executionTimeMillis - Internal representation to overcome database limitations!
      • getExpirationTimeMillis

        public java.lang.Long getExpirationTimeMillis​(SessionContext ctx)
        Generated method - Getter of the Task.expirationTimeMillis attribute.
        Returns:
        the expirationTimeMillis - Date when this task is to be executed
      • getExpirationTimeMillis

        public java.lang.Long getExpirationTimeMillis()
        Generated method - Getter of the Task.expirationTimeMillis attribute.
        Returns:
        the expirationTimeMillis - Date when this task is to be executed
      • getExpirationTimeMillisAsPrimitive

        public long getExpirationTimeMillisAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the Task.expirationTimeMillis attribute.
        Returns:
        the expirationTimeMillis - Date when this task is to be executed
      • getExpirationTimeMillisAsPrimitive

        public long getExpirationTimeMillisAsPrimitive()
        Generated method - Getter of the Task.expirationTimeMillis attribute.
        Returns:
        the expirationTimeMillis - Date when this task is to be executed
      • setExpirationTimeMillis

        public void setExpirationTimeMillis​(SessionContext ctx,
                                            java.lang.Long value)
        Generated method - Setter of the Task.expirationTimeMillis attribute.
        Parameters:
        value - the expirationTimeMillis - Date when this task is to be executed
      • setExpirationTimeMillis

        public void setExpirationTimeMillis​(java.lang.Long value)
        Generated method - Setter of the Task.expirationTimeMillis attribute.
        Parameters:
        value - the expirationTimeMillis - Date when this task is to be executed
      • setExpirationTimeMillis

        public void setExpirationTimeMillis​(SessionContext ctx,
                                            long value)
        Generated method - Setter of the Task.expirationTimeMillis attribute.
        Parameters:
        value - the expirationTimeMillis - Date when this task is to be executed
      • setExpirationTimeMillis

        public void setExpirationTimeMillis​(long value)
        Generated method - Setter of the Task.expirationTimeMillis attribute.
        Parameters:
        value - the expirationTimeMillis - Date when this task is to be executed
      • isFailed

        public java.lang.Boolean isFailed​(SessionContext ctx)
        Generated method - Getter of the Task.failed attribute.
        Returns:
        the failed
      • isFailed

        public java.lang.Boolean isFailed()
        Generated method - Getter of the Task.failed attribute.
        Returns:
        the failed
      • isFailedAsPrimitive

        public boolean isFailedAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the Task.failed attribute.
        Returns:
        the failed
      • isFailedAsPrimitive

        public boolean isFailedAsPrimitive()
        Generated method - Getter of the Task.failed attribute.
        Returns:
        the failed
      • setFailed

        public void setFailed​(SessionContext ctx,
                              java.lang.Boolean value)
        Generated method - Setter of the Task.failed attribute.
        Parameters:
        value - the failed
      • setFailed

        public void setFailed​(java.lang.Boolean value)
        Generated method - Setter of the Task.failed attribute.
        Parameters:
        value - the failed
      • setFailed

        public void setFailed​(SessionContext ctx,
                              boolean value)
        Generated method - Setter of the Task.failed attribute.
        Parameters:
        value - the failed
      • setFailed

        public void setFailed​(boolean value)
        Generated method - Setter of the Task.failed attribute.
        Parameters:
        value - the failed
      • getNodeGroup

        public java.lang.String getNodeGroup​(SessionContext ctx)
        Generated method - Getter of the Task.nodeGroup attribute.
        Returns:
        the nodeGroup
      • getNodeGroup

        public java.lang.String getNodeGroup()
        Generated method - Getter of the Task.nodeGroup attribute.
        Returns:
        the nodeGroup
      • setNodeGroup

        public void setNodeGroup​(SessionContext ctx,
                                 java.lang.String value)
        Generated method - Setter of the Task.nodeGroup attribute.
        Parameters:
        value - the nodeGroup
      • setNodeGroup

        public void setNodeGroup​(java.lang.String value)
        Generated method - Setter of the Task.nodeGroup attribute.
        Parameters:
        value - the nodeGroup
      • getNodeId

        public java.lang.Integer getNodeId​(SessionContext ctx)
        Generated method - Getter of the Task.nodeId attribute.
        Returns:
        the nodeId
      • getNodeId

        public java.lang.Integer getNodeId()
        Generated method - Getter of the Task.nodeId attribute.
        Returns:
        the nodeId
      • getNodeIdAsPrimitive

        public int getNodeIdAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the Task.nodeId attribute.
        Returns:
        the nodeId
      • getNodeIdAsPrimitive

        public int getNodeIdAsPrimitive()
        Generated method - Getter of the Task.nodeId attribute.
        Returns:
        the nodeId
      • setNodeId

        public void setNodeId​(SessionContext ctx,
                              java.lang.Integer value)
        Generated method - Setter of the Task.nodeId attribute.
        Parameters:
        value - the nodeId
      • setNodeId

        public void setNodeId​(java.lang.Integer value)
        Generated method - Setter of the Task.nodeId attribute.
        Parameters:
        value - the nodeId
      • setNodeId

        public void setNodeId​(SessionContext ctx,
                              int value)
        Generated method - Setter of the Task.nodeId attribute.
        Parameters:
        value - the nodeId
      • setNodeId

        public void setNodeId​(int value)
        Generated method - Setter of the Task.nodeId attribute.
        Parameters:
        value - the nodeId
      • getRetry

        public java.lang.Integer getRetry​(SessionContext ctx)
        Generated method - Getter of the Task.retry attribute.
        Returns:
        the retry
      • getRetry

        public java.lang.Integer getRetry()
        Generated method - Getter of the Task.retry attribute.
        Returns:
        the retry
      • getRetryAsPrimitive

        public int getRetryAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the Task.retry attribute.
        Returns:
        the retry
      • getRetryAsPrimitive

        public int getRetryAsPrimitive()
        Generated method - Getter of the Task.retry attribute.
        Returns:
        the retry
      • setRetry

        public void setRetry​(SessionContext ctx,
                             java.lang.Integer value)
        Generated method - Setter of the Task.retry attribute.
        Parameters:
        value - the retry
      • setRetry

        public void setRetry​(java.lang.Integer value)
        Generated method - Setter of the Task.retry attribute.
        Parameters:
        value - the retry
      • setRetry

        public void setRetry​(SessionContext ctx,
                             int value)
        Generated method - Setter of the Task.retry attribute.
        Parameters:
        value - the retry
      • setRetry

        public void setRetry​(int value)
        Generated method - Setter of the Task.retry attribute.
        Parameters:
        value - the retry
      • getRunnerBean

        public java.lang.String getRunnerBean​(SessionContext ctx)
        Generated method - Getter of the Task.runnerBean attribute.
        Returns:
        the runnerBean
      • getRunnerBean

        public java.lang.String getRunnerBean()
        Generated method - Getter of the Task.runnerBean attribute.
        Returns:
        the runnerBean
      • setRunnerBean

        public void setRunnerBean​(SessionContext ctx,
                                  java.lang.String value)
        Generated method - Setter of the Task.runnerBean attribute.
        Parameters:
        value - the runnerBean
      • setRunnerBean

        public void setRunnerBean​(java.lang.String value)
        Generated method - Setter of the Task.runnerBean attribute.
        Parameters:
        value - the runnerBean
      • getRunningOnClusterNode

        public java.lang.Integer getRunningOnClusterNode​(SessionContext ctx)
        Generated method - Getter of the Task.runningOnClusterNode attribute.
        Returns:
        the runningOnClusterNode
      • getRunningOnClusterNode

        public java.lang.Integer getRunningOnClusterNode()
        Generated method - Getter of the Task.runningOnClusterNode attribute.
        Returns:
        the runningOnClusterNode
      • getRunningOnClusterNodeAsPrimitive

        public int getRunningOnClusterNodeAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the Task.runningOnClusterNode attribute.
        Returns:
        the runningOnClusterNode
      • getRunningOnClusterNodeAsPrimitive

        public int getRunningOnClusterNodeAsPrimitive()
        Generated method - Getter of the Task.runningOnClusterNode attribute.
        Returns:
        the runningOnClusterNode
      • setRunningOnClusterNode

        public void setRunningOnClusterNode​(SessionContext ctx,
                                            java.lang.Integer value)
        Generated method - Setter of the Task.runningOnClusterNode attribute.
        Parameters:
        value - the runningOnClusterNode
      • setRunningOnClusterNode

        public void setRunningOnClusterNode​(java.lang.Integer value)
        Generated method - Setter of the Task.runningOnClusterNode attribute.
        Parameters:
        value - the runningOnClusterNode
      • setRunningOnClusterNode

        public void setRunningOnClusterNode​(SessionContext ctx,
                                            int value)
        Generated method - Setter of the Task.runningOnClusterNode attribute.
        Parameters:
        value - the runningOnClusterNode
      • setRunningOnClusterNode

        public void setRunningOnClusterNode​(int value)
        Generated method - Setter of the Task.runningOnClusterNode attribute.
        Parameters:
        value - the runningOnClusterNode