Package de.hybris.platform.patches.model
Class PatchExecutionModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.patches.model.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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringERRORLOGGenerated constant - Attribute key ofPatchExecution.errorLogattribute defined at extensionpatches.static java.lang.StringEXECUTIONSTATUSGenerated constant - Attribute key ofPatchExecution.executionStatusattribute defined at extensionpatches.static java.lang.StringEXECUTIONTIMEGenerated constant - Attribute key ofPatchExecution.executionTimeattribute defined at extensionpatches.static java.lang.StringGITHASHCODEGenerated constant - Attribute key ofPatchExecution.gitHashCodeattribute defined at extensionpatches.static java.lang.StringJENKINSBUILDGenerated constant - Attribute key ofPatchExecution.jenkinsBuildattribute defined at extensionpatches.static java.lang.StringNEXTEXECUTIONGenerated constant - Attribute key ofPatchExecution.nextExecutionattribute defined at extensionpatches.static java.lang.StringNUMBEROFERRORUNITSGenerated constant - Attribute key ofPatchExecution.numberOfErrorUnitsattribute defined at extensionpatches.static java.lang.StringNUMBEROFUNITSGenerated constant - Attribute key ofPatchExecution.numberOfUnitsattribute defined at extensionpatches.static java.lang.StringPATCHDESCRIPTIONGenerated constant - Attribute key ofPatchExecution.patchDescriptionattribute defined at extensionpatches.static java.lang.StringPATCHIDGenerated constant - Attribute key ofPatchExecution.patchIdattribute defined at extensionpatches.static java.lang.StringPATCHNAMEGenerated constant - Attribute key ofPatchExecution.patchNameattribute defined at extensionpatches.static java.lang.StringPATCHUNITSGenerated constant - Attribute key ofPatchExecution.patchUnitsattribute defined at extensionpatches.static java.lang.StringPREVIOUSEXECUTIONGenerated constant - Attribute key ofPatchExecution.previousExecutionattribute defined at extensionpatches.static java.lang.StringRERUNNABLEGenerated constant - Attribute key ofPatchExecution.rerunnableattribute defined at extensionpatches.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description PatchExecutionModel()Generated constructor - Default constructor for generic creation.PatchExecutionModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextPatchExecutionModel(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 parametersPatchExecutionModel(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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetErrorLog()Generated method - Getter of thePatchExecution.errorLogattribute defined at extensionpatches.ExecutionStatusgetExecutionStatus()Generated method - Getter of thePatchExecution.executionStatusattribute defined at extensionpatches.java.util.DategetExecutionTime()Generated method - Getter of thePatchExecution.executionTimeattribute defined at extensionpatches.java.lang.StringgetGitHashCode()Generated method - Getter of thePatchExecution.gitHashCodeattribute defined at extensionpatches.java.lang.StringgetJenkinsBuild()Generated method - Getter of thePatchExecution.jenkinsBuildattribute defined at extensionpatches.PatchExecutionModelgetNextExecution()Generated method - Getter of thePatchExecution.nextExecutionattribute defined at extensionpatches.java.lang.IntegergetNumberOfErrorUnits()Generated method - Getter of thePatchExecution.numberOfErrorUnitsdynamic attribute defined at extensionpatches.java.lang.IntegergetNumberOfUnits()Generated method - Getter of thePatchExecution.numberOfUnitsdynamic attribute defined at extensionpatches.java.lang.StringgetPatchDescription()Generated method - Getter of thePatchExecution.patchDescriptionattribute defined at extensionpatches.java.lang.StringgetPatchId()Generated method - Getter of thePatchExecution.patchIdattribute defined at extensionpatches.java.lang.StringgetPatchName()Generated method - Getter of thePatchExecution.patchNameattribute defined at extensionpatches.java.util.Collection<PatchExecutionUnitModel>getPatchUnits()Generated method - Getter of thePatchExecution.patchUnitsattribute defined at extensionpatches.PatchExecutionModelgetPreviousExecution()Generated method - Getter of thePatchExecution.previousExecutionattribute defined at extensionpatches.booleanisRerunnable()Generated method - Getter of thePatchExecution.rerunnableattribute defined at extensionpatches.voidsetErrorLog(java.lang.String value)Generated method - Setter ofPatchExecution.errorLogattribute defined at extensionpatches.voidsetExecutionStatus(ExecutionStatus value)Generated method - Setter ofPatchExecution.executionStatusattribute defined at extensionpatches.voidsetExecutionTime(java.util.Date value)Generated method - Setter ofPatchExecution.executionTimeattribute defined at extensionpatches.voidsetGitHashCode(java.lang.String value)Generated method - Setter ofPatchExecution.gitHashCodeattribute defined at extensionpatches.voidsetJenkinsBuild(java.lang.String value)Generated method - Setter ofPatchExecution.jenkinsBuildattribute defined at extensionpatches.voidsetNextExecution(PatchExecutionModel value)Generated method - Setter ofPatchExecution.nextExecutionattribute defined at extensionpatches.voidsetPatchDescription(java.lang.String value)Generated method - Setter ofPatchExecution.patchDescriptionattribute defined at extensionpatches.voidsetPatchId(java.lang.String value)Generated method - Setter ofPatchExecution.patchIdattribute defined at extensionpatches.voidsetPatchName(java.lang.String value)Generated method - Setter ofPatchExecution.patchNameattribute defined at extensionpatches.voidsetPatchUnits(java.util.Collection<PatchExecutionUnitModel> value)Generated method - Setter ofPatchExecution.patchUnitsattribute defined at extensionpatches.voidsetPreviousExecution(PatchExecutionModel value)Generated method - Setter ofPatchExecution.previousExecutionattribute defined at extensionpatches.voidsetRerunnable(boolean value)Generated method - Setter ofPatchExecution.rerunnableattribute defined at extensionpatches.-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
-
-
-
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 ofPatchExecution.patchIdattribute defined at extensionpatches.- See Also:
- Constant Field Values
-
PATCHNAME
public static final java.lang.String PATCHNAME
Generated constant - Attribute key ofPatchExecution.patchNameattribute defined at extensionpatches.- See Also:
- Constant Field Values
-
PATCHDESCRIPTION
public static final java.lang.String PATCHDESCRIPTION
Generated constant - Attribute key ofPatchExecution.patchDescriptionattribute defined at extensionpatches.- See Also:
- Constant Field Values
-
EXECUTIONTIME
public static final java.lang.String EXECUTIONTIME
Generated constant - Attribute key ofPatchExecution.executionTimeattribute defined at extensionpatches.- See Also:
- Constant Field Values
-
PREVIOUSEXECUTION
public static final java.lang.String PREVIOUSEXECUTION
Generated constant - Attribute key ofPatchExecution.previousExecutionattribute defined at extensionpatches.- See Also:
- Constant Field Values
-
NEXTEXECUTION
public static final java.lang.String NEXTEXECUTION
Generated constant - Attribute key ofPatchExecution.nextExecutionattribute defined at extensionpatches.- See Also:
- Constant Field Values
-
JENKINSBUILD
public static final java.lang.String JENKINSBUILD
Generated constant - Attribute key ofPatchExecution.jenkinsBuildattribute defined at extensionpatches.- See Also:
- Constant Field Values
-
GITHASHCODE
public static final java.lang.String GITHASHCODE
Generated constant - Attribute key ofPatchExecution.gitHashCodeattribute defined at extensionpatches.- See Also:
- Constant Field Values
-
NUMBEROFUNITS
public static final java.lang.String NUMBEROFUNITS
Generated constant - Attribute key ofPatchExecution.numberOfUnitsattribute defined at extensionpatches.- See Also:
- Constant Field Values
-
NUMBEROFERRORUNITS
public static final java.lang.String NUMBEROFERRORUNITS
Generated constant - Attribute key ofPatchExecution.numberOfErrorUnitsattribute defined at extensionpatches.- See Also:
- Constant Field Values
-
EXECUTIONSTATUS
public static final java.lang.String EXECUTIONSTATUS
Generated constant - Attribute key ofPatchExecution.executionStatusattribute defined at extensionpatches.- See Also:
- Constant Field Values
-
ERRORLOG
public static final java.lang.String ERRORLOG
Generated constant - Attribute key ofPatchExecution.errorLogattribute defined at extensionpatches.- See Also:
- Constant Field Values
-
RERUNNABLE
public static final java.lang.String RERUNNABLE
Generated constant - Attribute key ofPatchExecution.rerunnableattribute defined at extensionpatches.- See Also:
- Constant Field Values
-
PATCHUNITS
public static final java.lang.String PATCHUNITS
Generated constant - Attribute key ofPatchExecution.patchUnitsattribute defined at extensionpatches.- 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_executionTime- initial attribute declared by typePatchExecutionat extensionpatches_patchDescription- initial attribute declared by typePatchExecutionat extensionpatches_patchId- initial attribute declared by typePatchExecutionat extensionpatches_patchName- initial attribute declared by typePatchExecutionat extensionpatches
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_executionTime- initial attribute declared by typePatchExecutionat extensionpatches_owner- initial attribute declared by typeItemat extensioncore_patchDescription- initial attribute declared by typePatchExecutionat extensionpatches_patchId- initial attribute declared by typePatchExecutionat extensionpatches_patchName- initial attribute declared by typePatchExecutionat extensionpatches
-
-
Method Detail
-
getErrorLog
@Accessor(qualifier="errorLog", type=GETTER) public java.lang.String getErrorLog()
Generated method - Getter of thePatchExecution.errorLogattribute defined at extensionpatches.- Returns:
- the errorLog - Details about major errors during the patch execution.
-
getExecutionStatus
@Accessor(qualifier="executionStatus", type=GETTER) public ExecutionStatus getExecutionStatus()
Generated method - Getter of thePatchExecution.executionStatusattribute defined at extensionpatches.- Returns:
- the executionStatus
-
getExecutionTime
@Accessor(qualifier="executionTime", type=GETTER) public java.util.Date getExecutionTime()
Generated method - Getter of thePatchExecution.executionTimeattribute defined at extensionpatches.- Returns:
- the executionTime
-
getGitHashCode
@Accessor(qualifier="gitHashCode", type=GETTER) public java.lang.String getGitHashCode()
Generated method - Getter of thePatchExecution.gitHashCodeattribute defined at extensionpatches.- Returns:
- the gitHashCode
-
getJenkinsBuild
@Accessor(qualifier="jenkinsBuild", type=GETTER) public java.lang.String getJenkinsBuild()
Generated method - Getter of thePatchExecution.jenkinsBuildattribute defined at extensionpatches.- Returns:
- the jenkinsBuild
-
getNextExecution
@Accessor(qualifier="nextExecution", type=GETTER) public PatchExecutionModel getNextExecution()
Generated method - Getter of thePatchExecution.nextExecutionattribute defined at extensionpatches.- Returns:
- the nextExecution
-
getNumberOfErrorUnits
@Accessor(qualifier="numberOfErrorUnits", type=GETTER) public java.lang.Integer getNumberOfErrorUnits()
Generated method - Getter of thePatchExecution.numberOfErrorUnitsdynamic attribute defined at extensionpatches.- Returns:
- the numberOfErrorUnits
-
getNumberOfUnits
@Accessor(qualifier="numberOfUnits", type=GETTER) public java.lang.Integer getNumberOfUnits()
Generated method - Getter of thePatchExecution.numberOfUnitsdynamic attribute defined at extensionpatches.- Returns:
- the numberOfUnits
-
getPatchDescription
@Accessor(qualifier="patchDescription", type=GETTER) public java.lang.String getPatchDescription()
Generated method - Getter of thePatchExecution.patchDescriptionattribute defined at extensionpatches.- Returns:
- the patchDescription
-
getPatchId
@Accessor(qualifier="patchId", type=GETTER) public java.lang.String getPatchId()
Generated method - Getter of thePatchExecution.patchIdattribute defined at extensionpatches.- Returns:
- the patchId
-
getPatchName
@Accessor(qualifier="patchName", type=GETTER) public java.lang.String getPatchName()
Generated method - Getter of thePatchExecution.patchNameattribute defined at extensionpatches.- Returns:
- the patchName
-
getPatchUnits
@Accessor(qualifier="patchUnits", type=GETTER) public java.util.Collection<PatchExecutionUnitModel> getPatchUnits()
Generated method - Getter of thePatchExecution.patchUnitsattribute defined at extensionpatches. 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 thePatchExecution.previousExecutionattribute defined at extensionpatches.- Returns:
- the previousExecution
-
isRerunnable
@Accessor(qualifier="rerunnable", type=GETTER) public boolean isRerunnable()
Generated method - Getter of thePatchExecution.rerunnableattribute defined at extensionpatches.- 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 ofPatchExecution.errorLogattribute defined at extensionpatches.- 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 ofPatchExecution.executionStatusattribute defined at extensionpatches.- Parameters:
value- the executionStatus
-
setExecutionTime
@Accessor(qualifier="executionTime", type=SETTER) public void setExecutionTime(java.util.Date value)
Generated method - Setter ofPatchExecution.executionTimeattribute defined at extensionpatches.- Parameters:
value- the executionTime
-
setGitHashCode
@Accessor(qualifier="gitHashCode", type=SETTER) public void setGitHashCode(java.lang.String value)
Generated method - Setter ofPatchExecution.gitHashCodeattribute defined at extensionpatches.- Parameters:
value- the gitHashCode
-
setJenkinsBuild
@Accessor(qualifier="jenkinsBuild", type=SETTER) public void setJenkinsBuild(java.lang.String value)
Generated method - Setter ofPatchExecution.jenkinsBuildattribute defined at extensionpatches.- Parameters:
value- the jenkinsBuild
-
setNextExecution
@Accessor(qualifier="nextExecution", type=SETTER) public void setNextExecution(PatchExecutionModel value)
Generated method - Setter ofPatchExecution.nextExecutionattribute defined at extensionpatches.- Parameters:
value- the nextExecution
-
setPatchDescription
@Accessor(qualifier="patchDescription", type=SETTER) public void setPatchDescription(java.lang.String value)
Generated method - Setter ofPatchExecution.patchDescriptionattribute defined at extensionpatches.- Parameters:
value- the patchDescription
-
setPatchId
@Accessor(qualifier="patchId", type=SETTER) public void setPatchId(java.lang.String value)
Generated method - Setter ofPatchExecution.patchIdattribute defined at extensionpatches.- Parameters:
value- the patchId
-
setPatchName
@Accessor(qualifier="patchName", type=SETTER) public void setPatchName(java.lang.String value)
Generated method - Setter ofPatchExecution.patchNameattribute defined at extensionpatches.- Parameters:
value- the patchName
-
setPatchUnits
@Accessor(qualifier="patchUnits", type=SETTER) public void setPatchUnits(java.util.Collection<PatchExecutionUnitModel> value)
Generated method - Setter ofPatchExecution.patchUnitsattribute defined at extensionpatches.- Parameters:
value- the patchUnits
-
setPreviousExecution
@Accessor(qualifier="previousExecution", type=SETTER) public void setPreviousExecution(PatchExecutionModel value)
Generated method - Setter ofPatchExecution.previousExecutionattribute defined at extensionpatches.- Parameters:
value- the previousExecution
-
-