public class ProjectActivation extends Object
| Constructor and Description |
|---|
ProjectActivation() |
public void addProjectActivation(String selector, boolean active, boolean optional)
selector - The selector of the project.active - Should the project be activated?optional - Can the build continue if the project does not exist?public Set<String> getRequiredActiveProjectSelectors()
null.public Set<String> getOptionalActiveProjectSelectors()
null.public Set<String> getRequiredInactiveProjectSelectors()
null.public Set<String> getOptionalInactiveProjectSelectors()
null.@Deprecated public List<String> getSelectedProjects()
getRequiredActiveProjectSelectors() and getOptionalActiveProjectSelectors()
instead.@Deprecated public List<String> getExcludedProjects()
getRequiredInactiveProjectSelectors() and getOptionalInactiveProjectSelectors()
instead.@Deprecated public void overwriteActiveProjects(List<String> activeProjectSelectors)
activateOptionalProject(String) or activateRequiredProject(String) instead.activeProjectSelectors - A List of project selectors that must be activated.@Deprecated public void overwriteInactiveProjects(List<String> inactiveProjectSelectors)
deactivateOptionalProject(String) or deactivateRequiredProject(String) instead.inactiveProjectSelectors - A List of project selectors that must be deactivated.public void activateRequiredProject(String selector)
selector - The selector of the project.public void activateOptionalProject(String selector)
selector - The selector of the project.public void deactivateRequiredProject(String selector)
selector - The selector of the project.public void deactivateOptionalProject(String selector)
selector - The selector of the project.public boolean isEmpty()
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.