Class E
java.lang.Object
org.ek9lang.compiler.common.Reporter
org.ek9lang.cli.E
Abstract base for the command line EK9 commands.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract booleandoRun()Actually run the execution.protected Fileprotected Fileprotected Stringprotected FileHandlingprotected Fileprotected Fileprotected OsSupportprotected abstract StringProvide the report/log message prefix.(package private) booleanDo a post-condition check after the command has executed.(package private) booleanDo a pre-condition check to ensure run can execute.(package private) booleanrun()Methods inherited from class Reporter
isMuteReportedErrors, isVerbose, log, report, setMuteReportedErrors
-
Field Details
-
compilationContext
-
-
Constructor Details
-
E
E(CompilationContext compilationContext)
-
-
Method Details
-
run
boolean run() -
preConditionCheck
boolean preConditionCheck()Do a pre-condition check to ensure run can execute.- Returns:
- true if all Ok, false if pre-condition not met.
-
postConditionCheck
boolean postConditionCheck()Do a post-condition check after the command has executed.- Returns:
- true if all Ok, false if the post-condition has not been met.
-
messagePrefix
Description copied from class:ReporterProvide the report/log message prefix.- Specified by:
messagePrefixin classReporter
-
getFileHandling
-
getOsSupport
-
doRun
protected abstract boolean doRun()Actually run the execution. -
getDotEk9Directory
-
getMainGeneratedOutputDirectory
-
getMainFinalOutputDirectory
-
getDevGeneratedOutputDirectory
-
getDevFinalOutputDirectory
-