Class TaskModel

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String CONDITIONS
      Generated constant - Attribute key of Task.conditions attribute defined at extension processing.
      static java.lang.String CONTEXT
      Generated constant - Attribute key of Task.context attribute defined at extension processing.
      static java.lang.String CONTEXTITEM
      Generated constant - Attribute key of Task.contextItem attribute defined at extension processing.
      static java.lang.String EXECUTIONDATE
      Generated constant - Attribute key of Task.executionDate attribute defined at extension processing.
      static java.lang.String EXECUTIONHOURMILLIS
      Generated constant - Attribute key of Task.executionHourMillis attribute defined at extension processing.
      static java.lang.String EXECUTIONTIMEMILLIS
      Generated constant - Attribute key of Task.executionTimeMillis attribute defined at extension processing.
      static java.lang.String EXPIRATIONDATE
      Generated constant - Attribute key of Task.expirationDate attribute defined at extension processing.
      static java.lang.String EXPIRATIONTIMEMILLIS
      Generated constant - Attribute key of Task.expirationTimeMillis attribute defined at extension processing.
      static java.lang.String FAILED
      Generated constant - Attribute key of Task.failed attribute defined at extension processing.
      static java.lang.String NODEGROUP
      Generated constant - Attribute key of Task.nodeGroup attribute defined at extension processing.
      static java.lang.String NODEID
      Generated constant - Attribute key of Task.nodeId attribute defined at extension processing.
      static java.lang.String RETRY
      Generated constant - Attribute key of Task.retry attribute defined at extension processing.
      static java.lang.String RUNNERBEAN
      Generated constant - Attribute key of Task.runnerBean attribute defined at extension processing.
      static java.lang.String RUNNINGONCLUSTERNODE
      Generated constant - Attribute key of Task.runningOnClusterNode attribute defined at extension processing.
    • Constructor Summary

      Constructors 
      Constructor Description
      TaskModel()
      Generated constructor - Default constructor for generic creation.
      TaskModel​(ItemModel _owner, java.lang.String _runnerBean)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      TaskModel​(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      TaskModel​(java.lang.String _runnerBean)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • RUNNERBEAN

        public static final java.lang.String RUNNERBEAN
        Generated constant - Attribute key of Task.runnerBean attribute defined at extension processing.
        See Also:
        Constant Field Values
      • EXECUTIONDATE

        public static final java.lang.String EXECUTIONDATE
        Generated constant - Attribute key of Task.executionDate attribute defined at extension processing.
        See Also:
        Constant Field Values
      • EXECUTIONTIMEMILLIS

        public static final java.lang.String EXECUTIONTIMEMILLIS
        Generated constant - Attribute key of Task.executionTimeMillis attribute defined at extension processing.
        See Also:
        Constant Field Values
      • EXECUTIONHOURMILLIS

        public static final java.lang.String EXECUTIONHOURMILLIS
        Generated constant - Attribute key of Task.executionHourMillis attribute defined at extension processing.
        See Also:
        Constant Field Values
      • FAILED

        public static final java.lang.String FAILED
        Generated constant - Attribute key of Task.failed attribute defined at extension processing.
        See Also:
        Constant Field Values
      • EXPIRATIONDATE

        public static final java.lang.String EXPIRATIONDATE
        Generated constant - Attribute key of Task.expirationDate attribute defined at extension processing.
        See Also:
        Constant Field Values
      • EXPIRATIONTIMEMILLIS

        public static final java.lang.String EXPIRATIONTIMEMILLIS
        Generated constant - Attribute key of Task.expirationTimeMillis attribute defined at extension processing.
        See Also:
        Constant Field Values
      • CONTEXT

        public static final java.lang.String CONTEXT
        Generated constant - Attribute key of Task.context attribute defined at extension processing.
        See Also:
        Constant Field Values
      • CONTEXTITEM

        public static final java.lang.String CONTEXTITEM
        Generated constant - Attribute key of Task.contextItem attribute defined at extension processing.
        See Also:
        Constant Field Values
      • NODEID

        public static final java.lang.String NODEID
        Generated constant - Attribute key of Task.nodeId attribute defined at extension processing.
        See Also:
        Constant Field Values
      • NODEGROUP

        public static final java.lang.String NODEGROUP
        Generated constant - Attribute key of Task.nodeGroup attribute defined at extension processing.
        See Also:
        Constant Field Values
      • RETRY

        public static final java.lang.String RETRY
        Generated constant - Attribute key of Task.retry attribute defined at extension processing.
        See Also:
        Constant Field Values
      • RUNNINGONCLUSTERNODE

        public static final java.lang.String RUNNINGONCLUSTERNODE
        Generated constant - Attribute key of Task.runningOnClusterNode attribute defined at extension processing.
        See Also:
        Constant Field Values
      • CONDITIONS

        public static final java.lang.String CONDITIONS
        Generated constant - Attribute key of Task.conditions attribute defined at extension processing.
        See Also:
        Constant Field Values
    • Constructor Detail

      • TaskModel

        public TaskModel()
        Generated constructor - Default constructor for generic creation.
      • TaskModel

        public TaskModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • TaskModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public TaskModel​(java.lang.String _runnerBean)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _runnerBean - initial attribute declared by type Task at extension processing
      • TaskModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public TaskModel​(ItemModel _owner,
                         java.lang.String _runnerBean)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _owner - initial attribute declared by type Item at extension core
        _runnerBean - initial attribute declared by type Task at extension processing
    • Method Detail

      • getConditions

        @Accessor(qualifier="conditions",
                  type=GETTER)
        public java.util.Set<TaskConditionModel> getConditions()
        Generated method - Getter of the Task.conditions attribute defined at extension processing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the conditions
      • getContext

        @Accessor(qualifier="context",
                  type=GETTER)
        public java.lang.Object getContext()
        Generated method - Getter of the Task.context attribute defined at extension processing.
        Returns:
        the context
      • getContextItem

        @Accessor(qualifier="contextItem",
                  type=GETTER)
        public ItemModel getContextItem()
        Generated method - Getter of the Task.contextItem attribute defined at extension processing.
        Returns:
        the contextItem
      • getExecutionDate

        @Accessor(qualifier="executionDate",
                  type=GETTER)
        public java.util.Date getExecutionDate()
        Generated method - Getter of the Task.executionDate dynamic attribute defined at extension processing.
        Returns:
        the executionDate - Date after this task is to be executed
      • getExecutionTimeMillis

        @Accessor(qualifier="executionTimeMillis",
                  type=GETTER)
        public java.lang.Long getExecutionTimeMillis()
        Generated method - Getter of the Task.executionTimeMillis attribute defined at extension processing.
        Returns:
        the executionTimeMillis - Internal representation to overcome database limitations!
      • getExpirationDate

        @Accessor(qualifier="expirationDate",
                  type=GETTER)
        public java.util.Date getExpirationDate()
        Generated method - Getter of the Task.expirationDate dynamic attribute defined at extension processing.
        Returns:
        the expirationDate
      • getExpirationTimeMillis

        @Accessor(qualifier="expirationTimeMillis",
                  type=GETTER)
        public java.lang.Long getExpirationTimeMillis()
        Generated method - Getter of the Task.expirationTimeMillis attribute defined at extension processing.
        Returns:
        the expirationTimeMillis - Date when this task is to be executed
      • getFailed

        @Accessor(qualifier="failed",
                  type=GETTER)
        public java.lang.Boolean getFailed()
        Generated method - Getter of the Task.failed attribute defined at extension processing.
        Returns:
        the failed
      • getNodeGroup

        @Accessor(qualifier="nodeGroup",
                  type=GETTER)
        public java.lang.String getNodeGroup()
        Generated method - Getter of the Task.nodeGroup attribute defined at extension processing.
        Returns:
        the nodeGroup
      • getNodeId

        @Accessor(qualifier="nodeId",
                  type=GETTER)
        public java.lang.Integer getNodeId()
        Generated method - Getter of the Task.nodeId attribute defined at extension processing.
        Returns:
        the nodeId
      • getRetry

        @Accessor(qualifier="retry",
                  type=GETTER)
        public java.lang.Integer getRetry()
        Generated method - Getter of the Task.retry attribute defined at extension processing.
        Returns:
        the retry
      • getRunnerBean

        @Accessor(qualifier="runnerBean",
                  type=GETTER)
        public java.lang.String getRunnerBean()
        Generated method - Getter of the Task.runnerBean attribute defined at extension processing.
        Returns:
        the runnerBean
      • getRunningOnClusterNode

        @Accessor(qualifier="runningOnClusterNode",
                  type=GETTER)
        public java.lang.Integer getRunningOnClusterNode()
        Generated method - Getter of the Task.runningOnClusterNode attribute defined at extension processing.
        Returns:
        the runningOnClusterNode
      • setConditions

        @Accessor(qualifier="conditions",
                  type=SETTER)
        public void setConditions​(java.util.Set<TaskConditionModel> value)
        Generated method - Setter of Task.conditions attribute defined at extension processing.
        Parameters:
        value - the conditions
      • setContext

        @Accessor(qualifier="context",
                  type=SETTER)
        public void setContext​(java.lang.Object value)
        Generated method - Setter of Task.context attribute defined at extension processing.
        Parameters:
        value - the context
      • setContextItem

        @Accessor(qualifier="contextItem",
                  type=SETTER)
        public void setContextItem​(ItemModel value)
        Generated method - Setter of Task.contextItem attribute defined at extension processing.
        Parameters:
        value - the contextItem
      • setExecutionDate

        @Accessor(qualifier="executionDate",
                  type=SETTER)
        public void setExecutionDate​(java.util.Date value)
        Generated method - Setter of Task.executionDate dynamic attribute defined at extension processing.
        Parameters:
        value - the executionDate - Date after this task is to be executed
      • setExecutionHourMillis

        @Accessor(qualifier="executionHourMillis",
                  type=SETTER)
        public void setExecutionHourMillis​(java.lang.Long value)
        Generated method - Setter of Task.executionHourMillis attribute defined at extension processing.
        Parameters:
        value - the executionHourMillis - Internal representation to overcome database limitations!
      • setExecutionTimeMillis

        @Accessor(qualifier="executionTimeMillis",
                  type=SETTER)
        public void setExecutionTimeMillis​(java.lang.Long value)
        Generated method - Setter of Task.executionTimeMillis attribute defined at extension processing.
        Parameters:
        value - the executionTimeMillis - Internal representation to overcome database limitations!
      • setExpirationDate

        @Accessor(qualifier="expirationDate",
                  type=SETTER)
        public void setExpirationDate​(java.util.Date value)
        Generated method - Setter of Task.expirationDate dynamic attribute defined at extension processing.
        Parameters:
        value - the expirationDate
      • setExpirationTimeMillis

        @Accessor(qualifier="expirationTimeMillis",
                  type=SETTER)
        public void setExpirationTimeMillis​(java.lang.Long value)
        Generated method - Setter of Task.expirationTimeMillis attribute defined at extension processing.
        Parameters:
        value - the expirationTimeMillis - Date when this task is to be executed
      • setFailed

        @Accessor(qualifier="failed",
                  type=SETTER)
        public void setFailed​(java.lang.Boolean value)
        Generated method - Setter of Task.failed attribute defined at extension processing.
        Parameters:
        value - the failed
      • setNodeGroup

        @Accessor(qualifier="nodeGroup",
                  type=SETTER)
        public void setNodeGroup​(java.lang.String value)
        Generated method - Setter of Task.nodeGroup attribute defined at extension processing.
        Parameters:
        value - the nodeGroup
      • setNodeId

        @Accessor(qualifier="nodeId",
                  type=SETTER)
        public void setNodeId​(java.lang.Integer value)
        Generated method - Setter of Task.nodeId attribute defined at extension processing.
        Parameters:
        value - the nodeId
      • setRetry

        @Accessor(qualifier="retry",
                  type=SETTER)
        public void setRetry​(java.lang.Integer value)
        Generated method - Setter of Task.retry attribute defined at extension processing.
        Parameters:
        value - the retry
      • setRunnerBean

        @Accessor(qualifier="runnerBean",
                  type=SETTER)
        public void setRunnerBean​(java.lang.String value)
        Generated method - Setter of Task.runnerBean attribute defined at extension processing.
        Parameters:
        value - the runnerBean
      • setRunningOnClusterNode

        @Accessor(qualifier="runningOnClusterNode",
                  type=SETTER)
        public void setRunningOnClusterNode​(java.lang.Integer value)
        Generated method - Setter of Task.runningOnClusterNode attribute defined at extension processing.
        Parameters:
        value - the runningOnClusterNode