public class DefaultArtifactNotification extends java.lang.Object implements ArtifactNotifier.ArtifactNotification
ArtifactNotifier.ArtifactNotification
interfaceConstructor and Description |
---|
DefaultArtifactNotification(ArtifactContainer root,
java.util.Collection<java.lang.String> paths)
Constructs an ArtifactNotification.
|
Modifier and Type | Method and Description |
---|---|
ArtifactContainer |
getContainer() |
java.util.Collection<java.lang.String> |
getPaths() |
public DefaultArtifactNotification(ArtifactContainer root, java.util.Collection<java.lang.String> paths)
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.
root
- the container to check the paths against. Must not be null.paths
- the collection of paths to check. Must not be null.java.lang.IllegalArgumentException
- if either argument is null.public ArtifactContainer getContainer()
getContainer
in interface ArtifactNotifier.ArtifactNotification
public java.util.Collection<java.lang.String> getPaths()
getPaths
in interface ArtifactNotifier.ArtifactNotification