Class CommandLineDetails

java.lang.Object
org.ek9lang.cli.CommandLineDetails

final class CommandLineDetails extends Object
Just deals with handling the command line options for the compiler. Quite a beast now, but command line argument handling is always a bit complex.
  • Field Details

    • ek9ProgramToRun

      String ek9ProgramToRun
    • targetArchitecture

      String targetArchitecture
    • debugPort

      int debugPort
  • Constructor Details

  • Method Details

    • addDefaultSetting

      static void addDefaultSetting()
    • getCommandLineHelp

      static String getCommandLineHelp()
      Just provides the commandline help text.
    • getOsSupport

      OsSupport getOsSupport()
    • getFileHandling

      FileHandling getFileHandling()
    • getLanguageMetaData

      LanguageMetaData getLanguageMetaData()
    • processCommandLine

      int processCommandLine(String[] argv)
      Process the command line as supplied from main. Expects a single entry in the array.
    • processCommandLine

      int processCommandLine(String commandLine)
      Process the command line.
      Parameters:
      commandLine - The command line the user or remote system used.
      Returns:
      error code, 0 no error - see EK9.java for the use of other error codes.
    • processEk9FileProperties

      public Integer processEk9FileProperties(boolean forceRegeneration)
      Processes the properties and forces regeneration if required.
    • getSourceVisitor

      public Ek9SourceVisitor getSourceVisitor()
      Access the visitor of the source code being parsed.
    • getSourcePropertiesFile

      public File getSourcePropertiesFile()
    • numberOfProgramsInSourceFile

      public int numberOfProgramsInSourceFile()
    • getModuleName

      public String getModuleName()
    • noPackageIsPresent

      public boolean noPackageIsPresent()
    • getVersion

      public String getVersion()
    • applyStandardIncludes

      public boolean applyStandardIncludes()
    • applyStandardExcludes

      public boolean applyStandardExcludes()
    • getIncludeFiles

      public List<String> getIncludeFiles()
    • getExcludeFiles

      public List<String> getExcludeFiles()
    • isDependenciesAltered

      public boolean isDependenciesAltered()
    • isDebuggingInstrumentation

      public boolean isDebuggingInstrumentation()
    • isDevBuild

      public boolean isDevBuild()
    • isJustBuildTypeOption

      public boolean isJustBuildTypeOption()
    • isReleaseVectorOption

      public boolean isReleaseVectorOption()
    • getEk9AppDefines

      public List<String> getEk9AppDefines()
    • getEk9ProgramParameters

      public List<String> getEk9ProgramParameters()
    • getTargetArchitecture

      public String getTargetArchitecture()
    • getProgramToRun

      public String getProgramToRun()
    • getSourceFileName

      public String getSourceFileName()
      This is just the file name and not the full path to the source file.
    • getFullPathToSourceFileName

      public String getFullPathToSourceFileName()
      Provides the full qualified path to the source file.
    • getSourceFileDirectory

      public String getSourceFileDirectory()
    • isVerbose

      public boolean isVerbose()
    • isDebugVerbose

      public boolean isDebugVerbose()
    • isDeveloperManagementOption

      public boolean isDeveloperManagementOption()
    • isGenerateSigningKeys

      public boolean isGenerateSigningKeys()
    • isUpdateUpgrade

      public boolean isUpdateUpgrade()
    • isCleanAll

      public boolean isCleanAll()
    • isResolveDependencies

      public boolean isResolveDependencies()
    • isIncrementalCompile

      public boolean isIncrementalCompile()
    • isFullCompile

      public boolean isFullCompile()
    • isCheckCompileOnly

      public boolean isCheckCompileOnly()
    • isPhasedCompileOnly

      public boolean isPhasedCompileOnly()
    • getOptionParameter

      public String getOptionParameter(String option)
      Access a parameter option from the command line.
    • isInstall

      public boolean isInstall()
    • isPackaging

      public boolean isPackaging()
    • isDeployment

      public boolean isDeployment()
    • isPrintReleaseVector

      public boolean isPrintReleaseVector()
    • isIncrementReleaseVector

      public boolean isIncrementReleaseVector()
    • isSetReleaseVector

      public boolean isSetReleaseVector()
    • isSetFeatureVector

      public boolean isSetFeatureVector()
    • isHelp

      public boolean isHelp()
    • isVersionOfEk9Option

      public boolean isVersionOfEk9Option()
    • isRunEk9AsLanguageServer

      public boolean isRunEk9AsLanguageServer()
    • isEk9LanguageServerHelpEnabled

      public boolean isEk9LanguageServerHelpEnabled()
    • isRunOption

      public boolean isRunOption()
    • isUnitTestExecution

      public boolean isUnitTestExecution()
    • isRunDebugMode

      public boolean isRunDebugMode()
    • isRunNormalMode

      public boolean isRunNormalMode()