|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sonatype.aether.repository.LocalRepository
public final class LocalRepository
A repository on the local file system used to cache contents of remote repositories and to store locally built artifacts.
Constructor Summary | |
---|---|
LocalRepository(java.io.File basedir)
Creates a new local repository with the specified base directory and unknown type. |
|
LocalRepository(java.io.File basedir,
java.lang.String type)
Creates a new local repository with the specified properties. |
|
LocalRepository(java.lang.String basedir)
Creates a new local repository with the specified base directory and unknown type. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.io.File |
getBasedir()
Gets the base directory of the repository. |
java.lang.String |
getContentType()
Gets the type of the repository, for example "default". |
java.lang.String |
getId()
Gets the identifier of this repository. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LocalRepository(java.lang.String basedir)
basedir
- The base directory of the repository, may be null
.public LocalRepository(java.io.File basedir)
basedir
- The base directory of the repository, may be null
.public LocalRepository(java.io.File basedir, java.lang.String type)
basedir
- The base directory of the repository, may be null
.type
- The type of the repository, may be null
.Method Detail |
---|
public java.lang.String getContentType()
ArtifactRepository
getContentType
in interface ArtifactRepository
null
.public java.lang.String getId()
ArtifactRepository
getId
in interface ArtifactRepository
null
.public java.io.File getBasedir()
null
if none.public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |