public GetFormKeyCmd(String processDefinitionId,String taskDefinitionKey){
  setProcessDefinitionId(processDefinitionId);
  if (taskDefinitionKey == null || taskDefinitionKey.length() < 1) {
    throw new ActivitiIllegalArgumentException("The task definition key is mandatory, but '" + taskDefinitionKey + "' has been provided.");
  }
  this.taskDefinitionKey=taskDefinitionKey;
}

public GetFormKeyCmd ( String processDefinitionId , String taskDefinitionKey ) { setProcessDefinitionId ( processDefinitionId ) ; if ( taskDefinitionKey == null || taskDefinitionKey . length ( ) < 1 ) { throw new ActivitiIllegalArgumentException ( "The task definition key is mandatory, but '" + taskDefinitionKey + "' has been provided." ) ; } this . taskDefinitionKey = taskDefinitionKey ; }
retrieves a task form key .
