DefaultProfileActivationContextpublic interface ProfileActivationContext
| Modifier and Type | Method | Description |
|---|---|---|
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.Map<java.lang.String,java.lang.String> |
getProjectProperties() |
Gets current calculated project properties
|
java.util.Map<java.lang.String,java.lang.String> |
getSystemProperties() |
Gets the system properties to use for interpolation and profile activation.
|
java.util.Map<java.lang.String,java.lang.String> |
getUserProperties() |
Gets the user properties to use for interpolation and profile activation.
|
java.util.List<java.lang.String> getActiveProfileIds()
null.java.util.List<java.lang.String> getInactiveProfileIds()
null.java.util.Map<java.lang.String,java.lang.String> getSystemProperties()
System.getProperties() and environment variables.null.java.util.Map<java.lang.String,java.lang.String> getUserProperties()
-Dkey=value parameter on the command
line.null.java.io.File getProjectDirectory()
null if none.java.util.Map<java.lang.String,java.lang.String> getProjectProperties()
null.