Class StartArgs

java.lang.Object
org.eclipse.jetty.start.StartArgs

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

    • VERSION

      public static final String VERSION
    • ALL_PARTS

      public static final Set<String> ALL_PARTS
    • ARG_PARTS

      public static final Set<String> ARG_PARTS
  • Constructor Details

    • StartArgs

      public StartArgs(BaseHome baseHome)
  • Method Details

    • 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()
    • getFiles

      public List<FileArg> getFiles()
    • getJvmArgs

      public List<String> getJvmArgs()
    • getMainArgs

      public CommandLineBuilder getMainArgs(Set<String> parts) throws IOException
      Throws:
      IOException
    • 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()
    • getSources

      public List<String> getSources(String module)
    • 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()
    • getDryRunParts

      public Set<String> getDryRunParts()
    • 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(ConfigSources sources)
    • 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
    • processSystemProperty

      protected Props.Prop processSystemProperty(String key, String value, String source)
    • processAndSetProperty

      protected void processAndSetProperty(String key, String value, String source)
    • resolveExtraXmls

      public void resolveExtraXmls() throws IOException
      Throws:
      IOException
    • resolvePropertyFiles

      public void resolvePropertyFiles() throws IOException
      Throws:
      IOException
    • setAllModules

      public void setAllModules(Modules allModules)
    • setProperty

      public void setProperty(String key, String value, String source)
    • setRun

      public void setRun(boolean run)
    • toString

      public String toString()
      Overrides:
      toString in class Object