Class HalProcessDefinition
- java.lang.Object
-
- org.camunda.bpm.engine.rest.hal.HalResource<HalProcessDefinition>
-
- org.camunda.bpm.engine.rest.hal.processDefinition.HalProcessDefinition
-
- All Implemented Interfaces:
HalIdResource
public class HalProcessDefinition extends HalResource<HalProcessDefinition> implements HalIdResource
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringcategoryprotected StringcontextPathprotected StringdeploymentIdprotected Stringdescriptionprotected Stringdiagramprotected Stringidprotected Stringkeyprotected Stringnamestatic HalRelationREL_DEPLOYMENTstatic HalRelationREL_DEPLOYMENT_RESOURCEstatic HalRelationREL_SELFprotected Stringresourceprotected booleansuspendedprotected intversionprotected StringversionTag-
Fields inherited from class org.camunda.bpm.engine.rest.hal.HalResource
_embedded, _links, linker
-
-
Constructor Summary
Constructors Constructor Description HalProcessDefinition()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HalProcessDefinitionfromProcessDefinition(ProcessDefinition processDefinition, ProcessEngine processEngine)StringgetCategory()StringgetContextPath()StringgetDeploymentId()StringgetDescription()StringgetDiagram()StringgetId()return the identifier of the resourceStringgetKey()StringgetName()StringgetResource()intgetVersion()StringgetVersionTag()booleanisSuspended()-
Methods inherited from class org.camunda.bpm.engine.rest.hal.HalResource
addEmbedded, addEmbedded, addLink, addLink, embed, get_embedded, get_links, getEmbedded
-
-
-
-
Field Detail
-
REL_SELF
public static final HalRelation REL_SELF
-
REL_DEPLOYMENT
public static final HalRelation REL_DEPLOYMENT
-
REL_DEPLOYMENT_RESOURCE
public static final HalRelation REL_DEPLOYMENT_RESOURCE
-
id
protected String id
-
key
protected String key
-
category
protected String category
-
description
protected String description
-
name
protected String name
-
versionTag
protected String versionTag
-
version
protected int version
-
resource
protected String resource
-
deploymentId
protected String deploymentId
-
diagram
protected String diagram
-
suspended
protected boolean suspended
-
contextPath
protected String contextPath
-
-
Method Detail
-
fromProcessDefinition
public static HalProcessDefinition fromProcessDefinition(ProcessDefinition processDefinition, ProcessEngine processEngine)
-
getId
public String getId()
Description copied from interface:HalIdResourcereturn the identifier of the resource- Specified by:
getIdin interfaceHalIdResource
-
getKey
public String getKey()
-
getCategory
public String getCategory()
-
getDescription
public String getDescription()
-
getName
public String getName()
-
getVersion
public int getVersion()
-
getVersionTag
public String getVersionTag()
-
getResource
public String getResource()
-
getDeploymentId
public String getDeploymentId()
-
getDiagram
public String getDiagram()
-
isSuspended
public boolean isSuspended()
-
getContextPath
public String getContextPath()
-
-