org.apache.maven.archetype.common
Interface ArchetypeArtifactManager
- All Known Implementing Classes:
- DefaultArchetypeArtifactManager
public interface ArchetypeArtifactManager
Method Summary |
boolean |
exists(String groupId,
String artifactId,
String version,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List repositories)
|
File |
getArchetypeFile(String groupId,
String artifactId,
String version,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List repositories)
|
ClassLoader |
getArchetypeJarLoader(File archetypeFile)
|
ClassLoader |
getArchetypeJarLoader(String groupId,
String artifactId,
String version,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List repositories)
|
List |
getArchetypes(String groupId,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List repositories)
|
ZipFile |
getArchetypeZipFile(File archetypeFile)
|
ZipFile |
getArchetypeZipFile(String groupId,
String artifactId,
String version,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List repositories)
|
org.apache.maven.archetype.metadata.ArchetypeDescriptor |
getFileSetArchetypeDescriptor(File archetypeFile)
|
org.apache.maven.archetype.metadata.ArchetypeDescriptor |
getFileSetArchetypeDescriptor(String groupId,
String artifactId,
String version,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List repositories)
|
List |
getFilesetArchetypeResources(File archetypeFile)
|
List |
getFilesetArchetypeResources(String groupId,
String artifactId,
String version,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List repositories)
|
org.apache.maven.archetype.descriptor.ArchetypeDescriptor |
getOldArchetypeDescriptor(String groupId,
String artifactId,
String version,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List repositories)
|
String |
getReleaseVersion(String groupId,
String artifactId,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List repositories)
|
List |
getVersions(String groupId,
String artifactId,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List repositories)
|
boolean |
isFileSetArchetype(String groupId,
String artifactId,
String version,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List repositories)
|
boolean |
isOldArchetype(String groupId,
String artifactId,
String version,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List repositories)
|
ROLE
static final String ROLE
getArchetypeFile
File getArchetypeFile(String groupId,
String artifactId,
String version,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List repositories)
throws UnknownArchetype
- Throws:
UnknownArchetype
getArchetypeJarLoader
ClassLoader getArchetypeJarLoader(File archetypeFile)
throws UnknownArchetype
- Throws:
UnknownArchetype
getArchetypeJarLoader
ClassLoader getArchetypeJarLoader(String groupId,
String artifactId,
String version,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List repositories)
throws UnknownArchetype
- Throws:
UnknownArchetype
getArchetypes
List getArchetypes(String groupId,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List repositories)
throws UnknownGroup
- Throws:
UnknownGroup
getArchetypeZipFile
ZipFile getArchetypeZipFile(File archetypeFile)
throws UnknownArchetype
- Throws:
UnknownArchetype
getArchetypeZipFile
ZipFile getArchetypeZipFile(String groupId,
String artifactId,
String version,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List repositories)
throws UnknownArchetype
- Throws:
UnknownArchetype
exists
boolean exists(String groupId,
String artifactId,
String version,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List repositories)
isFileSetArchetype
boolean isFileSetArchetype(String groupId,
String artifactId,
String version,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List repositories)
getFileSetArchetypeDescriptor
org.apache.maven.archetype.metadata.ArchetypeDescriptor getFileSetArchetypeDescriptor(File archetypeFile)
throws UnknownArchetype
- Throws:
UnknownArchetype
getFileSetArchetypeDescriptor
org.apache.maven.archetype.metadata.ArchetypeDescriptor getFileSetArchetypeDescriptor(String groupId,
String artifactId,
String version,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List repositories)
throws UnknownArchetype
- Throws:
UnknownArchetype
getFilesetArchetypeResources
List getFilesetArchetypeResources(File archetypeFile)
throws UnknownArchetype
- Throws:
UnknownArchetype
getFilesetArchetypeResources
List getFilesetArchetypeResources(String groupId,
String artifactId,
String version,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List repositories)
throws UnknownArchetype
- Throws:
UnknownArchetype
isOldArchetype
boolean isOldArchetype(String groupId,
String artifactId,
String version,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List repositories)
getOldArchetypeDescriptor
org.apache.maven.archetype.descriptor.ArchetypeDescriptor getOldArchetypeDescriptor(String groupId,
String artifactId,
String version,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List repositories)
throws UnknownArchetype
- Throws:
UnknownArchetype
getReleaseVersion
String getReleaseVersion(String groupId,
String artifactId,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List repositories)
throws UnknownArchetype
- Throws:
UnknownArchetype
getVersions
List getVersions(String groupId,
String artifactId,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List repositories)
throws UnknownArchetype
- Throws:
UnknownArchetype
Copyright © 2007-2009 Apache Software Foundation. All Rights Reserved.