DATA
- processed data type.public abstract class AbstractChainableStage<DATA> extends Object implements ChainableStage<DATA>
Stage.Builder<DATA>, Stage.Continuation<DATA>
Modifier | Constructor and Description |
---|---|
protected |
AbstractChainableStage()
Create a new chainable acceptor with no next stage set.
|
protected |
AbstractChainableStage(Stage<DATA> nextStage)
Create a new chainable acceptor with an initialized default
next stage value.
|
Modifier and Type | Method and Description |
---|---|
Stage<DATA> |
getDefaultNext()
Get the default next stage currently configured on the acceptor.
|
void |
setDefaultNext(Stage<DATA> next)
Set the default next stage that should be returned from this
stage after it has been invoked by default.
|
protected AbstractChainableStage()
public final void setDefaultNext(Stage<DATA> next)
ChainableStage
setDefaultNext
in interface ChainableStage<DATA>
next
- the next default stage in the chain.Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.