Package org.ek9lang.cli
Class E
java.lang.Object
org.ek9lang.compiler.common.Reporter
org.ek9lang.cli.E
Abstract base for the command line ek9 commands.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract boolean
doRun()
Actually run the execution.protected File
protected File
protected String
protected FileHandling
protected File
protected File
protected OsSupport
protected abstract String
Provide the report/log message prefix.(package private) boolean
(package private) boolean
Do a precondition check to ensure run can execute.(package private) boolean
run()
Methods inherited from class org.ek9lang.compiler.common.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 precondition check to ensure run can execute.- Returns:
- true if all Ok false if precondition not met.
-
postConditionCheck
boolean postConditionCheck() -
messagePrefix
Description copied from class:Reporter
Provide the report/log message prefix.- Specified by:
messagePrefix
in classReporter
-
getFileHandling
-
getOsSupport
-
doRun
protected abstract boolean doRun()Actually run the execution. -
getDotEk9Directory
-
getMainGeneratedOutputDirectory
-
getMainFinalOutputDirectory
-
getDevGeneratedOutputDirectory
-
getDevFinalOutputDirectory
-