Class GetFormKeyCmd

  • All Implemented Interfaces:
    Command<java.lang.String>

    public class GetFormKeyCmd
    extends java.lang.Object
    implements Command<java.lang.String>
    Command for retrieving start or task form keys.
    Author:
    Falko Menge (camunda)
    • Constructor Summary

      Constructors 
      Constructor Description
      GetFormKeyCmd​(java.lang.String processDefinitionId)
      Retrieves a start form key.
      GetFormKeyCmd​(java.lang.String processDefinitionId, java.lang.String taskDefinitionKey)
      Retrieves a task form key.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String execute​(CommandContext commandContext)  
      protected void setProcessDefinitionId​(java.lang.String processDefinitionId)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command

        isRetryable
    • Field Detail

      • taskDefinitionKey

        protected java.lang.String taskDefinitionKey
      • processDefinitionId

        protected java.lang.String processDefinitionId
    • Constructor Detail

      • GetFormKeyCmd

        public GetFormKeyCmd​(java.lang.String processDefinitionId)
        Retrieves a start form key.
      • GetFormKeyCmd

        public GetFormKeyCmd​(java.lang.String processDefinitionId,
                             java.lang.String taskDefinitionKey)
        Retrieves a task form key.
    • Method Detail

      • setProcessDefinitionId

        protected void setProcessDefinitionId​(java.lang.String processDefinitionId)
      • execute

        public java.lang.String execute​(CommandContext commandContext)
        Specified by:
        execute in interface Command<java.lang.String>