Package com.morpheusdata.model
Class UpdateDefinition
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.projection.MorpheusIdentityModel
com.morpheusdata.model.projection.UpdateIdentityProjection
com.morpheusdata.model.UpdateDefinition
- All Implemented Interfaces:
Serializable
Represents the definition of an update, including its metadata, requirements, and type.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnum to represent the image path type.static enumEnum to represent the operation name/type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Objectprotected UpdateDefinition.ImagePathTypeprotected Booleanprotected Stringprotected Booleanprotected Longprotected Stringprotected Booleanprotected Booleanprotected Booleanprotected Stringprotected UpdateDefinition.OpTypeprotected StringFields inherited from class com.morpheusdata.model.MorpheusModel
config, id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCode()getName()getRefId()voidvoidsetHasMany(Object hasMany) voidsetImagePathType(UpdateDefinition.ImagePathType imagePathType) voidsetIsPlugin(Boolean isPlugin) voidvoidsetPeerPersistence(Boolean peerPersistence) voidvoidsetRefType(String refType) voidsetRequiresMaintenanceMode(Boolean requiresMaintenanceMode) voidsetRequiresRestart(Boolean requiresRestart) voidsetSupportsRollback(Boolean supportsRollback) voidsetUpdateImagePath(String updateImagePath) voidsetUpdateOpType(UpdateDefinition.OpType updateOpType) voidsetValidateRules(List<String> validateRules) voidsetVersion(String version) Methods inherited from class com.morpheusdata.model.projection.MorpheusIdentityModel
getIdentityPropertiesMethods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getId, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty, setId
-
Field Details
-
code
-
version
-
name
-
updateOpType
-
refType
-
refId
-
updateImagePath
-
imagePathType
-
peerPersistence
-
requiresMaintenanceMode
-
requiresRestart
-
supportsRollback
-
isPlugin
-
hasMany
-
validateRules
-
-
Constructor Details
-
UpdateDefinition
public UpdateDefinition()
-
-
Method Details
-
getCode
-
setCode
-
getVersion
-
setVersion
-
getName
-
setName
-
getUpdateOpType
-
setUpdateOpType
-
getRefType
-
setRefType
-
getRefId
-
setRefId
-
getUpdateImagePath
-
setUpdateImagePath
-
getImagePathType
-
setImagePathType
-
getValidateRules
-
setValidateRules
-
getPeerPersistence
-
setPeerPersistence
-
getRequiresMaintenanceMode
-
setRequiresMaintenanceMode
-
getRequiresRestart
-
setRequiresRestart
-
getSupportsRollback
-
setSupportsRollback
-
getIsPlugin
-
setIsPlugin
-
getHasMany
-
setHasMany
-