org.camunda.bpm.engine.cdi.annotation
Annotation Type TaskId


@Qualifier
@Retention(value=RUNTIME)
@Target(value={FIELD,PARAMETER,METHOD,TYPE})
public @interface TaskId

Qualifier annotation for injecting the current taskId.

Example:

 @Inject @TaskId String currentTaskId
 
Note that the current Task is also available for injection:
 @Inject Task task;
 

Author:
Daniel Meyer



Copyright © 2015 camunda services GmbH. All rights reserved.