public class DefaultSettingsBuildingRequest extends Object implements SettingsBuildingRequest
Constructor and Description |
---|
DefaultSettingsBuildingRequest() |
Modifier and Type | Method and Description |
---|---|
File |
getGlobalSettingsFile()
Gets the global settings file.
|
SettingsSource |
getGlobalSettingsSource()
Gets the global settings source.
|
Properties |
getSystemProperties()
Gets the system properties to use for interpolation.
|
Properties |
getUserProperties()
Gets the user properties to use for interpolation.
|
File |
getUserSettingsFile()
Gets the user settings file.
|
SettingsSource |
getUserSettingsSource()
Gets the user settings source.
|
DefaultSettingsBuildingRequest |
setGlobalSettingsFile(File globalSettingsFile)
Sets the global settings file.
|
DefaultSettingsBuildingRequest |
setGlobalSettingsSource(SettingsSource globalSettingsSource)
Sets the global settings source.
|
DefaultSettingsBuildingRequest |
setSystemProperties(Properties systemProperties)
Sets the system properties to use for interpolation.
|
DefaultSettingsBuildingRequest |
setUserProperties(Properties userProperties)
Sets the user properties to use for interpolation.
|
DefaultSettingsBuildingRequest |
setUserSettingsFile(File userSettingsFile)
Sets the user settings file.
|
DefaultSettingsBuildingRequest |
setUserSettingsSource(SettingsSource userSettingsSource)
Sets the user settings source.
|
public DefaultSettingsBuildingRequest()
public File getGlobalSettingsFile()
SettingsBuildingRequest
getGlobalSettingsFile
in interface SettingsBuildingRequest
null
if none.public DefaultSettingsBuildingRequest setGlobalSettingsFile(File globalSettingsFile)
SettingsBuildingRequest
setGlobalSettingsFile
in interface SettingsBuildingRequest
globalSettingsFile
- The global settings file, may be null
to disable global settings.null
.public SettingsSource getGlobalSettingsSource()
SettingsBuildingRequest
getGlobalSettingsSource
in interface SettingsBuildingRequest
null
if none.public DefaultSettingsBuildingRequest setGlobalSettingsSource(SettingsSource globalSettingsSource)
SettingsBuildingRequest
setGlobalSettingsSource
in interface SettingsBuildingRequest
globalSettingsSource
- The global settings source, may be null
to disable global settings.null
.public File getUserSettingsFile()
SettingsBuildingRequest
getUserSettingsFile
in interface SettingsBuildingRequest
null
if none.public DefaultSettingsBuildingRequest setUserSettingsFile(File userSettingsFile)
SettingsBuildingRequest
setUserSettingsFile
in interface SettingsBuildingRequest
userSettingsFile
- The user settings file, may be null
to disable user settings.null
.public SettingsSource getUserSettingsSource()
SettingsBuildingRequest
getUserSettingsSource
in interface SettingsBuildingRequest
null
if none.public DefaultSettingsBuildingRequest setUserSettingsSource(SettingsSource userSettingsSource)
SettingsBuildingRequest
setUserSettingsSource
in interface SettingsBuildingRequest
userSettingsSource
- The user settings source, may be null
to disable user settings.null
.public Properties getSystemProperties()
SettingsBuildingRequest
System.getProperties()
and environment variables.getSystemProperties
in interface SettingsBuildingRequest
null
.public DefaultSettingsBuildingRequest setSystemProperties(Properties systemProperties)
SettingsBuildingRequest
System.getProperties()
and environment variables.setSystemProperties
in interface SettingsBuildingRequest
systemProperties
- The system properties, may be null
.null
.public Properties getUserProperties()
SettingsBuildingRequest
-Dkey=value
parameter on the command line.getUserProperties
in interface SettingsBuildingRequest
null
.public DefaultSettingsBuildingRequest setUserProperties(Properties userProperties)
SettingsBuildingRequest
-Dkey=value
parameter on the command line.setUserProperties
in interface SettingsBuildingRequest
userProperties
- The user properties, may be null
.null
.Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.