Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractEntry - Class in org.codehaus.mojo.mrm.api
-
Abstract implementation of
Entry
. - AbstractEntry(FileSystem, DirectoryEntry, String) - Constructor for class org.codehaus.mojo.mrm.api.AbstractEntry
-
Creates an entry in the specified file system with the specified parent and name.
- ArchetypeCatalogNotFoundException - Exception Class in org.codehaus.mojo.mrm.api.maven
-
An exception that indicates that an artifact could not be found.
- ArchetypeCatalogNotFoundException() - Constructor for exception class org.codehaus.mojo.mrm.api.maven.ArchetypeCatalogNotFoundException
-
Creates a new
ArchetypeCatalogNotFoundException
. - ArchetypeCatalogNotFoundException(String) - Constructor for exception class org.codehaus.mojo.mrm.api.maven.ArchetypeCatalogNotFoundException
-
Creates a new
ArchetypeCatalogNotFoundException
. - ArchetypeCatalogNotFoundException(String, Throwable) - Constructor for exception class org.codehaus.mojo.mrm.api.maven.ArchetypeCatalogNotFoundException
-
Creates a new
ArchetypeCatalogNotFoundException
. - Artifact - Class in org.codehaus.mojo.mrm.api.maven
-
Represents a specific artifact in a Maven repository.
- Artifact(String, String, String, String) - Constructor for class org.codehaus.mojo.mrm.api.maven.Artifact
-
An artifact.
- Artifact(String, String, String, String, long, int) - Constructor for class org.codehaus.mojo.mrm.api.maven.Artifact
-
A timestamped snapshot artifact.
- Artifact(String, String, String, String, String) - Constructor for class org.codehaus.mojo.mrm.api.maven.Artifact
-
A classified snapshot artifact.
- Artifact(String, String, String, String, String, long, int) - Constructor for class org.codehaus.mojo.mrm.api.maven.Artifact
-
A timestamped classified snapshot artifact.
- ArtifactNotFoundException - Exception Class in org.codehaus.mojo.mrm.api.maven
-
An exception that indicates that an artifact could not be found.
- ArtifactNotFoundException(String, Artifact) - Constructor for exception class org.codehaus.mojo.mrm.api.maven.ArtifactNotFoundException
-
Creates a new
ArtifactNotFoundException
. - ArtifactNotFoundException(String, Artifact, Throwable) - Constructor for exception class org.codehaus.mojo.mrm.api.maven.ArtifactNotFoundException
-
Creates a new
ArtifactNotFoundException
. - ArtifactNotFoundException(Artifact) - Constructor for exception class org.codehaus.mojo.mrm.api.maven.ArtifactNotFoundException
-
Creates a new
ArtifactNotFoundException
. - ArtifactNotFoundException(Artifact, Throwable) - Constructor for exception class org.codehaus.mojo.mrm.api.maven.ArtifactNotFoundException
-
Creates a new
ArtifactNotFoundException
. - ArtifactStore - Interface in org.codehaus.mojo.mrm.api.maven
-
An artifact store holds Maven
Artifact
s and can provideMetadata
about the artifacts that it holds. - ArtifactStoreFactory - Interface in org.codehaus.mojo.mrm.plugin
-
Something that produces
ArtifactStore
instances.
B
- BaseArtifactStore - Class in org.codehaus.mojo.mrm.api.maven
-
Base implementation of
ArtifactStore
. - BaseArtifactStore() - Constructor for class org.codehaus.mojo.mrm.api.maven.BaseArtifactStore
- BaseFileEntry - Class in org.codehaus.mojo.mrm.api
-
Base implementation of
FileEntry
that all implementations should extend from. - BaseFileEntry(FileSystem, DirectoryEntry, String) - Constructor for class org.codehaus.mojo.mrm.api.BaseFileEntry
-
Creates an entry in the specified file system with the specified parent and name.
- BaseFileSystem - Class in org.codehaus.mojo.mrm.api
-
Base implementation of
FileSystem
that all implementations should extend from. - BaseFileSystem() - Constructor for class org.codehaus.mojo.mrm.api.BaseFileSystem
C
- compareTo(Artifact) - Method in class org.codehaus.mojo.mrm.api.maven.Artifact
- createArtifact(MavenSession, Artifact) - Static method in class org.codehaus.mojo.mrm.api.ResolverUtils
-
Creates a new
Artifact
based on anArtifact
object.
D
- DefaultDirectoryEntry - Class in org.codehaus.mojo.mrm.api
-
Default implementation of
DirectoryEntry
. - DefaultDirectoryEntry(FileSystem, DirectoryEntry, String) - Constructor for class org.codehaus.mojo.mrm.api.DefaultDirectoryEntry
-
Creates an entry in the specified file system with the specified parent and name.
- DirectoryEntry - Interface in org.codehaus.mojo.mrm.api
-
Marker interface for a directory entry.
E
- Entry - Interface in org.codehaus.mojo.mrm.api
-
An entry in the repository.
- equals(Object) - Method in class org.codehaus.mojo.mrm.api.AbstractEntry
- equals(Object) - Method in class org.codehaus.mojo.mrm.api.maven.Artifact
- equalSnapshots(Artifact) - Method in class org.codehaus.mojo.mrm.api.maven.Artifact
-
More lax version of
Artifact.equals(Object)
that matches SNAPSHOTs with their corresponding timestamped versions. - equivalent(FileSystem, DirectoryEntry) - Static method in class org.codehaus.mojo.mrm.api.DefaultDirectoryEntry
-
Creates a
DefaultDirectoryEntry
that is equivalent to the suppliedDirectoryEntry
only in the specified targetFileSystem
.
F
- FactoryHelper - Interface in org.codehaus.mojo.mrm.plugin
-
Helper interface that exposes the Maven components that may be required.
- FileEntry - Interface in org.codehaus.mojo.mrm.api
-
An
Entry
that corresponds to a file. - FileSystem - Interface in org.codehaus.mojo.mrm.api
-
A repository is just a type of file system.
- FileSystemFactory - Interface in org.codehaus.mojo.mrm.plugin
-
Something that produces new
FileSystem
instances.
G
- get(String) - Method in class org.codehaus.mojo.mrm.api.BaseFileSystem
- get(String) - Method in interface org.codehaus.mojo.mrm.api.FileSystem
-
Returns the entry at the specified path.
- get(DirectoryEntry, String) - Method in class org.codehaus.mojo.mrm.api.BaseFileSystem
-
Gets the named entry in the specified directory.
- get(Artifact) - Method in interface org.codehaus.mojo.mrm.api.maven.ArtifactStore
-
Retrieves the the artifact as an
InputStream
. - getArchetypeCatalog() - Method in interface org.codehaus.mojo.mrm.api.maven.ArtifactStore
- getArchetypeCatalog() - Method in class org.codehaus.mojo.mrm.api.maven.BaseArtifactStore
- getArchetypeCatalogLastModified() - Method in interface org.codehaus.mojo.mrm.api.maven.ArtifactStore
- getArchetypeCatalogLastModified() - Method in class org.codehaus.mojo.mrm.api.maven.BaseArtifactStore
- getArchetypeManager() - Method in interface org.codehaus.mojo.mrm.plugin.FactoryHelper
- getArtifact() - Method in exception class org.codehaus.mojo.mrm.api.maven.ArtifactNotFoundException
-
Gets the artifact that does not exist.
- getArtifactId() - Method in class org.codehaus.mojo.mrm.api.maven.Artifact
-
Returns the artifactId of the artifact.
- getArtifactIds(String) - Method in interface org.codehaus.mojo.mrm.api.maven.ArtifactStore
-
Returns the set of artifactIds that belong in the specified groupId.
- getArtifacts(String, String, String) - Method in interface org.codehaus.mojo.mrm.api.maven.ArtifactStore
-
Returns the set of artifacts at the specified groupId:artifactId:version.
- getBaseVersionName() - Method in class org.codehaus.mojo.mrm.api.maven.Artifact
-
Returns the name of the artifact.
- getBuildNumber() - Method in class org.codehaus.mojo.mrm.api.maven.Artifact
-
Returns the build number of the artifact (may be
null
). - getClassifier() - Method in class org.codehaus.mojo.mrm.api.maven.Artifact
-
Returns the classifier of the artifact (may be
null
). - getFileSystem() - Method in class org.codehaus.mojo.mrm.api.AbstractEntry
- getFileSystem() - Method in interface org.codehaus.mojo.mrm.api.Entry
-
Returns the repository that this entry belongs to.
- getGroupId() - Method in class org.codehaus.mojo.mrm.api.maven.Artifact
-
Returns the groupId of the artifact.
- getGroupIds(String) - Method in interface org.codehaus.mojo.mrm.api.maven.ArtifactStore
-
Returns the set of groupIds that begin with the specified prefix.
- getInputStream() - Method in interface org.codehaus.mojo.mrm.api.FileEntry
-
Returns the contents of the entry.
- getLastModified() - Method in class org.codehaus.mojo.mrm.api.DefaultDirectoryEntry
- getLastModified() - Method in interface org.codehaus.mojo.mrm.api.Entry
-
Returns the time that this entry was last modified.
- getLastModified(DirectoryEntry) - Method in interface org.codehaus.mojo.mrm.api.FileSystem
-
Returns the time that the specified directory entry was last modified.
- getLastModified(Artifact) - Method in interface org.codehaus.mojo.mrm.api.maven.ArtifactStore
-
Returns the time that the specified artifact was last modified.
- getMetadata(String) - Method in interface org.codehaus.mojo.mrm.api.maven.ArtifactStore
-
Returns the specified metadata.
- getMetadataLastModified(String) - Method in interface org.codehaus.mojo.mrm.api.maven.ArtifactStore
-
Returns the time that the specified metadata was last modified.
- getName() - Method in class org.codehaus.mojo.mrm.api.AbstractEntry
- getName() - Method in interface org.codehaus.mojo.mrm.api.Entry
-
Returns the name of this entry.
- getName() - Method in class org.codehaus.mojo.mrm.api.maven.Artifact
-
Returns the name of the artifact.
- getParent() - Method in class org.codehaus.mojo.mrm.api.AbstractEntry
- getParent() - Method in interface org.codehaus.mojo.mrm.api.Entry
-
Returns the parent of this entry (or
null
if there is no parent, that is the root entry). - getPath() - Method in exception class org.codehaus.mojo.mrm.api.maven.MetadataNotFoundException
-
Gets the path of the metadata that does not exist.
- getRepositorySystem() - Method in interface org.codehaus.mojo.mrm.plugin.FactoryHelper
- getRoot() - Method in class org.codehaus.mojo.mrm.api.BaseFileSystem
- getRoot() - Method in interface org.codehaus.mojo.mrm.api.FileSystem
-
Returns the root directory entry.
- getSize() - Method in interface org.codehaus.mojo.mrm.api.FileEntry
-
Returns the size in bytes of the entry.
- getSize(Artifact) - Method in interface org.codehaus.mojo.mrm.api.maven.ArtifactStore
-
Returns the size in bytes of the specified artifact.
- getTimestamp() - Method in class org.codehaus.mojo.mrm.api.maven.Artifact
-
Returns the timestamp of the artifact (may be
null
). - getTimestampString() - Method in class org.codehaus.mojo.mrm.api.maven.Artifact
-
Returns the timestamp (formatted as a
yyyyMMdd.HHmmss
string) of the artifact (may benull
). - getTimestampVersion() - Method in class org.codehaus.mojo.mrm.api.maven.Artifact
-
Returns the timestamp version.
- getType() - Method in class org.codehaus.mojo.mrm.api.maven.Artifact
-
Returns the type of the artifact.
- getVersion() - Method in class org.codehaus.mojo.mrm.api.maven.Artifact
-
Returns the version of the artifact.
- getVersions(String, String) - Method in interface org.codehaus.mojo.mrm.api.maven.ArtifactStore
-
Returns the set of versions of the specified groupId:artifactId.
H
- hashCode() - Method in class org.codehaus.mojo.mrm.api.AbstractEntry
- hashCode() - Method in class org.codehaus.mojo.mrm.api.maven.Artifact
I
- isSnapshot() - Method in class org.codehaus.mojo.mrm.api.maven.Artifact
-
Returns
true
if and only if the artifact is a SNAPSHOT artifact.
L
- listEntries(DirectoryEntry) - Method in interface org.codehaus.mojo.mrm.api.FileSystem
-
Lists the entries in the specified directory.
M
- MetadataNotFoundException - Exception Class in org.codehaus.mojo.mrm.api.maven
-
An exception that indicates that an artifact could not be found.
- MetadataNotFoundException(String) - Constructor for exception class org.codehaus.mojo.mrm.api.maven.MetadataNotFoundException
-
Creates a new
MetadataNotFoundException
. - MetadataNotFoundException(String, String) - Constructor for exception class org.codehaus.mojo.mrm.api.maven.MetadataNotFoundException
-
Creates a new
MetadataNotFoundException
. - MetadataNotFoundException(String, String, Throwable) - Constructor for exception class org.codehaus.mojo.mrm.api.maven.MetadataNotFoundException
-
Creates a new
MetadataNotFoundException
. - MetadataNotFoundException(String, Throwable) - Constructor for exception class org.codehaus.mojo.mrm.api.maven.MetadataNotFoundException
-
Creates a new
MetadataNotFoundException
.
N
- newInstance() - Method in interface org.codehaus.mojo.mrm.plugin.FileSystemFactory
-
Creates a new
FileSystem
instance, note that implementations are free to create a singleton and always return that instance. - newInstance(MavenSession, Log) - Method in interface org.codehaus.mojo.mrm.plugin.ArtifactStoreFactory
-
Creates a new
ArtifactStore
instance, note that implementations are free to create a singleton and always return that instance.
O
- org.codehaus.mojo.mrm.api - package org.codehaus.mojo.mrm.api
- org.codehaus.mojo.mrm.api.maven - package org.codehaus.mojo.mrm.api.maven
- org.codehaus.mojo.mrm.plugin - package org.codehaus.mojo.mrm.plugin
P
- put(DirectoryEntry, String, InputStream) - Method in interface org.codehaus.mojo.mrm.api.FileSystem
-
Puts the specified content into a the specified directory.
R
- ResolverUtils - Class in org.codehaus.mojo.mrm.api
-
Miscellaneous utilities for manipulating Resolver entities
S
- set(Artifact, InputStream) - Method in interface org.codehaus.mojo.mrm.api.maven.ArtifactStore
-
Create/update the specified artifact.
- set(Artifact, InputStream) - Method in class org.codehaus.mojo.mrm.api.maven.BaseArtifactStore
- setArchetypeCatalog(InputStream) - Method in interface org.codehaus.mojo.mrm.api.maven.ArtifactStore
- setArchetypeCatalog(InputStream) - Method in class org.codehaus.mojo.mrm.api.maven.BaseArtifactStore
- setFactoryHelper(FactoryHelper) - Method in interface org.codehaus.mojo.mrm.plugin.ArtifactStoreFactory
-
Sets the
FactoryHelper
instance where the object is not injected by dependency injection - setMetadata(String, Metadata) - Method in interface org.codehaus.mojo.mrm.api.maven.ArtifactStore
-
Create/update the specified metadata.
- setMetadata(String, Metadata) - Method in class org.codehaus.mojo.mrm.api.maven.BaseArtifactStore
T
- toPath() - Method in class org.codehaus.mojo.mrm.api.AbstractEntry
- toPath() - Method in interface org.codehaus.mojo.mrm.api.Entry
-
Returns the path of this entry relative to the root of the filesystem.
- toString() - Method in class org.codehaus.mojo.mrm.api.AbstractEntry
- toString() - Method in class org.codehaus.mojo.mrm.api.maven.Artifact
All Classes and Interfaces|All Packages|Serialized Form