Class SimpleBatchModel

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    SolrIndexerBatchModel

    public class SimpleBatchModel
    extends BatchModel
    Generated model class for type SimpleBatch first defined at extension processing.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String RESULTBATCHID
        Generated constant - Attribute key of SimpleBatch.resultBatchId attribute defined at extension processing.
        See Also:
        Constant Field Values
      • RETRIES

        public static final java.lang.String RETRIES
        Generated constant - Attribute key of SimpleBatch.retries attribute defined at extension processing.
        See Also:
        Constant Field Values
      • SCRIPTCODE

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

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

      • SimpleBatchModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public SimpleBatchModel​(java.lang.String _executionId,
                                java.lang.String _id,
                                DistributedProcessModel _process,
                                int _retries,
                                BatchType _type)
        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:
        _executionId - initial attribute declared by type Batch at extension processing
        _id - initial attribute declared by type Batch at extension processing
        _process - initial attribute declared by type Batch at extension processing
        _retries - initial attribute declared by type SimpleBatch at extension processing
        _type - initial attribute declared by type Batch at extension processing
      • SimpleBatchModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public SimpleBatchModel​(java.lang.String _executionId,
                                java.lang.String _id,
                                ItemModel _owner,
                                DistributedProcessModel _process,
                                int _retries,
                                BatchType _type)
        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:
        _executionId - initial attribute declared by type Batch at extension processing
        _id - initial attribute declared by type Batch at extension processing
        _owner - initial attribute declared by type Item at extension core
        _process - initial attribute declared by type Batch at extension processing
        _retries - initial attribute declared by type SimpleBatch at extension processing
        _type - initial attribute declared by type Batch at extension processing
    • Method Detail

      • getContext

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

        @Accessor(qualifier="resultBatchId",
                  type=GETTER)
        public java.lang.String getResultBatchId()
        Generated method - Getter of the SimpleBatch.resultBatchId attribute defined at extension processing.
        Returns:
        the resultBatchId
      • getRetries

        @Accessor(qualifier="retries",
                  type=GETTER)
        public int getRetries()
        Generated method - Getter of the SimpleBatch.retries attribute defined at extension processing.
        Returns:
        the retries
      • getScriptCode

        @Accessor(qualifier="scriptCode",
                  type=GETTER)
        public java.lang.String getScriptCode()
        Generated method - Getter of the SimpleBatch.scriptCode attribute defined at extension processing.
        Returns:
        the scriptCode
      • setContext

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

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

        @Accessor(qualifier="retries",
                  type=SETTER)
        public void setRetries​(int value)
        Generated method - Setter of SimpleBatch.retries attribute defined at extension processing.
        Parameters:
        value - the retries
      • setScriptCode

        @Accessor(qualifier="scriptCode",
                  type=SETTER)
        public void setScriptCode​(java.lang.String value)
        Generated method - Setter of SimpleBatch.scriptCode attribute defined at extension processing.
        Parameters:
        value - the scriptCode