Class OverlayManager
java.lang.Object
org.apache.maven.plugins.war.overlay.OverlayManager
Manages the overlays.
- Author:
- Stephane Nicoll
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the id of the resolved overlays.Returns the resolved overlays.
-
Constructor Details
-
OverlayManager
public OverlayManager(List<Overlay> overlays, org.apache.maven.project.MavenProject project, String[] defaultIncludes, String[] defaultExcludes, Overlay currentProjectOverlay) throws InvalidOverlayConfigurationException Creates a manager with the specified overlays. Note that the list is potentially updated by the manager so a new list is created based on the overlays.- Parameters:
overlays- the overlaysproject- the maven projectdefaultIncludes- the default includes to usedefaultExcludes- the default excludes to usecurrentProjectOverlay- the overlay for the current project- Throws:
InvalidOverlayConfigurationException- if the config is invalid
-
-
Method Details
-
getOverlays
Returns the resolved overlays.- Returns:
- the overlays
-
getOverlayIds
Returns the id of the resolved overlays.- Returns:
- the overlay ids
-