Class DistributedProcessModel

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String BATCHES
      Generated constant - Attribute key of DistributedProcess.batches attribute defined at extension processing.
      static java.lang.String CODE
      Generated constant - Attribute key of DistributedProcess.code attribute defined at extension processing.
      static java.lang.String CURRENTEXECUTIONID
      Generated constant - Attribute key of DistributedProcess.currentExecutionId attribute defined at extension processing.
      static java.lang.String EXTENDEDSTATUS
      Generated constant - Attribute key of DistributedProcess.extendedStatus attribute defined at extension processing.
      static java.lang.String HANDLERBEANID
      Generated constant - Attribute key of DistributedProcess.handlerBeanId attribute defined at extension processing.
      static java.lang.String NODEGROUP
      Generated constant - Attribute key of DistributedProcess.nodeGroup attribute defined at extension processing.
      static java.lang.String PROGRESS
      Generated constant - Attribute key of DistributedProcess.progress attribute defined at extension processing.
      static java.lang.String STATE
      Generated constant - Attribute key of DistributedProcess.state attribute defined at extension processing.
      static java.lang.String STATUS
      Generated constant - Attribute key of DistributedProcess.status attribute defined at extension processing.
      static java.lang.String STOPREQUESTED
      Generated constant - Attribute key of DistributedProcess.stopRequested attribute defined at extension processing.
    • Constructor Summary

      Constructors 
      Constructor Description
      DistributedProcessModel()
      Generated constructor - Default constructor for generic creation.
      DistributedProcessModel​(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      DistributedProcessModel​(java.lang.String _code, java.lang.String _currentExecutionId, DistributedProcessState _state)
      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
      DistributedProcessModel​(java.lang.String _code, java.lang.String _currentExecutionId, java.lang.String _handlerBeanId, java.lang.String _nodeGroup, ItemModel _owner, DistributedProcessState _state)
      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
      • CODE

        public static final java.lang.String CODE
        Generated constant - Attribute key of DistributedProcess.code attribute defined at extension processing.
        See Also:
        Constant Field Values
      • HANDLERBEANID

        public static final java.lang.String HANDLERBEANID
        Generated constant - Attribute key of DistributedProcess.handlerBeanId attribute defined at extension processing.
        See Also:
        Constant Field Values
      • CURRENTEXECUTIONID

        public static final java.lang.String CURRENTEXECUTIONID
        Generated constant - Attribute key of DistributedProcess.currentExecutionId attribute defined at extension processing.
        See Also:
        Constant Field Values
      • STATE

        public static final java.lang.String STATE
        Generated constant - Attribute key of DistributedProcess.state attribute defined at extension processing.
        See Also:
        Constant Field Values
      • STOPREQUESTED

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

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

        public static final java.lang.String STATUS
        Generated constant - Attribute key of DistributedProcess.status attribute defined at extension processing.
        See Also:
        Constant Field Values
      • EXTENDEDSTATUS

        public static final java.lang.String EXTENDEDSTATUS
        Generated constant - Attribute key of DistributedProcess.extendedStatus attribute defined at extension processing.
        See Also:
        Constant Field Values
      • PROGRESS

        public static final java.lang.String PROGRESS
        Generated constant - Attribute key of DistributedProcess.progress attribute defined at extension processing.
        See Also:
        Constant Field Values
      • BATCHES

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

      • DistributedProcessModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public DistributedProcessModel​(java.lang.String _code,
                                       java.lang.String _currentExecutionId,
                                       DistributedProcessState _state)
        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:
        _code - initial attribute declared by type DistributedProcess at extension processing
        _currentExecutionId - initial attribute declared by type DistributedProcess at extension processing
        _state - initial attribute declared by type DistributedProcess at extension processing
      • DistributedProcessModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public DistributedProcessModel​(java.lang.String _code,
                                       java.lang.String _currentExecutionId,
                                       java.lang.String _handlerBeanId,
                                       java.lang.String _nodeGroup,
                                       ItemModel _owner,
                                       DistributedProcessState _state)
        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:
        _code - initial attribute declared by type DistributedProcess at extension processing
        _currentExecutionId - initial attribute declared by type DistributedProcess at extension processing
        _handlerBeanId - initial attribute declared by type DistributedProcess at extension processing
        _nodeGroup - initial attribute declared by type DistributedProcess at extension processing
        _owner - initial attribute declared by type Item at extension core
        _state - initial attribute declared by type DistributedProcess at extension processing
    • Method Detail

      • getBatches

        @Accessor(qualifier="batches",
                  type=GETTER)
        public java.util.Collection<BatchModel> getBatches()
        Generated method - Getter of the DistributedProcess.batches attribute defined at extension processing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the batches
      • getCode

        @Accessor(qualifier="code",
                  type=GETTER)
        public java.lang.String getCode()
        Generated method - Getter of the DistributedProcess.code attribute defined at extension processing.
        Returns:
        the code
      • getCurrentExecutionId

        @Accessor(qualifier="currentExecutionId",
                  type=GETTER)
        public java.lang.String getCurrentExecutionId()
        Generated method - Getter of the DistributedProcess.currentExecutionId attribute defined at extension processing.
        Returns:
        the currentExecutionId
      • getExtendedStatus

        @Accessor(qualifier="extendedStatus",
                  type=GETTER)
        public java.lang.String getExtendedStatus()
        Generated method - Getter of the DistributedProcess.extendedStatus attribute defined at extension processing.
        Returns:
        the extendedStatus
      • getHandlerBeanId

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

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

        @Accessor(qualifier="progress",
                  type=GETTER)
        public java.lang.Double getProgress()
        Generated method - Getter of the DistributedProcess.progress attribute defined at extension processing.
        Returns:
        the progress
      • getStatus

        @Accessor(qualifier="status",
                  type=GETTER)
        public java.lang.String getStatus()
        Generated method - Getter of the DistributedProcess.status attribute defined at extension processing.
        Returns:
        the status
      • isStopRequested

        @Accessor(qualifier="stopRequested",
                  type=GETTER)
        public boolean isStopRequested()
        Generated method - Getter of the DistributedProcess.stopRequested attribute defined at extension processing.
        Returns:
        the stopRequested
      • setBatches

        @Accessor(qualifier="batches",
                  type=SETTER)
        public void setBatches​(java.util.Collection<BatchModel> value)
        Generated method - Setter of DistributedProcess.batches attribute defined at extension processing.
        Parameters:
        value - the batches
      • setCode

        @Accessor(qualifier="code",
                  type=SETTER)
        public void setCode​(java.lang.String value)
        Generated method - Initial setter of DistributedProcess.code attribute defined at extension processing. Can only be used at creation of model - before first save.
        Parameters:
        value - the code
      • setCurrentExecutionId

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

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

        @Accessor(qualifier="handlerBeanId",
                  type=SETTER)
        public void setHandlerBeanId​(java.lang.String value)
        Generated method - Initial setter of DistributedProcess.handlerBeanId attribute defined at extension processing. Can only be used at creation of model - before first save.
        Parameters:
        value - the handlerBeanId
      • setNodeGroup

        @Accessor(qualifier="nodeGroup",
                  type=SETTER)
        public void setNodeGroup​(java.lang.String value)
        Generated method - Initial setter of DistributedProcess.nodeGroup attribute defined at extension processing. Can only be used at creation of model - before first save.
        Parameters:
        value - the nodeGroup
      • setProgress

        @Accessor(qualifier="progress",
                  type=SETTER)
        public void setProgress​(java.lang.Double value)
        Generated method - Setter of DistributedProcess.progress attribute defined at extension processing.
        Parameters:
        value - the progress
      • setStatus

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

        @Accessor(qualifier="stopRequested",
                  type=SETTER)
        public void setStopRequested​(boolean value)
        Generated method - Setter of DistributedProcess.stopRequested attribute defined at extension processing.
        Parameters:
        value - the stopRequested