org.apache.maven.plugin.war.overlay
Class OverlayManager

java.lang.Object
  extended by org.apache.maven.plugin.war.overlay.OverlayManager

public class OverlayManager
extends Object

Manages the overlays.

Version:
$Id: OverlayManager.java 985595 2010-08-14 22:29:50Z dennisl $
Author:
Stephane Nicoll

Constructor Summary
OverlayManager(List overlays, MavenProject project, String defaultIncludes, String defaultExcludes, Overlay currentProjectOverlay)
          Creates a manager with the specified overlays.
 
Method Summary
 List getOverlayIds()
          Returns the id of the resolved overlays.
 List getOverlays()
          Returns the resolved overlays.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OverlayManager

public OverlayManager(List overlays,
                      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 overlays
project - the maven project
defaultIncludes - the default includes to use
defaultExcludes - the default excludes to use
currentProjectOverlay - the overlay for the current project
Throws:
InvalidOverlayConfigurationException - if the config is invalid
Method Detail

getOverlays

public List getOverlays()
Returns the resolved overlays.

Returns:
the overlays

getOverlayIds

public List getOverlayIds()
Returns the id of the resolved overlays.

Returns:
the overlay ids


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.