public class DeploymentEntity extends Object implements Serializable, Deployment, DbEntity
Modifier and Type | Field and Description |
---|---|
protected Map<Class<?>,List<Object>> |
deployedArtifacts
Will only be used during actual deployment to pass deployed artifacts (eg process definitions).
|
protected Date |
deploymentTime |
protected String |
id |
protected boolean |
isNew |
protected String |
name |
protected Map<Class<?>,List<Object>> |
notdeployedARtifacts |
protected Map<String,ResourceEntity> |
resources |
protected String |
source |
protected String |
tenantId |
protected boolean |
validatingSchema |
Constructor and Description |
---|
DeploymentEntity() |
Modifier and Type | Method and Description |
---|---|
void |
addDeployedArtifact(Object deployedArtifact) |
void |
addResource(ResourceEntity resource) |
void |
clearResources() |
<T> List<T> |
getDeployedArtifacts(Class<T> clazz) |
Date |
getDeploymentTime() |
String |
getId() |
String |
getName() |
Object |
getPersistentState()
Returns a representation of the object,
as would be stored in the database.
|
ResourceEntity |
getResource(String resourceName) |
Map<String,ResourceEntity> |
getResources() |
String |
getSource() |
String |
getTenantId()
Returns the id of the tenant this deployment belongs to.
|
boolean |
isNew() |
boolean |
isValidatingSchema() |
void |
setDeploymentTime(Date deploymentTime) |
void |
setId(String id) |
void |
setName(String name) |
void |
setNew(boolean isNew) |
void |
setResources(Map<String,ResourceEntity> resources) |
void |
setSource(String source) |
void |
setTenantId(String tenantId) |
void |
setValidatingSchema(boolean validatingSchema) |
String |
toString() |
protected String id
protected String name
protected Map<String,ResourceEntity> resources
protected Date deploymentTime
protected boolean validatingSchema
protected boolean isNew
protected String source
protected String tenantId
protected Map<Class<?>,List<Object>> deployedArtifacts
public ResourceEntity getResource(String resourceName)
public void addResource(ResourceEntity resource)
public void clearResources()
public Map<String,ResourceEntity> getResources()
public Object getPersistentState()
DbEntity
getPersistentState
in interface DbEntity
public void addDeployedArtifact(Object deployedArtifact)
public String getId()
getId
in interface DbEntity
getId
in interface Deployment
public String getName()
getName
in interface Deployment
public void setName(String name)
public void setResources(Map<String,ResourceEntity> resources)
public Date getDeploymentTime()
getDeploymentTime
in interface Deployment
public void setDeploymentTime(Date deploymentTime)
public boolean isValidatingSchema()
public void setValidatingSchema(boolean validatingSchema)
public boolean isNew()
public void setNew(boolean isNew)
public String getSource()
getSource
in interface Deployment
public void setSource(String source)
public String getTenantId()
Deployment
null
if the deployment belongs to no single tenant.getTenantId
in interface Deployment
public void setTenantId(String tenantId)
Copyright © 2018. All rights reserved.