站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.0.1 API 英文版文档

EndTask (JBoss Seam API Documentation) - JBoss Seam 1.0.1 API 英文版文档


org.jboss.seam.annotations
Annotation Type EndTask


@Target(value=METHOD)
@Retention(value=RUNTIME)
@Documented
public @interface EndTask

Marks a method as causing jBPM task to be ended. The current conversation also ends. If a list of outcomes is specified, the task ends only if the outcome is in the list. A null outcome never ends the task.

See Also:
TaskInstance.end

Optional Element Summary
 String[] ifOutcome
          An empty outcome list is interpreted to mean any outcome except for the null (redisplay) outcome.
 String transition
          Specifies the transition that should be triggered by completing the task.
 

ifOutcome

public abstract String[] ifOutcome
An empty outcome list is interpreted to mean any outcome except for the null (redisplay) outcome.

Default:
{}

transition

public abstract String transition
Specifies the transition that should be triggered by completing the task. If the transition needs to be specified dynamically, use the Seam transition component, calling Transition.setName().

Returns:
a transition name
Default:
""