Package com.ibm.wsspi.artifact
Class DefaultArtifactNotification
- java.lang.Object
- 
- com.ibm.wsspi.artifact.DefaultArtifactNotification
 
- 
- All Implemented Interfaces:
- ArtifactNotifier.ArtifactNotification
 
 public class DefaultArtifactNotification extends java.lang.Object implements ArtifactNotifier.ArtifactNotification Default implementation of theArtifactNotifier.ArtifactNotificationinterface
- 
- 
Constructor SummaryConstructors Constructor Description DefaultArtifactNotification(ArtifactContainer root, java.util.Collection<java.lang.String> paths)Constructs an ArtifactNotification.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ArtifactContainergetContainer()java.util.Collection<java.lang.String>getPaths()
 
- 
- 
- 
Constructor Detail- 
DefaultArtifactNotificationpublic DefaultArtifactNotification(ArtifactContainer root, java.util.Collection<java.lang.String> paths) Constructs an ArtifactNotification.Paths must be absolute, and the container passed must be from the notifier the notification is used for. Paths may be prefixed with '!' to mean 'non recursive' eg. 
 - /WEB-INF (the /WEB-INF directory, and all files/dirs beneath it recursively.)
- / (all files/dirs in the entire container)
- !/META-INF (the /META-INF directory and its immediate children)
- !/ (the container itself, and entries directly on its root.)
 - Parameters:
- root- the container to check the paths against. Must not be null.
- paths- the collection of paths to check. Must not be null.
- Throws:
- java.lang.IllegalArgumentException- if either argument is null.
 
 
- 
 - 
Method Detail- 
getContainerpublic ArtifactContainer getContainer() - Specified by:
- getContainerin interface- ArtifactNotifier.ArtifactNotification
- Returns:
- the associated container
 
 - 
getPathspublic java.util.Collection<java.lang.String> getPaths() - Specified by:
- getPathsin interface- ArtifactNotifier.ArtifactNotification
- Returns:
- the paths
 
 
- 
 
-