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