public final class LocalRepository extends Object implements ArtifactRepository
LocalRepositoryManager which is usually determined from the type of
the repository.| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
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 String getContentType()
ArtifactRepositorygetContentType in interface ArtifactRepositorynull.public String getId()
ArtifactRepositorygetId in interface ArtifactRepositorynull.public File getBasedir()
null if none.Copyright © 2010-2015 The Eclipse Foundation. All Rights Reserved.