|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object example.BobAppender
@Spi public class BobAppender
Constructor Summary | |
---|---|
BobAppender()
|
Method Summary | |
---|---|
MetaData |
describeApplication()
Describe this string transformation application. |
MetaData |
getInput()
Describe the single input. |
MetaData |
getOutputs()
Describe the single output. |
String |
process(String data)
Process input data. |
void |
validate(String data)
Check that the input is valid. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BobAppender()
Method Detail |
---|
public MetaData describeApplication()
StringProcessor
describeApplication
in interface StringProcessor
MetaData
describing the application, including its namepublic MetaData getInput()
StringProcessor
getInput
in interface StringProcessor
MetaData
describing the input, including its namepublic MetaData getOutputs()
StringProcessor
getOutputs
in interface StringProcessor
MetaData
describing the output, including its namepublic void validate(String data) throws InvalidJobSpecificationException
StringProcessor
validate
in interface StringProcessor
data
- the input String
InvalidJobSpecificationException
public String process(String data) throws JobExecutionException
StringProcessor
process
in interface StringProcessor
data
- the input String
String
JobExecutionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |