org.camunda.bpm.engine.impl.cmd
Class GetFormKeyCmd

java.lang.Object
  extended by org.camunda.bpm.engine.impl.cmd.GetFormKeyCmd
All Implemented Interfaces:
Command<String>

public class GetFormKeyCmd
extends Object
implements Command<String>

Command for retrieving start or task form keys.

Author:
Falko Menge (camunda)

Field Summary
protected  String processDefinitionId
           
protected  String taskDefinitionKey
           
 
Constructor Summary
GetFormKeyCmd(String processDefinitionId)
          Retrieves a start form key.
GetFormKeyCmd(String processDefinitionId, String taskDefinitionKey)
          Retrieves a task form key.
 
Method Summary
 String execute(CommandContext commandContext)
           
protected  void setProcessDefinitionId(String processDefinitionId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

taskDefinitionKey

protected String taskDefinitionKey

processDefinitionId

protected String processDefinitionId
Constructor Detail

GetFormKeyCmd

public GetFormKeyCmd(String processDefinitionId)
Retrieves a start form key.


GetFormKeyCmd

public GetFormKeyCmd(String processDefinitionId,
                     String taskDefinitionKey)
Retrieves a task form key.

Method Detail

setProcessDefinitionId

protected void setProcessDefinitionId(String processDefinitionId)

execute

public String execute(CommandContext commandContext)
Specified by:
execute in interface Command<String>


Copyright © 2016 camunda services GmbH. All rights reserved.