Package org.eclipse.jetty.start
Class StartArgs
java.lang.Object
org.eclipse.jetty.start.StartArgs
The Arguments required to start Jetty.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoiddumpJvmArgs(PrintStream out) voidvoidvoidExpand any command line added--liblib references.voidexpandModules(List<Module> activeModules) Build up the Classpath and XML file references based on enabled Module list.voidExpand any command line added--liblib references.Deprecated.getFiles()Deprecated.usegetJvmArgSources()instead, as it will return source references with each arg.Return ordered Map of JVM arguments to Source (locations)getMainArgs(Set<String> parts) The list of selected Modules to enable based on configuration obtained fromstart.d/*.ini,start.ini, and command line.getSources(String module) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisDryRun()booleanisExec()booleanisHelp()booleanisJPMS()booleanbooleanbooleanbooleanbooleanisRun()booleanbooleanbooleanbooleanvoidParse a single line of argument.voidparse(ConfigSources sources) protected voidprocessAndSetProperty(String key, String value, String source) protected Props.PropprocessSystemProperty(String key, String value, String source) voidvoidvoidsetAllModules(Modules allModules) voidsetProperty(String key, String value, String source) voidsetRun(boolean run) toString()
-
Field Details
-
VERSION
-
ALL_PARTS
-
ARG_PARTS
-
ARG_ALLOW_INSECURE_HTTP_DOWNLOADS
- See Also:
-
-
Constructor Details
-
StartArgs
-
-
Method Details
-
dumpActiveXmls
-
dumpEnvironment
-
dumpJvmArgs
-
dumpProperties
-
dumpSystemProperties
-
expandSystemProperties
public void expandSystemProperties()Expand any command line added--liblib references. -
expandLibs
Expand any command line added--liblib references.- Throws:
IOException- if unable to expand the libraries
-
expandModules
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
-
getAllModules
-
getClasspath
-
getEnabledModules
Deprecated.usegetSelectedModules()instead -
getSelectedModules
The list of selected Modules to enable based on configuration obtained from
start.d/*.ini,start.ini, and command line.For full list of enabled modules, use
Modules.getEnabled()- Returns:
- the list of selected modules (by name) that the configuration has.
- See Also:
-
getFiles
-
getJvmArgs
Deprecated.usegetJvmArgSources()instead, as it will return source references with each arg.Gets the List of JVM arguments detected. -
getJvmArgSources
Return ordered Map of JVM arguments to Source (locations)- Returns:
- the ordered map of JVM Argument to Source (locations)
-
getMainArgs
- Throws:
IOException
-
getMainClassname
-
getMavenLocalRepoDir
-
findMavenLocalRepoDir
-
getModuleGraphFilename
-
getProperties
-
getSystemProperties
-
getSkipFileValidationModules
-
getSources
-
getXmlFiles
-
hasJvmArgs
public boolean hasJvmArgs() -
hasSystemProperties
public boolean hasSystemProperties() -
isAllowInsecureHttpDownloads
public boolean isAllowInsecureHttpDownloads() -
isApproveAllLicenses
public boolean isApproveAllLicenses() -
isCreateFiles
public boolean isCreateFiles() -
isJPMS
public boolean isJPMS() -
isDryRun
public boolean isDryRun() -
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
-
getShowModules
-
isRun
public boolean isRun() -
isStopCommand
public boolean isStopCommand() -
isTestingModeEnabled
public boolean isTestingModeEnabled() -
isVersion
public boolean isVersion() -
isCreateStartD
public boolean isCreateStartD() -
isCreateStartIni
public boolean isCreateStartIni() -
isUpdateIni
public boolean isUpdateIni() -
getMavenBaseUri
-
parse
-
parse
Parse a single line of argument.- Parameters:
rawarg- the raw argument to parsesource- the origin of this line of argument
-
processSystemProperty
-
processAndSetProperty
-
resolveExtraXmls
- Throws:
IOException
-
resolvePropertyFiles
- Throws:
IOException
-
setAllModules
-
setProperty
-
setRun
public void setRun(boolean run) -
toString
-
getSelectedModules()instead