public interface Interpreter
| Modifier and Type | Interface and Description |
|---|---|
static class |
Interpreter.State |
| Modifier and Type | Method and Description |
|---|---|
void |
cancle() |
ChainManager |
chain()
The ChainManager object allows manipulation of the chain-of-command.
|
default void |
execute(Feed feed,
Log log,
DocumentMediator documentMediator,
SheetFactory sheetFactory)
Executes the instructions of the specified feed and reports to the
specified log.
|
void |
execute(Feed feed,
Log log,
DocumentMediator documentMediator,
SheetFactory sheetFactory,
Map<String,Object> presetVariables) |
void |
executeNested(Feed feed,
Log log,
InterpreterContext context)
Facilitates the nested execution of a specified feed and reporting to the
specified log.
|
Date |
getStartDate() |
Interpreter.State |
getState() |
LibraryManager |
libraries() |
void |
pause() |
ProcedureManager |
procedures() |
void |
publish(Event event)
Fired events are send to the libraries that are registered with the
executor.
|
void |
resume() |
void |
setSleep(long delay) |
void |
setSource(DataSource externalSource) |
void |
validate(Feed feed,
Log log,
DocumentMediator documentMediator,
SheetFactory sheetFactory)
Validates all the instruction of the specified feed and report to the
specified log.
|
void |
validateNested(Feed feed,
Log log,
InterpreterContext context)
Facilitates the nested validation of a specified feed and reporting to
the specified log.
|
LibraryManager libraries()
ProcedureManager procedures()
ChainManager chain()
void publish(Event event)
event - the event to publish to chain-of-command followed by the
libraries.default void execute(Feed feed, Log log, DocumentMediator documentMediator, SheetFactory sheetFactory)
feed - holding all the instruction to be executedlog - the reporting instancedocumentMediator - sheetFactory - void execute(Feed feed, Log log, DocumentMediator documentMediator, SheetFactory sheetFactory, Map<String,Object> presetVariables)
void validate(Feed feed, Log log, DocumentMediator documentMediator, SheetFactory sheetFactory)
feed - holding all the instruction to be validatedlog - the reporting instancedocumentMediator - sheetFactory - void executeNested(Feed feed, Log log, InterpreterContext context)
feed - holding all the instruction to be executedlog - the reporting instancecontext - void validateNested(Feed feed, Log log, InterpreterContext context)
feed - holding all the instruction to be validatedlog - the reporting instancecontext - void setSource(DataSource externalSource)
Interpreter.State getState()
void pause()
void resume()
void cancle()
void setSleep(long delay)
Date getStartDate()
Copyright © 2015. All rights reserved.