public class ProfileActivation extends Object
| Constructor and Description |
|---|
ProfileActivation() |
@Deprecated public List<String> getActiveProfiles()
getRequiredActiveProfileIds() and getOptionalActiveProfileIds() instead.@Deprecated public List<String> getInactiveProfiles()
getRequiredInactiveProfileIds() and getOptionalInactiveProfileIds() instead.@Deprecated public void overwriteActiveProfiles(List<String> activeProfileIds)
activateOptionalProfile(String) or activateRequiredProfile(String) instead.activeProfileIds - A List of profile IDs that must be activated.@Deprecated public void overwriteInactiveProfiles(List<String> inactiveProfileIds)
deactivateOptionalProfile(String) or deactivateRequiredProfile(String) instead.inactiveProfileIds - A List of profile IDs that must be deactivated.public void activateRequiredProfile(String id)
id - The identifier of the profile.public void activateOptionalProfile(String id)
id - The identifier of the profile.public void deactivateRequiredProfile(String id)
id - The identifier of the profile.public void deactivateOptionalProfile(String id)
id - The identifier of the profile.public void addProfileActivation(String id, boolean active, boolean optional)
id - The identifier of the profile.active - Should the profile be activated?optional - Can the build continue if the profile does not exist?public Set<String> getRequiredActiveProfileIds()
null.public Set<String> getOptionalActiveProfileIds()
null.public Set<String> getRequiredInactiveProfileIds()
null.Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.