org.camunda.bpm.engine.rest.hal.processDefinition
Class HalProcessDefinition

java.lang.Object
  extended by org.camunda.bpm.engine.rest.hal.HalResource<HalProcessDefinition>
      extended by 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
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
           
 
Fields inherited from class org.camunda.bpm.engine.rest.hal.HalResource
_embedded, _links, linker
 
Constructor Summary
HalProcessDefinition()
           
 
Method Summary
static HalProcessDefinition fromProcessDefinition(ProcessDefinition processDefinition, ProcessEngine processEngine)
           
 String getCategory()
           
 String getContextPath()
           
 String getDeploymentId()
           
 String getDescription()
           
 String getDiagram()
           
 String getId()
          return the identifier of the resource
 String getKey()
           
 String getName()
           
 String getResource()
           
 int getVersion()
           
 boolean isSuspended()
           
 
Methods inherited from class org.camunda.bpm.engine.rest.hal.HalResource
addEmbedded, addEmbedded, addLink, addLink, embed, get_embedded, get_links, getEmbedded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

version

protected int version

resource

protected String resource

deploymentId

protected String deploymentId

diagram

protected String diagram

suspended

protected boolean suspended

contextPath

protected String contextPath
Constructor Detail

HalProcessDefinition

public HalProcessDefinition()
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 interface HalIdResource

getKey

public String getKey()

getCategory

public String getCategory()

getDescription

public String getDescription()

getName

public String getName()

getVersion

public int getVersion()

getResource

public String getResource()

getDeploymentId

public String getDeploymentId()

getDiagram

public String getDiagram()

isSuspended

public boolean isSuspended()

getContextPath

public String getContextPath()


Copyright © 2016 camunda services GmbH. All rights reserved.