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 String
category
protected String
contextPath
protected String
deploymentId
protected String
description
protected String
diagram
protected String
id
protected String
key
protected String
name
static HalRelation
REL_DEPLOYMENT
static HalRelation
REL_DEPLOYMENT_RESOURCE
static HalRelation
REL_SELF
protected String
resource
protected boolean
suspended
protected int
version
protected String
versionTag
-
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 HalProcessDefinition
fromProcessDefinition(ProcessDefinition processDefinition, ProcessEngine processEngine)
String
getCategory()
String
getContextPath()
String
getDeploymentId()
String
getDescription()
String
getDiagram()
String
getId()
return the identifier of the resourceString
getKey()
String
getName()
String
getResource()
int
getVersion()
String
getVersionTag()
boolean
isSuspended()
-
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:HalIdResource
return the identifier of the resource- Specified by:
getId
in 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()
-
-