Class StartArgs


  • public class StartArgs
    extends Object
    The Arguments required to start Jetty.
    • Field Detail

      • VERSION

        public static final String VERSION
    • Constructor Detail

      • StartArgs

        public StartArgs​(BaseHome baseHome)
    • Method Detail

      • dumpActiveXmls

        public void dumpActiveXmls()
      • dumpEnvironment

        public void dumpEnvironment()
      • dumpJvmArgs

        public void dumpJvmArgs()
      • dumpProperties

        public void dumpProperties()
      • dumpSystemProperties

        public void dumpSystemProperties()
      • expandSystemProperties

        public void expandSystemProperties()
        Expand any command line added --lib lib references.
      • expandLibs

        public void expandLibs()
                        throws IOException
        Expand any command line added --lib lib references.
        Throws:
        IOException - if unable to expand the libraries
      • expandModules

        public void expandModules​(List<Module> activeModules)
                           throws IOException
        Build up the Classpath and XML file references based on enabled Module list.
        Parameters:
        activeModules - the active (selected) modules
        Throws:
        IOException - if unable to expand the modules
      • getStartModules

        public List<String> getStartModules()
      • getAllModules

        public Modules getAllModules()
      • getClasspath

        public Classpath getClasspath()
      • getEnabledModules

        public List<String> getEnabledModules()
      • getMainClassname

        public String getMainClassname()
      • getMavenLocalRepoDir

        public String getMavenLocalRepoDir()
      • findMavenLocalRepoDir

        public Path findMavenLocalRepoDir()
      • getModuleGraphFilename

        public String getModuleGraphFilename()
      • getProperties

        public Props getProperties()
      • getSkipFileValidationModules

        public Set<String> getSkipFileValidationModules()
      • getXmlFiles

        public List<Path> getXmlFiles()
      • hasJvmArgs

        public boolean hasJvmArgs()
      • hasSystemProperties

        public boolean hasSystemProperties()
      • isApproveAllLicenses

        public boolean isApproveAllLicenses()
      • isCreateFiles

        public boolean isCreateFiles()
      • isJPMS

        public boolean isJPMS()
      • isDryRun

        public boolean isDryRun()
      • isExec

        public boolean isExec()
      • isLicenseCheckRequired

        public boolean isLicenseCheckRequired()
      • isNormalMainClass

        public boolean isNormalMainClass()
      • isHelp

        public boolean isHelp()
      • isListClasspath

        public boolean isListClasspath()
      • isListConfig

        public boolean isListConfig()
      • getListModules

        public List<String> getListModules()
      • isRun

        public boolean isRun()
      • isStopCommand

        public boolean isStopCommand()
      • isTestingModeEnabled

        public boolean isTestingModeEnabled()
      • isVersion

        public boolean isVersion()
      • isCreateStartd

        public boolean isCreateStartd()
      • isUpdateIni

        public boolean isUpdateIni()
      • getMavenBaseUri

        public String getMavenBaseUri()
      • parse

        public void parse​(String rawarg,
                          String source)
        Parse a single line of argument.
        Parameters:
        rawarg - the raw argument to parse
        source - the origin of this line of argument
      • processAndSetProperty

        protected void processAndSetProperty​(String key,
                                             String value,
                                             String source)
      • setAllModules

        public void setAllModules​(Modules allModules)
      • setRun

        public void setRun​(boolean run)