|
||||||||||
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(File basedir)
Creates a new local repository with the specified base directory and unknown type. |
|
LocalRepository(File basedir,
String type)
Creates a new local repository with the specified properties. |
|
LocalRepository(String basedir)
Creates a new local repository with the specified base directory and unknown type. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
File |
getBasedir()
Gets the base directory of the repository. |
String |
getContentType()
Gets the type of the repository, for example "default". |
String |
getId()
Gets the identifier of this repository. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LocalRepository(String basedir)
basedir
- The base directory of the repository, may be null
.public LocalRepository(File basedir)
basedir
- The base directory of the repository, may be null
.public LocalRepository(File basedir, String type)
basedir
- The base directory of the repository, may be null
.type
- The type of the repository, may be null
.Method Detail |
---|
public String getContentType()
ArtifactRepository
getContentType
in interface ArtifactRepository
null
.public String getId()
ArtifactRepository
getId
in interface ArtifactRepository
null
.public File getBasedir()
null
if none.public String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |