Class ProcessArchiveXmlImpl
- java.lang.Object
-
- org.camunda.bpm.application.impl.metadata.ProcessArchiveXmlImpl
-
- All Implemented Interfaces:
ProcessArchiveXml
public class ProcessArchiveXmlImpl extends java.lang.Object implements ProcessArchiveXml
-
-
Field Summary
-
Fields inherited from interface org.camunda.bpm.application.impl.metadata.spi.ProcessArchiveXml
PROP_ADDITIONAL_RESOURCE_SUFFIXES, PROP_ADDITIONAL_RESOURCE_SUFFIXES_SEPARATOR, PROP_IS_DELETE_UPON_UNDEPLOY, PROP_IS_DEPLOY_CHANGED_ONLY, PROP_IS_RESUME_PREVIOUS_VERSIONS, PROP_IS_SCAN_FOR_PROCESS_DEFINITIONS, PROP_RESOURCE_ROOT_PATH, PROP_RESUME_PREVIOUS_BY
-
-
Constructor Summary
Constructors Constructor Description ProcessArchiveXmlImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
java.lang.String
getProcessEngineName()
java.util.List<java.lang.String>
getProcessResourceNames()
java.util.Map<java.lang.String,java.lang.String>
getProperties()
java.lang.String
getTenantId()
void
setName(java.lang.String name)
void
setProcessEngineName(java.lang.String processEngineName)
void
setProcessResourceNames(java.util.List<java.lang.String> processResourceNames)
void
setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
void
setTenantId(java.lang.String tenantId)
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceProcessArchiveXml
- Returns:
- the name of the process archive. Must not be null.
-
setName
public void setName(java.lang.String name)
-
getTenantId
public java.lang.String getTenantId()
- Specified by:
getTenantId
in interfaceProcessArchiveXml
- Returns:
- the id of the tenant the resources of the process archive should deploy for. Can be
null
.
-
setTenantId
public void setTenantId(java.lang.String tenantId)
-
getProcessEngineName
public java.lang.String getProcessEngineName()
- Specified by:
getProcessEngineName
in interfaceProcessArchiveXml
- Returns:
- the name of the process engine which the deployment should be made to. If null, the "default engine" is used.
-
setProcessEngineName
public void setProcessEngineName(java.lang.String processEngineName)
-
getProcessResourceNames
public java.util.List<java.lang.String> getProcessResourceNames()
- Specified by:
getProcessResourceNames
in interfaceProcessArchiveXml
- Returns:
- a list of process definition resource names that make up the deployment.
-
setProcessResourceNames
public void setProcessResourceNames(java.util.List<java.lang.String> processResourceNames)
-
getProperties
public java.util.Map<java.lang.String,java.lang.String> getProperties()
- Specified by:
getProperties
in interfaceProcessArchiveXml
- Returns:
- a list of additional properties. See constant property names defined in this class for a list of available properties.
- See Also:
ProcessArchiveXml.PROP_IS_DELETE_UPON_UNDEPLOY
,ProcessArchiveXml.PROP_IS_SCAN_FOR_PROCESS_DEFINITIONS
,ProcessArchiveXml.PROP_RESOURCE_ROOT_PATH
,ProcessArchiveXml.PROP_IS_DEPLOY_CHANGED_ONLY
-
setProperties
public void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
-
-