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.Stringcategoryprotected java.lang.StringcontextPathprotected java.lang.StringdeploymentIdprotected java.lang.Stringdescriptionprotected java.lang.Stringdiagramprotected java.lang.Stringidprotected java.lang.Stringkeyprotected java.lang.Stringnamestatic HalRelationREL_DEPLOYMENTstatic HalRelationREL_DEPLOYMENT_RESOURCEstatic HalRelationREL_SELFprotected java.lang.Stringresourceprotected booleansuspendedprotected intversionprotected java.lang.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)java.lang.StringgetCategory()java.lang.StringgetContextPath()java.lang.StringgetDeploymentId()java.lang.StringgetDescription()java.lang.StringgetDiagram()java.lang.StringgetId()return the identifier of the resourcejava.lang.StringgetKey()java.lang.StringgetName()java.lang.StringgetResource()intgetVersion()java.lang.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 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:HalIdResourcereturn the identifier of the resource- Specified by:
getIdin 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()
-
-