public class InputExaminer
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
DetailMessage |
examineRaw(java.lang.String raw)
Examine a raw ShellCommand and return a detail or error message for the command.
|
DetailMessage |
examineTemplated(java.lang.String raw)
Examine a ShellCommand after applying engine templates and return a detail or error message for the command.
|
public DetailMessage examineTemplated(java.lang.String raw)
raw
- ShellCommand that needs an engine template applied.DetailMessage
indicating the details of the command that will be invoked. Default variables
will be added to the raw invocation and flags will be replaced with their readable counterparts. If the
command is not valid, an error message will be returned describing the cause of the problem.public DetailMessage examineRaw(java.lang.String raw)
raw
- unparsed ShellCommand.DetailMessage
indicating the details of the command that will be invoked. Default variables
will be added to the raw invocation and flags will be replaced with their readable counterparts. If the
raw command is not valid, an error message will be returned describing the cause of the problem.