public class FileLinesSequence extends Object implements Sequence
Constructor and Description |
---|
FileLinesSequence() |
Modifier and Type | Method and Description |
---|---|
String |
getFileUrl()
Gets the file from where to read lines representing the sequence values.
|
void |
publishNext(String sequenceId,
Properties values)
Asks the sequence to publish its next value(s) to the provided map.
|
void |
reset()
Resets the sequence.
|
FileLinesSequence |
setFileUrl(String fileUrl)
Sets the file from where to read lines representing the sequence values.
|
public 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 void reset() throws PerfCakeException
Sequence
reset
in interface Sequence
PerfCakeException
- When it was not possible to initialize the sequence to its original state.public String getFileUrl()
public FileLinesSequence setFileUrl(String fileUrl)
fileUrl
- The file from where to read lines representing the sequence values.Copyright © 2010–2017 PerfCake Community. All rights reserved.