|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProfileActivationContext
Describes the environmental context used to determine the activation status of profiles.
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getActiveProfileIds()
Gets the identifiers of those profiles that should be activated by explicit demand. |
java.util.List<java.lang.String> |
getInactiveProfileIds()
Gets the identifiers of those profiles that should be deactivated by explicit demand. |
java.io.File |
getProjectDirectory()
Gets the base directory of the current project (if any). |
java.util.Properties |
getSystemProperties()
Gets the system properties to use for interpolation and profile activation. |
java.util.Properties |
getUserProperties()
Gets the user properties to use for interpolation and profile activation. |
ProfileActivationContext |
setActiveProfileIds(java.util.List<java.lang.String> activeProfileIds)
Sets the identifiers of those profiles that should be activated by explicit demand. |
ProfileActivationContext |
setInactiveProfileIds(java.util.List<java.lang.String> inactiveProfileIds)
Sets the identifiers of those profiles that should be deactivated by explicit demand. |
ProfileActivationContext |
setProjectDirectory(java.io.File projectDirectory)
Sets the base directory of the current project. |
ProfileActivationContext |
setSystemProperties(java.util.Properties executionProperties)
Sets the system properties to use for interpolation and profile activation. |
ProfileActivationContext |
setUserProperties(java.util.Properties userProperties)
Sets the user properties to use for interpolation and profile activation. |
| Method Detail |
|---|
java.util.List<java.lang.String> getActiveProfileIds()
null.ProfileActivationContext setActiveProfileIds(java.util.List<java.lang.String> activeProfileIds)
activeProfileIds - The identifiers of those profiles to activate, may be null.
null.java.util.List<java.lang.String> getInactiveProfileIds()
null.ProfileActivationContext setInactiveProfileIds(java.util.List<java.lang.String> inactiveProfileIds)
inactiveProfileIds - The identifiers of those profiles to deactivate, may be null.
null.java.util.Properties getSystemProperties()
System.getProperties() and environment variables.
null.ProfileActivationContext setSystemProperties(java.util.Properties executionProperties)
System.getProperties() and environment variables.
executionProperties - The execution properties, may be null.
null.java.util.Properties getUserProperties()
-Dkey=value parameter on the command
line.
null.ProfileActivationContext setUserProperties(java.util.Properties userProperties)
-Dkey=value parameter on the command
line.
userProperties - The user properties, may be null.
null.java.io.File getProjectDirectory()
null if none.ProfileActivationContext setProjectDirectory(java.io.File projectDirectory)
projectDirectory - The base directory of the current project, may be null if profile activation
happens in the context of metadata retrieval rather than project building.
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||