public abstract class AbstractSequence extends Object implements Sequence
Constructor and Description |
---|
AbstractSequence() |
Modifier and Type | Method and Description |
---|---|
abstract String |
doGetNext() |
abstract void |
doReset() |
void |
publishNext(String sequenceId,
Properties values)
Asks the sequence to publish its next value(s) to the provided map.
|
void |
reset()
Resets the sequence.
|
public final void publishNext(String sequenceId, Properties values)
Sequence
publishNext
in interface Sequence
sequenceId
- Id of the sequence instance.values
- The properties to provide the next value(s) to.public final void reset() throws PerfCakeException
Sequence
reset
in interface Sequence
PerfCakeException
- When it was not possible to initialize the sequence to its original state.public abstract String doGetNext()
public abstract void doReset() throws PerfCakeException
PerfCakeException
Copyright © 2010–2017 PerfCake Community. All rights reserved.