public class NumberIncrementorFactory extends Object implements ProcessorFactory
ProcessorFactory that can be used to create a
NumberIncrementor.| Constructor and Description |
|---|
NumberIncrementorFactory(boolean fPostIncrement)
Construct an instance of NumberIncrementorFactory.
|
| Modifier and Type | Method and Description |
|---|---|
InvocableMap.EntryProcessor |
getProcessor(String... asArgs)
Returns a processor instance.
|
protected static Number |
toNumber(String sNumber)
Convert the given string into a number.
|
public NumberIncrementorFactory(boolean fPostIncrement)
fPostIncrement - pass true to create NumberIncrementors
that will return value as it was before it was
incremented, or pass false to create
NumberIncrementors that will return
the value as it is after it is incrementedpublic InvocableMap.EntryProcessor getProcessor(String... asArgs)
getProcessor in interface ProcessorFactoryasArgs - processor configuration arguments