public class DeploymentEntity extends Object implements Serializable, Deployment, PersistentObject
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 |
id |
protected boolean |
isNew |
protected String |
name |
protected Map<String,ResourceEntity> |
resources |
protected String |
tenantId |
Constructor and Description |
---|
DeploymentEntity() |
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 |
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 |
getTenantId() |
boolean |
isNew() |
void |
setCategory(String category) |
void |
setDeploymentTime(Date deploymentTime) |
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
public ResourceEntity getResource(String resourceName)
public void addResource(ResourceEntity resource)
public Map<String,ResourceEntity> getResources()
public Object getPersistentState()
PersistentObject
getPersistentState
in interface PersistentObject
public void addDeployedArtifact(Object deployedArtifact)
public String getId()
getId
in interface PersistentObject
getId
in interface Deployment
public void setId(String id)
setId
in interface PersistentObject
public String getName()
getName
in interface Deployment
public void setName(String name)
public String getCategory()
getCategory
in interface Deployment
public void setCategory(String category)
public String getTenantId()
getTenantId
in interface Deployment
public void setTenantId(String tenantId)
public void setResources(Map<String,ResourceEntity> resources)
public Date getDeploymentTime()
getDeploymentTime
in interface Deployment
public void setDeploymentTime(Date deploymentTime)
public boolean isNew()
public void setNew(boolean isNew)
Copyright © 2016 Alfresco. All rights reserved.