Package org.eclipse.jetty.start
Class StartArgs
java.lang.Object
org.eclipse.jetty.start.StartArgs
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddumpJvmArgs(PrintStream out) voidvoidexpandEnvironments(List<Module> activeModules) voidexpandModules(List<Module> activeModules) Build up the Classpath and XML file references based on enabled Module list.voidExpand any command line added--libslib references.getEnvironment(String envName) getFiles()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(ConfigSources sources) parse(StartEnvironment environment, String arg, String source) Parse a single line of argument.protected Props.PropprocessSystemProperty(String key, String value, String source) voidsetAllModules(Modules allModules) voidsetProperty(StartEnvironment environment, 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
-
expandEnvironments
- Throws:
IOException
-
getJettyEnvironment
-
getEnvironments
-
getEnvironment
-
dumpJavaEnvironment
-
dumpJvmArgs
-
dumpSystemProperties
-
expandSystemProperties
public void expandSystemProperties()Expand any command line added--libslib references. -
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
-
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 set of selected modules (by name) that the configuration has.
- See Also:
-
getFiles
-
getJvmArgSources
-
getMainArgs
- Throws:
IOException
-
getMainClassname
-
getMavenLocalRepoDir
-
findMavenLocalRepoDir
-
getModuleGraphFilename
-
getSkipFileValidationModules
-
getSources
-
hasJvmArgs
public boolean hasJvmArgs() -
hasSystemProperties
public boolean hasSystemProperties() -
getSystemProperties
-
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:
arg- the raw argument to parsesource- the origin of this line of argument
-
processSystemProperty
-
setAllModules
-
setProperty
-
setRun
public void setRun(boolean run) -
toString
-