public class DeploymentEntityImpl extends Object implements DeploymentEntity, Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
category |
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 |
engineVersion |
protected String |
id |
protected boolean |
isNew |
protected String |
name |
protected Map<String,ResourceEntity> |
resources |
protected String |
tenantId |
Constructor and Description |
---|
DeploymentEntityImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addDeployedArtifact(Object deployedArtifact) |
void |
addResource(ResourceEntity resource) |
String |
getCategory() |
<T> List<T> |
getDeployedArtifacts(Class<T> clazz) |
Date |
getDeploymentTime() |
String |
getEngineVersion() |
String |
getId() |
String |
getName() |
Object |
getPersistentState()
Returns a representation of the object, as would be stored in the database.
|
Map<String,ResourceEntity> |
getResources() |
String |
getTenantId() |
boolean |
isNew() |
void |
setCategory(String category) |
void |
setDeploymentTime(Date deploymentTime) |
void |
setEngineVersion(String engineVersion) |
void |
setId(String id) |
void |
setName(String name) |
void |
setNew(boolean isNew) |
void |
setResources(Map<String,ResourceEntity> resources) |
void |
setTenantId(String tenantId) |
String |
toString() |
protected String id
protected String name
protected String category
protected String tenantId
protected Map<String,ResourceEntity> resources
protected Date deploymentTime
protected boolean isNew
protected String engineVersion
public void addResource(ResourceEntity resource)
addResource
in interface DeploymentEntity
public Map<String,ResourceEntity> getResources()
getResources
in interface DeploymentEntity
public Object getPersistentState()
Entity
getPersistentState
in interface Entity
public void addDeployedArtifact(Object deployedArtifact)
addDeployedArtifact
in interface DeploymentEntity
public <T> List<T> getDeployedArtifacts(Class<T> clazz)
getDeployedArtifacts
in interface DeploymentEntity
public String getId()
getId
in interface Entity
getId
in interface Deployment
public String getName()
getName
in interface Deployment
public void setName(String name)
setName
in interface DeploymentEntity
public String getCategory()
getCategory
in interface Deployment
public void setCategory(String category)
setCategory
in interface DeploymentEntity
public String getTenantId()
getTenantId
in interface Deployment
public void setTenantId(String tenantId)
setTenantId
in interface DeploymentEntity
public void setResources(Map<String,ResourceEntity> resources)
setResources
in interface DeploymentEntity
public Date getDeploymentTime()
getDeploymentTime
in interface Deployment
public void setDeploymentTime(Date deploymentTime)
setDeploymentTime
in interface DeploymentEntity
public boolean isNew()
isNew
in interface DeploymentEntity
public void setNew(boolean isNew)
setNew
in interface DeploymentEntity
public String getEngineVersion()
getEngineVersion
in interface DeploymentEntity
public void setEngineVersion(String engineVersion)
setEngineVersion
in interface DeploymentEntity
Copyright © 2015 Alfresco. All rights reserved.