|
||||||||||
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<Configuration> parentConfigurations)
Used to search for existing artifacts that match the supplied artifact (which may be partially-populated). |
LinkedHashSet<Artifact> |
resolveInClassLoader(Collection<Artifact> sources)
Used to search for existing artifacts that match the supplied artifact (which may be partially-populated). |
LinkedHashSet<Artifact> |
resolveInClassLoader(Collection<Artifact> sources,
Collection<Configuration> 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-resolved)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
source
- incompletely resolved Artifact
MissingDependencyException
- if no matching Artifact can be found.Artifact resolveInClassLoader(Artifact source, Collection<Configuration> parentConfigurations) throws MissingDependencyException
source
- incompletely resolved ArtifactparentConfigurations
- A Collection with entries of type Configuration
MissingDependencyException
- if no matching Artifact can be found.LinkedHashSet<Artifact> resolveInClassLoader(Collection<Artifact> sources) throws MissingDependencyException
sources
- incompletely resolved Artifact
MissingDependencyException
- if no matching Artifact can be found.LinkedHashSet<Artifact> resolveInClassLoader(Collection<Artifact> sources, Collection<Configuration> parentConfigurations) throws MissingDependencyException
sources
- incompletely resolved Artifacts to matchparentConfigurations
- Configurations to search in
MissingDependencyException
- if no matching Artifact can be found.Artifact queryArtifact(Artifact artifact) throws MultipleMatchesException
artifact
- incompletely resolved artifact to match
MultipleMatchesException
- if there is more than one matchArtifact[] queryArtifacts(Artifact artifact)
artifact
- the Artifact to match.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |