Package org.eclipse.jetty.start
Class StartArgs
- java.lang.Object
-
- org.eclipse.jetty.start.StartArgs
-
public class StartArgs extends Object
The Arguments required to start Jetty.
-
-
Method Summary
-
-
-
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--liblib references.
-
expandLibs
public void expandLibs() throws IOExceptionExpand any command line added--liblib 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
-
getAllModules
public Modules getAllModules()
-
getClasspath
public Classpath getClasspath()
-
getMainArgs
public CommandLineBuilder getMainArgs(boolean addJavaInit) throws IOException
- Throws:
IOException
-
getMainClassname
public String getMainClassname()
-
getMavenLocalRepoDir
public String getMavenLocalRepoDir()
-
findMavenLocalRepoDir
public Path findMavenLocalRepoDir()
-
getModuleGraphFilename
public String getModuleGraphFilename()
-
getProperties
public Props getProperties()
-
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()
-
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 parsesource- 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)
-
setRun
public void setRun(boolean run)
-
-