|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ArtifactResolver
Method Summary | |
---|---|
Artifact |
generateArtifact(Artifact source,
String defaultType)
Used to generate a fully-populated Artifact from a partially-populated Artifact when you're about to deploy/save a new artifact. |
Artifact |
queryArtifact(Artifact artifact)
Used to search for existing artifacts in the server that match the supplied artifact (which may be partially-populated). |
Artifact[] |
queryArtifacts(Artifact artifact)
Used to search for existing artifacts in the server that match the supplied artifact (which may be partially-populated). |
Artifact |
resolveInClassLoader(Artifact source)
Used to search for existing artifacts that match the supplied artifact (which may be partially-populated). |
Artifact |
resolveInClassLoader(Artifact source,
Collection parentConfigurations)
Used to search for existing artifacts that match the supplied artifact (which may be partially-populated). |
LinkedHashSet |
resolveInClassLoader(Collection artifacts)
Used to search for existing artifacts that match the supplied artifact (which may be partially-populated). |
LinkedHashSet |
resolveInClassLoader(Collection artifacts,
Collection parentConfigurations)
Used to search for existing artifacts that match the supplied artifact (which may be partially-populated). |
Method Detail |
---|
Artifact generateArtifact(Artifact source, String defaultType)
source
- The artifact to complete (normally partially-populated)defaultType
- The type to use for the resulting artifact if the source
artifact doesn't have a type set
Artifact resolveInClassLoader(Artifact source) throws MissingDependencyException
MissingDependencyException
Artifact resolveInClassLoader(Artifact source, Collection parentConfigurations) throws MissingDependencyException
parentConfigurations
- A Collection with entries of type Configuration
MissingDependencyException
LinkedHashSet resolveInClassLoader(Collection artifacts) throws MissingDependencyException
MissingDependencyException
LinkedHashSet resolveInClassLoader(Collection artifacts, Collection parentConfigurations) throws MissingDependencyException
parentConfigurations
- A Collection with entries of type Configuration
MissingDependencyException
Artifact queryArtifact(Artifact artifact) throws MultipleMatchesException
MultipleMatchesException
Artifact[] queryArtifacts(Artifact artifact)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |