org.overlord.sramp.client.jar
Class DefaultArtifactFilter
java.lang.Object
org.overlord.sramp.client.jar.DefaultArtifactFilter
- All Implemented Interfaces:
- ArtifactFilter
public class DefaultArtifactFilter
- extends Object
- implements ArtifactFilter
A default implementation of an ArtifactFilter that includes only those files
that are likely to be understood by the S-RAMP server (XML, Schema, WSDL, etc). This
class can serve as either a reasonable default or as a good starting point for a more
nuanced implementation.
- Author:
- eric.wittmann@redhat.com
|
Method Summary |
boolean |
accepts(CandidateArtifact artifact)
Called to determine if a given artifact from the source archive should be included
in the target S-RAMP archive. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultArtifactFilter
public DefaultArtifactFilter()
- Constructor.
accepts
public boolean accepts(CandidateArtifact artifact)
- Description copied from interface:
ArtifactFilter
- Called to determine if a given artifact from the source archive should be included
in the target S-RAMP archive.
- Specified by:
accepts in interface ArtifactFilter
- See Also:
client.jar.ArtifactFilter
Copyright © 2011-2013 JBoss, a division of Red Hat. All Rights Reserved.