public interface ProfileActivationContext
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_NAME_PACKAGING
Key of the property containing the project's packaging.
|
Modifier and Type | Method and 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.
|
static final java.lang.String PROPERTY_NAME_PACKAGING
getUserProperties()
.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
.