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:
Serializable
Generated model class for type PatchExecution first defined at extension patches.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofPatchExecution.errorLogattribute defined at extensionpatches.static final StringGenerated constant - Attribute key ofPatchExecution.executionStatusattribute defined at extensionpatches.static final StringGenerated constant - Attribute key ofPatchExecution.executionTimeattribute defined at extensionpatches.static final StringGenerated constant - Attribute key ofPatchExecution.gitHashCodeattribute defined at extensionpatches.static final StringGenerated constant - Attribute key ofPatchExecution.jenkinsBuildattribute defined at extensionpatches.static final StringGenerated constant - Attribute key ofPatchExecution.nextExecutionattribute defined at extensionpatches.static final StringGenerated constant - Attribute key ofPatchExecution.numberOfErrorUnitsattribute defined at extensionpatches.static final StringGenerated constant - Attribute key ofPatchExecution.numberOfUnitsattribute defined at extensionpatches.static final StringGenerated constant - Attribute key ofPatchExecution.patchDescriptionattribute defined at extensionpatches.static final StringGenerated constant - Attribute key ofPatchExecution.patchIdattribute defined at extensionpatches.static final StringGenerated constant - Attribute key ofPatchExecution.patchNameattribute defined at extensionpatches.static final StringGenerated constant - Attribute key ofPatchExecution.patchUnitsattribute defined at extensionpatches.static final StringGenerated constant - Attribute key ofPatchExecution.previousExecutionattribute defined at extensionpatches.static final StringGenerated 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, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.Generated constructor - Default constructor for creation with existing contextPatchExecutionModel(Date _executionTime, ItemModel _owner, String _patchDescription, String _patchId, 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(Date _executionTime, String _patchDescription, String _patchId, 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
Modifier and TypeMethodDescriptionGenerated method - Getter of thePatchExecution.errorLogattribute defined at extensionpatches.Generated method - Getter of thePatchExecution.executionStatusattribute defined at extensionpatches.Generated method - Getter of thePatchExecution.executionTimeattribute defined at extensionpatches.Generated method - Getter of thePatchExecution.gitHashCodeattribute defined at extensionpatches.Generated method - Getter of thePatchExecution.jenkinsBuildattribute defined at extensionpatches.Generated method - Getter of thePatchExecution.nextExecutionattribute defined at extensionpatches.Generated method - Getter of thePatchExecution.numberOfErrorUnitsdynamic attribute defined at extensionpatches.Generated method - Getter of thePatchExecution.numberOfUnitsdynamic attribute defined at extensionpatches.Generated method - Getter of thePatchExecution.patchDescriptionattribute defined at extensionpatches.Generated method - Getter of thePatchExecution.patchIdattribute defined at extensionpatches.Generated method - Getter of thePatchExecution.patchNameattribute defined at extensionpatches.Generated method - Getter of thePatchExecution.patchUnitsattribute defined at extensionpatches.Generated method - Getter of thePatchExecution.previousExecutionattribute defined at extensionpatches.booleanGenerated method - Getter of thePatchExecution.rerunnableattribute defined at extensionpatches.voidsetErrorLog(String value) Generated method - Setter ofPatchExecution.errorLogattribute defined at extensionpatches.voidGenerated method - Setter ofPatchExecution.executionStatusattribute defined at extensionpatches.voidsetExecutionTime(Date value) Generated method - Setter ofPatchExecution.executionTimeattribute defined at extensionpatches.voidsetGitHashCode(String value) Generated method - Setter ofPatchExecution.gitHashCodeattribute defined at extensionpatches.voidsetJenkinsBuild(String value) Generated method - Setter ofPatchExecution.jenkinsBuildattribute defined at extensionpatches.voidGenerated method - Setter ofPatchExecution.nextExecutionattribute defined at extensionpatches.voidsetPatchDescription(String value) Generated method - Setter ofPatchExecution.patchDescriptionattribute defined at extensionpatches.voidsetPatchId(String value) Generated method - Setter ofPatchExecution.patchIdattribute defined at extensionpatches.voidsetPatchName(String value) Generated method - Setter ofPatchExecution.patchNameattribute defined at extensionpatches.voidGenerated method - Setter ofPatchExecution.patchUnitsattribute defined at extensionpatches.voidGenerated 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, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
PATCHID
Generated constant - Attribute key ofPatchExecution.patchIdattribute defined at extensionpatches.- See Also:
-
PATCHNAME
Generated constant - Attribute key ofPatchExecution.patchNameattribute defined at extensionpatches.- See Also:
-
PATCHDESCRIPTION
Generated constant - Attribute key ofPatchExecution.patchDescriptionattribute defined at extensionpatches.- See Also:
-
EXECUTIONTIME
Generated constant - Attribute key ofPatchExecution.executionTimeattribute defined at extensionpatches.- See Also:
-
PREVIOUSEXECUTION
Generated constant - Attribute key ofPatchExecution.previousExecutionattribute defined at extensionpatches.- See Also:
-
NEXTEXECUTION
Generated constant - Attribute key ofPatchExecution.nextExecutionattribute defined at extensionpatches.- See Also:
-
JENKINSBUILD
Generated constant - Attribute key ofPatchExecution.jenkinsBuildattribute defined at extensionpatches.- See Also:
-
GITHASHCODE
Generated constant - Attribute key ofPatchExecution.gitHashCodeattribute defined at extensionpatches.- See Also:
-
NUMBEROFUNITS
Generated constant - Attribute key ofPatchExecution.numberOfUnitsattribute defined at extensionpatches.- See Also:
-
NUMBEROFERRORUNITS
Generated constant - Attribute key ofPatchExecution.numberOfErrorUnitsattribute defined at extensionpatches.- See Also:
-
EXECUTIONSTATUS
Generated constant - Attribute key ofPatchExecution.executionStatusattribute defined at extensionpatches.- See Also:
-
ERRORLOG
Generated constant - Attribute key ofPatchExecution.errorLogattribute defined at extensionpatches.- See Also:
-
RERUNNABLE
Generated constant - Attribute key ofPatchExecution.rerunnableattribute defined at extensionpatches.- See Also:
-
PATCHUNITS
Generated constant - Attribute key ofPatchExecution.patchUnitsattribute defined at extensionpatches.- See Also:
-
-
Constructor Details
-
PatchExecutionModel
public PatchExecutionModel()Generated constructor - Default constructor for generic creation. -
PatchExecutionModel
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(Date _executionTime, String _patchDescription, String _patchId, 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(Date _executionTime, ItemModel _owner, String _patchDescription, String _patchId, 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 Details
-
getErrorLog
Generated method - Getter of thePatchExecution.errorLogattribute defined at extensionpatches.- Returns:
- the errorLog - Details about major errors during the patch execution.
-
getExecutionStatus
Generated method - Getter of thePatchExecution.executionStatusattribute defined at extensionpatches.- Returns:
- the executionStatus
-
getExecutionTime
Generated method - Getter of thePatchExecution.executionTimeattribute defined at extensionpatches.- Returns:
- the executionTime
-
getGitHashCode
Generated method - Getter of thePatchExecution.gitHashCodeattribute defined at extensionpatches.- Returns:
- the gitHashCode
-
getJenkinsBuild
Generated method - Getter of thePatchExecution.jenkinsBuildattribute defined at extensionpatches.- Returns:
- the jenkinsBuild
-
getNextExecution
Generated method - Getter of thePatchExecution.nextExecutionattribute defined at extensionpatches.- Returns:
- the nextExecution
-
getNumberOfErrorUnits
Generated method - Getter of thePatchExecution.numberOfErrorUnitsdynamic attribute defined at extensionpatches.- Returns:
- the numberOfErrorUnits
-
getNumberOfUnits
Generated method - Getter of thePatchExecution.numberOfUnitsdynamic attribute defined at extensionpatches.- Returns:
- the numberOfUnits
-
getPatchDescription
Generated method - Getter of thePatchExecution.patchDescriptionattribute defined at extensionpatches.- Returns:
- the patchDescription
-
getPatchId
Generated method - Getter of thePatchExecution.patchIdattribute defined at extensionpatches.- Returns:
- the patchId
-
getPatchName
Generated method - Getter of thePatchExecution.patchNameattribute defined at extensionpatches.- Returns:
- the patchName
-
getPatchUnits
@Accessor(qualifier="patchUnits", type=GETTER) public 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
Generated method - Getter of thePatchExecution.rerunnableattribute defined at extensionpatches.- Returns:
- the rerunnable - Flag indicating whether patch is re runnable by default.
-
setErrorLog
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
Generated method - Setter ofPatchExecution.executionTimeattribute defined at extensionpatches.- Parameters:
value- the executionTime
-
setGitHashCode
Generated method - Setter ofPatchExecution.gitHashCodeattribute defined at extensionpatches.- Parameters:
value- the gitHashCode
-
setJenkinsBuild
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
Generated method - Setter ofPatchExecution.patchDescriptionattribute defined at extensionpatches.- Parameters:
value- the patchDescription
-
setPatchId
Generated method - Setter ofPatchExecution.patchIdattribute defined at extensionpatches.- Parameters:
value- the patchId
-
setPatchName
Generated method - Setter ofPatchExecution.patchNameattribute defined at extensionpatches.- Parameters:
value- the patchName
-
setPatchUnits
@Accessor(qualifier="patchUnits", type=SETTER) public void setPatchUnits(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
-
setRerunnable
Generated method - Setter ofPatchExecution.rerunnableattribute defined at extensionpatches.- Parameters:
value- the rerunnable - Flag indicating whether patch is re runnable by default.
-