@Target(value=METHOD) @Retention(value=RUNTIME) @Documented public @interface EndTask
task instance
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.TaskInstance.end(String)| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
beforeRedirect
Should the conversation be destroyed before any
redirect? (The default behavior is to propagate
the conversation across the redirect and then
destroy it at the end of the redirected request.)
|
String[] |
ifOutcome
Deprecated.
use BusinessProcess.instance().end("...") and
Conversation.instance().end()
|
String |
transition
Specifies the transition that should be triggered by
completing the task.
|
public abstract String[] ifOutcome
public abstract String transition
public abstract boolean beforeRedirect
Copyright © 2015 Seam Framework. All Rights Reserved.