Class PatchExecutionModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class PatchExecutionModel
    extends ItemModel
    Generated model class for type PatchExecution first defined at extension patches.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String ERRORLOG
      Generated constant - Attribute key of PatchExecution.errorLog attribute defined at extension patches.
      static java.lang.String EXECUTIONSTATUS
      Generated constant - Attribute key of PatchExecution.executionStatus attribute defined at extension patches.
      static java.lang.String EXECUTIONTIME
      Generated constant - Attribute key of PatchExecution.executionTime attribute defined at extension patches.
      static java.lang.String GITHASHCODE
      Generated constant - Attribute key of PatchExecution.gitHashCode attribute defined at extension patches.
      static java.lang.String JENKINSBUILD
      Generated constant - Attribute key of PatchExecution.jenkinsBuild attribute defined at extension patches.
      static java.lang.String NEXTEXECUTION
      Generated constant - Attribute key of PatchExecution.nextExecution attribute defined at extension patches.
      static java.lang.String NUMBEROFERRORUNITS
      Generated constant - Attribute key of PatchExecution.numberOfErrorUnits attribute defined at extension patches.
      static java.lang.String NUMBEROFUNITS
      Generated constant - Attribute key of PatchExecution.numberOfUnits attribute defined at extension patches.
      static java.lang.String PATCHDESCRIPTION
      Generated constant - Attribute key of PatchExecution.patchDescription attribute defined at extension patches.
      static java.lang.String PATCHID
      Generated constant - Attribute key of PatchExecution.patchId attribute defined at extension patches.
      static java.lang.String PATCHNAME
      Generated constant - Attribute key of PatchExecution.patchName attribute defined at extension patches.
      static java.lang.String PATCHUNITS
      Generated constant - Attribute key of PatchExecution.patchUnits attribute defined at extension patches.
      static java.lang.String PREVIOUSEXECUTION
      Generated constant - Attribute key of PatchExecution.previousExecution attribute defined at extension patches.
      static java.lang.String RERUNNABLE
      Generated constant - Attribute key of PatchExecution.rerunnable attribute defined at extension patches.
    • Constructor Summary

      Constructors 
      Constructor Description
      PatchExecutionModel()
      Generated constructor - Default constructor for generic creation.
      PatchExecutionModel​(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      PatchExecutionModel​(java.util.Date _executionTime, ItemModel _owner, java.lang.String _patchDescription, java.lang.String _patchId, java.lang.String _patchName)
      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
      PatchExecutionModel​(java.util.Date _executionTime, java.lang.String _patchDescription, java.lang.String _patchId, java.lang.String _patchName)
      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
      • PATCHID

        public static final java.lang.String PATCHID
        Generated constant - Attribute key of PatchExecution.patchId attribute defined at extension patches.
        See Also:
        Constant Field Values
      • PATCHNAME

        public static final java.lang.String PATCHNAME
        Generated constant - Attribute key of PatchExecution.patchName attribute defined at extension patches.
        See Also:
        Constant Field Values
      • PATCHDESCRIPTION

        public static final java.lang.String PATCHDESCRIPTION
        Generated constant - Attribute key of PatchExecution.patchDescription attribute defined at extension patches.
        See Also:
        Constant Field Values
      • EXECUTIONTIME

        public static final java.lang.String EXECUTIONTIME
        Generated constant - Attribute key of PatchExecution.executionTime attribute defined at extension patches.
        See Also:
        Constant Field Values
      • PREVIOUSEXECUTION

        public static final java.lang.String PREVIOUSEXECUTION
        Generated constant - Attribute key of PatchExecution.previousExecution attribute defined at extension patches.
        See Also:
        Constant Field Values
      • NEXTEXECUTION

        public static final java.lang.String NEXTEXECUTION
        Generated constant - Attribute key of PatchExecution.nextExecution attribute defined at extension patches.
        See Also:
        Constant Field Values
      • JENKINSBUILD

        public static final java.lang.String JENKINSBUILD
        Generated constant - Attribute key of PatchExecution.jenkinsBuild attribute defined at extension patches.
        See Also:
        Constant Field Values
      • GITHASHCODE

        public static final java.lang.String GITHASHCODE
        Generated constant - Attribute key of PatchExecution.gitHashCode attribute defined at extension patches.
        See Also:
        Constant Field Values
      • NUMBEROFUNITS

        public static final java.lang.String NUMBEROFUNITS
        Generated constant - Attribute key of PatchExecution.numberOfUnits attribute defined at extension patches.
        See Also:
        Constant Field Values
      • NUMBEROFERRORUNITS

        public static final java.lang.String NUMBEROFERRORUNITS
        Generated constant - Attribute key of PatchExecution.numberOfErrorUnits attribute defined at extension patches.
        See Also:
        Constant Field Values
      • EXECUTIONSTATUS

        public static final java.lang.String EXECUTIONSTATUS
        Generated constant - Attribute key of PatchExecution.executionStatus attribute defined at extension patches.
        See Also:
        Constant Field Values
      • ERRORLOG

        public static final java.lang.String ERRORLOG
        Generated constant - Attribute key of PatchExecution.errorLog attribute defined at extension patches.
        See Also:
        Constant Field Values
      • RERUNNABLE

        public static final java.lang.String RERUNNABLE
        Generated constant - Attribute key of PatchExecution.rerunnable attribute defined at extension patches.
        See Also:
        Constant Field Values
      • PATCHUNITS

        public static final java.lang.String PATCHUNITS
        Generated constant - Attribute key of PatchExecution.patchUnits attribute defined at extension patches.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PatchExecutionModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public PatchExecutionModel​(java.util.Date _executionTime,
                                   java.lang.String _patchDescription,
                                   java.lang.String _patchId,
                                   java.lang.String _patchName)
        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:
        _executionTime - initial attribute declared by type PatchExecution at extension patches
        _patchDescription - initial attribute declared by type PatchExecution at extension patches
        _patchId - initial attribute declared by type PatchExecution at extension patches
        _patchName - initial attribute declared by type PatchExecution at extension patches
      • PatchExecutionModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public PatchExecutionModel​(java.util.Date _executionTime,
                                   ItemModel _owner,
                                   java.lang.String _patchDescription,
                                   java.lang.String _patchId,
                                   java.lang.String _patchName)
        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:
        _executionTime - initial attribute declared by type PatchExecution at extension patches
        _owner - initial attribute declared by type Item at extension core
        _patchDescription - initial attribute declared by type PatchExecution at extension patches
        _patchId - initial attribute declared by type PatchExecution at extension patches
        _patchName - initial attribute declared by type PatchExecution at extension patches
    • Method Detail

      • getErrorLog

        @Accessor(qualifier="errorLog",
                  type=GETTER)
        public java.lang.String getErrorLog()
        Generated method - Getter of the PatchExecution.errorLog attribute defined at extension patches.
        Returns:
        the errorLog - Details about major errors during the patch execution.
      • getExecutionStatus

        @Accessor(qualifier="executionStatus",
                  type=GETTER)
        public ExecutionStatus getExecutionStatus()
        Generated method - Getter of the PatchExecution.executionStatus attribute defined at extension patches.
        Returns:
        the executionStatus
      • getExecutionTime

        @Accessor(qualifier="executionTime",
                  type=GETTER)
        public java.util.Date getExecutionTime()
        Generated method - Getter of the PatchExecution.executionTime attribute defined at extension patches.
        Returns:
        the executionTime
      • getGitHashCode

        @Accessor(qualifier="gitHashCode",
                  type=GETTER)
        public java.lang.String getGitHashCode()
        Generated method - Getter of the PatchExecution.gitHashCode attribute defined at extension patches.
        Returns:
        the gitHashCode
      • getJenkinsBuild

        @Accessor(qualifier="jenkinsBuild",
                  type=GETTER)
        public java.lang.String getJenkinsBuild()
        Generated method - Getter of the PatchExecution.jenkinsBuild attribute defined at extension patches.
        Returns:
        the jenkinsBuild
      • getNextExecution

        @Accessor(qualifier="nextExecution",
                  type=GETTER)
        public PatchExecutionModel getNextExecution()
        Generated method - Getter of the PatchExecution.nextExecution attribute defined at extension patches.
        Returns:
        the nextExecution
      • getNumberOfErrorUnits

        @Accessor(qualifier="numberOfErrorUnits",
                  type=GETTER)
        public java.lang.Integer getNumberOfErrorUnits()
        Generated method - Getter of the PatchExecution.numberOfErrorUnits dynamic attribute defined at extension patches.
        Returns:
        the numberOfErrorUnits
      • getNumberOfUnits

        @Accessor(qualifier="numberOfUnits",
                  type=GETTER)
        public java.lang.Integer getNumberOfUnits()
        Generated method - Getter of the PatchExecution.numberOfUnits dynamic attribute defined at extension patches.
        Returns:
        the numberOfUnits
      • getPatchDescription

        @Accessor(qualifier="patchDescription",
                  type=GETTER)
        public java.lang.String getPatchDescription()
        Generated method - Getter of the PatchExecution.patchDescription attribute defined at extension patches.
        Returns:
        the patchDescription
      • getPatchId

        @Accessor(qualifier="patchId",
                  type=GETTER)
        public java.lang.String getPatchId()
        Generated method - Getter of the PatchExecution.patchId attribute defined at extension patches.
        Returns:
        the patchId
      • getPatchName

        @Accessor(qualifier="patchName",
                  type=GETTER)
        public java.lang.String getPatchName()
        Generated method - Getter of the PatchExecution.patchName attribute defined at extension patches.
        Returns:
        the patchName
      • getPatchUnits

        @Accessor(qualifier="patchUnits",
                  type=GETTER)
        public java.util.Collection<PatchExecutionUnitModel> getPatchUnits()
        Generated method - Getter of the PatchExecution.patchUnits attribute defined at extension patches. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the patchUnits
      • getPreviousExecution

        @Accessor(qualifier="previousExecution",
                  type=GETTER)
        public PatchExecutionModel getPreviousExecution()
        Generated method - Getter of the PatchExecution.previousExecution attribute defined at extension patches.
        Returns:
        the previousExecution
      • isRerunnable

        @Accessor(qualifier="rerunnable",
                  type=GETTER)
        public boolean isRerunnable()
        Generated method - Getter of the PatchExecution.rerunnable attribute defined at extension patches.
        Returns:
        the rerunnable - Flag indicating whether patch is re runnable by default.
      • setErrorLog

        @Accessor(qualifier="errorLog",
                  type=SETTER)
        public void setErrorLog​(java.lang.String value)
        Generated method - Setter of PatchExecution.errorLog attribute defined at extension patches.
        Parameters:
        value - the errorLog - Details about major errors during the patch execution.
      • setExecutionStatus

        @Accessor(qualifier="executionStatus",
                  type=SETTER)
        public void setExecutionStatus​(ExecutionStatus value)
        Generated method - Setter of PatchExecution.executionStatus attribute defined at extension patches.
        Parameters:
        value - the executionStatus
      • setExecutionTime

        @Accessor(qualifier="executionTime",
                  type=SETTER)
        public void setExecutionTime​(java.util.Date value)
        Generated method - Setter of PatchExecution.executionTime attribute defined at extension patches.
        Parameters:
        value - the executionTime
      • setGitHashCode

        @Accessor(qualifier="gitHashCode",
                  type=SETTER)
        public void setGitHashCode​(java.lang.String value)
        Generated method - Setter of PatchExecution.gitHashCode attribute defined at extension patches.
        Parameters:
        value - the gitHashCode
      • setJenkinsBuild

        @Accessor(qualifier="jenkinsBuild",
                  type=SETTER)
        public void setJenkinsBuild​(java.lang.String value)
        Generated method - Setter of PatchExecution.jenkinsBuild attribute defined at extension patches.
        Parameters:
        value - the jenkinsBuild
      • setNextExecution

        @Accessor(qualifier="nextExecution",
                  type=SETTER)
        public void setNextExecution​(PatchExecutionModel value)
        Generated method - Setter of PatchExecution.nextExecution attribute defined at extension patches.
        Parameters:
        value - the nextExecution
      • setPatchDescription

        @Accessor(qualifier="patchDescription",
                  type=SETTER)
        public void setPatchDescription​(java.lang.String value)
        Generated method - Setter of PatchExecution.patchDescription attribute defined at extension patches.
        Parameters:
        value - the patchDescription
      • setPatchId

        @Accessor(qualifier="patchId",
                  type=SETTER)
        public void setPatchId​(java.lang.String value)
        Generated method - Setter of PatchExecution.patchId attribute defined at extension patches.
        Parameters:
        value - the patchId
      • setPatchName

        @Accessor(qualifier="patchName",
                  type=SETTER)
        public void setPatchName​(java.lang.String value)
        Generated method - Setter of PatchExecution.patchName attribute defined at extension patches.
        Parameters:
        value - the patchName
      • setPatchUnits

        @Accessor(qualifier="patchUnits",
                  type=SETTER)
        public void setPatchUnits​(java.util.Collection<PatchExecutionUnitModel> value)
        Generated method - Setter of PatchExecution.patchUnits attribute defined at extension patches.
        Parameters:
        value - the patchUnits
      • setPreviousExecution

        @Accessor(qualifier="previousExecution",
                  type=SETTER)
        public void setPreviousExecution​(PatchExecutionModel value)
        Generated method - Setter of PatchExecution.previousExecution attribute defined at extension patches.
        Parameters:
        value - the previousExecution
      • setRerunnable

        @Accessor(qualifier="rerunnable",
                  type=SETTER)
        public void setRerunnable​(boolean value)
        Generated method - Setter of PatchExecution.rerunnable attribute defined at extension patches.
        Parameters:
        value - the rerunnable - Flag indicating whether patch is re runnable by default.