Package com.morpheusdata.model
Class WorkloadType
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.WorkloadType
- All Implemented Interfaces:
IModelCodeName
,IModelUuidCodeName
-
Field Summary
Modifier and TypeFieldDescriptionprotected Account
protected List<WorkloadAction>
protected String
protected String
protected String
protected String
protected Boolean
protected Integer
protected String
protected ComputeServerType
protected String
protected Boolean
protected Integer
protected String
protected String
protected String
protected List<EnvironmentVariableType>
protected String
protected Boolean
protected Boolean
protected Boolean
protected Boolean
protected String
protected String
protected List<WorkloadTypeLog>
protected String
protected String
protected Long
protected Long
protected Long
protected Long
protected String
protected List<WorkloadTypeMount>
protected String
protected String
protected List<WorkloadTypePort>
protected Integer
protected ProvisionType
protected Long
protected String
protected String
protected String
protected String
protected String
protected List<WorkloadScript>
protected String
protected String
protected Boolean
protected List<ResourceSpecTemplate>
protected String
protected String
protected List<WorkloadTemplate>
protected Boolean
protected String
protected VirtualImage
protected List<WorkloadTypeConfig>
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()
getLogs()
getName()
getPorts()
getRefId()
getUuid()
void
setAccount
(Account account) void
setActions
(List<WorkloadAction> actions) void
setCategory
(String category) void
setCheckTypeCode
(String checkTypeCode) void
setCloneType
(String cloneType) void
void
setCommEnabled
(Boolean commEnabled) void
setCommPort
(Integer commPort) void
setCommType
(String commType) void
setComputeServerType
(ComputeServerType computeServerType) void
setContainerVersion
(String containerVersion) void
setCustomType
(Boolean customType) void
setDefaultPort
(Integer defaultPort) void
setEntryArgs
(String entryArgs) void
setEntryPoint
(String entryPoint) void
setEnvironmentPrefix
(String environmentPrefix) void
setEnvironmentVariables
(List<EnvironmentVariableType> environmentVariables) void
setEvarsName
(String evarsName) void
setExportHostname
(Boolean exportHostname) void
setExportInstanceHostname
(Boolean exportInstanceHostname) void
setHasSettings
(Boolean hasSettings) void
setHasSslCert
(Boolean hasSslCert) void
setImageCode
(String imageCode) void
setImageName
(String imageName) void
setLogs
(List<WorkloadTypeLog> logs) void
setLogTypeCode
(String logTypeCode) void
setManagedType
(String managedType) void
setMaxCores
(Long maxCores) void
void
setMaxMemory
(Long maxMemory) void
setMaxStorage
(Long maxStorage) void
setMountLogs
(String mountLogs) void
setMounts
(List<WorkloadTypeMount> mounts) void
void
setPlatform
(String platform) void
setPorts
(List<WorkloadTypePort> ports) void
setPriorityOrder
(Integer priorityOrder) void
setProvisionType
(ProvisionType provisionType) void
void
setRefType
(String refType) void
setRepositoryImage
(String repositoryImage) void
setRepositoryPassword
(String repositoryPassword) void
setRepositoryUsername
(String repositoryUsername) void
setRepositoryVersion
(String repositoryVersion) void
setScripts
(List<WorkloadScript> scripts) void
setServerType
(String serverType) void
setShortName
(String shortName) void
setShowServerLogs
(Boolean showServerLogs) void
setSpecTemplates
(List<ResourceSpecTemplate> specTemplates) void
setStatTypeCode
(String statTypeCode) void
setSyncSource
(String syncSource) void
setTemplates
(List<WorkloadTemplate> templates) void
setUserDeploy
(Boolean userDeploy) void
void
setVirtualImage
(VirtualImage virtualImage) void
setWorkloadConfig
(List<WorkloadTypeConfig> workloadConfig) Methods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getId, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty, setId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.morpheusdata.model.IModelCodeName
getId
-
Field Details
-
account
-
code
-
shortName
-
name
-
containerVersion
-
repositoryImage
-
imageCode
-
entryPoint
-
mountLogs
-
statTypeCode
-
logTypeCode
-
showServerLogs
-
category
-
cloneType
-
priorityOrder
-
serverType
-
checkTypeCode
-
platform
-
repositoryVersion
-
repositoryUsername
-
repositoryPassword
-
imageName
-
entryArgs
-
defaultPort
-
managedType
-
evarsName
-
maxMemory
-
maxStorage
-
maxCpu
-
maxCores
-
environmentPrefix
-
userDeploy
-
hasSettings
-
hasSslCert
-
customType
-
exportHostname
-
exportInstanceHostname
-
commEnabled
-
commType
-
commPort
-
refType
-
refId
-
uuid
-
syncSource
-
virtualImage
-
provisionType
-
computeServerType
-
templates
-
scripts
-
actions
-
ports
-
environmentVariables
-
mounts
-
specTemplates
-
logs
-
workloadConfig
-
-
Constructor Details
-
WorkloadType
public WorkloadType()
-
-
Method Details
-
getAccount
-
setAccount
-
getCode
- Specified by:
getCode
in interfaceIModelCodeName
-
setCode
-
getShortName
-
setShortName
-
getName
- Specified by:
getName
in interfaceIModelCodeName
-
setName
-
getContainerVersion
-
setContainerVersion
-
getRepositoryImage
-
setRepositoryImage
-
getImageCode
-
setImageCode
-
getEntryPoint
-
setEntryPoint
-
getMountLogs
-
setMountLogs
-
getStatTypeCode
-
setStatTypeCode
-
getLogTypeCode
-
setLogTypeCode
-
getShowServerLogs
-
setShowServerLogs
-
getCategory
-
setCategory
-
getCloneType
-
setCloneType
-
getPriorityOrder
-
setPriorityOrder
-
getServerType
-
setServerType
-
getCheckTypeCode
-
setCheckTypeCode
-
getPlatform
-
setPlatform
-
getRepositoryVersion
-
setRepositoryVersion
-
getRepositoryUsername
-
setRepositoryUsername
-
getRepositoryPassword
-
setRepositoryPassword
-
getImageName
-
setImageName
-
getEntryArgs
-
setEntryArgs
-
getDefaultPort
-
setDefaultPort
-
getManagedType
-
setManagedType
-
getEvarsName
-
setEvarsName
-
getMaxMemory
-
setMaxMemory
-
getMaxStorage
-
setMaxStorage
-
getMaxCpu
-
setMaxCpu
-
getMaxCores
-
setMaxCores
-
getEnvironmentPrefix
-
setEnvironmentPrefix
-
getUserDeploy
-
setUserDeploy
-
getHasSettings
-
setHasSettings
-
getHasSslCert
-
setHasSslCert
-
getCustomType
-
setCustomType
-
getExportHostname
-
setExportHostname
-
getExportInstanceHostname
-
setExportInstanceHostname
-
getCommEnabled
-
setCommEnabled
-
getCommType
-
setCommType
-
getCommPort
-
setCommPort
-
getRefType
-
setRefType
-
getRefId
-
setRefId
-
getUuid
- Specified by:
getUuid
in interfaceIModelUuidCodeName
-
setUuid
-
getSyncSource
-
setSyncSource
-
getVirtualImage
-
setVirtualImage
-
getProvisionType
-
setProvisionType
-
getComputeServerType
-
setComputeServerType
-
getTemplates
-
setTemplates
-
getScripts
-
setScripts
-
getActions
-
setActions
-
getPorts
-
setPorts
-
getEnvironmentVariables
-
setEnvironmentVariables
-
getMounts
-
setMounts
-
getSpecTemplates
-
setSpecTemplates
-
getLogs
-
setLogs
-
getWorkloadConfig
-
setWorkloadConfig
-