Interface SettingsBuildingRequest
- All Known Implementing Classes:
DefaultSettingsBuildingRequest
Deprecated.
Collects settings that control the building of effective settings.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets the global settings file.Deprecated.Gets the global settings source.Deprecated.Gets the project settings file.Deprecated.Gets the project settings source.Deprecated.Gets the system properties to use for interpolation.Deprecated.Gets the user properties to use for interpolation.Deprecated.Gets the user settings file.Deprecated.Gets the user settings source.setGlobalSettingsFile(File globalSettingsFile) Deprecated.Sets the global settings file.setGlobalSettingsSource(SettingsSource globalSettingsSource) Deprecated.Sets the global settings source.setProjectSettingsFile(File projectSettingsFile) Deprecated.Sets the project settings file.setProjectSettingsSource(SettingsSource projectSettingsSource) Deprecated.Sets the project settings source.setSystemProperties(Properties systemProperties) Deprecated.Sets the system properties to use for interpolation.setUserProperties(Properties userProperties) Deprecated.Sets the user properties to use for interpolation.setUserSettingsFile(File userSettingsFile) Deprecated.Sets the user settings file.setUserSettingsSource(SettingsSource userSettingsSource) Deprecated.Sets the user settings source.
-
Method Details
-
getGlobalSettingsFile
File getGlobalSettingsFile()Deprecated.Gets the global settings file.- Returns:
- The global settings file or
nullif none.
-
setGlobalSettingsFile
Deprecated.Sets the global settings file. A non-existent settings file is equivalent to empty settings. If both user settings and global settings are given, the user settings take precedence.- Parameters:
globalSettingsFile- The global settings file, may benullto disable global settings.- Returns:
- This request, never
null.
-
getGlobalSettingsSource
SettingsSource getGlobalSettingsSource()Deprecated.Gets the global settings source.- Returns:
- The global settings source or
nullif none.
-
setGlobalSettingsSource
Deprecated.Sets the global settings source. If both user settings and a global settings are given, the user settings take precedence.- Parameters:
globalSettingsSource- The global settings source, may benullto disable global settings.- Returns:
- This request, never
null.
-
getProjectSettingsFile
File getProjectSettingsFile()Deprecated.Gets the project settings file.- Returns:
- The project settings file or
nullif none. - Since:
- 4.0.0
-
setProjectSettingsFile
Deprecated.Sets the project settings file. A non-existent settings file is equivalent to empty settings.- Parameters:
projectSettingsFile- The project settings file, may benullto disable project settings.- Returns:
- This request, never
null. - Since:
- 4.0.0
-
getProjectSettingsSource
SettingsSource getProjectSettingsSource()Deprecated.Gets the project settings source.- Returns:
- The project settings source or
nullif none. - Since:
- 4.0.0
-
setProjectSettingsSource
Deprecated.Sets the project settings source.- Parameters:
projectSettingsSource- The project settings source, may benullto disable global settings.- Returns:
- This request, never
null. - Since:
- 4.0.0
-
getUserSettingsFile
File getUserSettingsFile()Deprecated.Gets the user settings file.- Returns:
- The user settings file or
nullif none.
-
setUserSettingsFile
Deprecated.Sets the user settings file. A non-existent settings file is equivalent to empty settings. If both a user settings file and a global settings file are given, the user settings take precedence.- Parameters:
userSettingsFile- The user settings file, may benullto disable user settings.- Returns:
- This request, never
null.
-
getUserSettingsSource
SettingsSource getUserSettingsSource()Deprecated.Gets the user settings source.- Returns:
- The user settings source or
nullif none.
-
setUserSettingsSource
Deprecated.Sets the user settings source. If both user settings and a global settings are given, the user settings take precedence.- Parameters:
userSettingsSource- The user settings source, may benullto disable user settings.- Returns:
- This request, never
null.
-
getSystemProperties
Properties getSystemProperties()Deprecated.Gets the system properties to use for interpolation. The system properties are collected from the runtime environment likeSystem.getProperties()and environment variables.- Returns:
- The system properties, never
null.
-
setSystemProperties
Deprecated.Sets the system properties to use for interpolation. The system properties are collected from the runtime environment likeSystem.getProperties()and environment variables.- Parameters:
systemProperties- The system properties, may benull.- Returns:
- This request, never
null.
-
getUserProperties
Properties getUserProperties()Deprecated.Gets the user properties to use for interpolation. The user properties have been configured directly by the user on his discretion, e.g. via the-Dkey=valueparameter on the command line.- Returns:
- The user properties, never
null.
-
setUserProperties
Deprecated.Sets the user properties to use for interpolation. The user properties have been configured directly by the user on his discretion, e.g. via the-Dkey=valueparameter on the command line.- Parameters:
userProperties- The user properties, may benull.- Returns:
- This request, never
null.
-
SettingsBuilderinstead