
public interface ProcessInteraction
| Modifier and Type | Method and Description |
|---|---|
Answer |
repliesTo(Sentence sentence)
Returns a string that should be used to reply the question
|
boolean |
requiresInputInteraction()
Checks whether process requires any interaction on its input
|
boolean |
shouldOutput(Sentence sentence)
Checks if the current line should be propagate to standard output
|
boolean |
shouldOutputToErr(Sentence sentence)
Checks if the current line should be propagate to standard error output
|
boolean requiresInputInteraction()
true if so, false otherwiseAnswer repliesTo(Sentence sentence)
sentence - the questionboolean shouldOutput(Sentence sentence)
sentence - current linetrue if output is to be printed outboolean shouldOutputToErr(Sentence sentence)
sentence - current linetrue if output is to be printed out to error outputCopyright © 2014 JBoss by Red Hat. All rights reserved.