public abstract class AbstractTaskDefinition<SelfType extends AbstractTaskDefinition> extends FlowNodeDefinition<SelfType>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
async |
protected Class<?> |
delegateClass |
protected Identifier |
goalId |
protected Mixable |
marker |
protected CallDefinition |
methodCall |
protected boolean |
retryAsync |
protected RetryStrategy |
retryStrategy |
| Constructor and Description |
|---|
AbstractTaskDefinition() |
| Modifier and Type | Method and Description |
|---|---|
SelfType |
async(boolean async) |
SelfType |
call(CallDefinition methodCall) |
SelfType |
delegate(Class<?> delegateClass) |
Class<?> |
getDelegateClass() |
Option<Identifier> |
getGoal() |
Mixable |
getMarker() |
CallDefinition |
getMethodCall() |
Option<RetryStrategy> |
getRetryStrategy() |
SelfType |
goal(GoalDefinition goal) |
SelfType |
goal(Identifier goalId) |
boolean |
isAsync() |
boolean |
isRetryAsync() |
SelfType |
marker(Mixable marker) |
SelfType |
retryAsync(boolean retryAsync) |
SelfType |
retryStrategy(RetryStrategy retryStrategy) |
addIncoming, addOutgoing, display, equals, getDisplayName, getId, getIncoming, getOutgoing, hashCode, id, id, id, self, toStringas, hasMixin, with, withprotected Class<?> delegateClass
protected boolean async
protected boolean retryAsync
protected Mixable marker
protected CallDefinition methodCall
protected Identifier goalId
protected RetryStrategy retryStrategy
public SelfType call(CallDefinition methodCall)
public SelfType async(boolean async)
public SelfType retryAsync(boolean retryAsync)
public SelfType retryStrategy(RetryStrategy retryStrategy)
public SelfType goal(GoalDefinition goal)
public SelfType goal(Identifier goalId)
public Class<?> getDelegateClass()
public CallDefinition getMethodCall()
public Mixable getMarker()
public Option<Identifier> getGoal()
public boolean isAsync()
public boolean isRetryAsync()
public Option<RetryStrategy> getRetryStrategy()
Copyright © 2014. All rights reserved.