public class LocalOBR extends OBR implements Refreshable
RepositoryPlugin.Strategy| Modifier and Type | Field and Description |
|---|---|
static String |
PROP_LOCAL_DIR |
static String |
PROP_READONLY |
cacheDir, locations, PROP_CACHE, PROP_LOCATION, PROP_LOCATIONSname, PROP_NAME, PROP_RESOLUTION_MODE, PROP_RESOLUTION_MODE_ANY, registry, reporter, REPOSITORY_FILE_NAME, supportedModes| Constructor and Description |
|---|
LocalOBR() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canWrite()
Answer if this repository can be used to store files.
|
List<URL> |
getOBRIndexes() |
File |
getRoot() |
protected void |
initialiseIndexes()
Initialize the indexes prior to main initialisation of internal
data structures.
|
File |
put(Jar jar)
Put a JAR file in the repository.
|
boolean |
refresh() |
void |
setProperties(Map<String,String> map)
Give the plugin the remaining properties.
|
void |
setReporter(Reporter reporter)
Set the current reporter.
|
getCacheDirectory, getName, setCacheDirectory, setLocationsaddResourceToIndex, get, get, getHandle, getHandles, getSupportedModes, init, list, parseLocations, requestAll, reset, setRegistry, versionspublic static final String PROP_LOCAL_DIR
public static final String PROP_READONLY
public void setReporter(Reporter reporter)
PluginsetReporter in interface PluginsetReporter in class AbstractBaseOBRpublic void setProperties(Map<String,String> map)
PluginsetProperties in interface PluginsetProperties in class OBRmap - attributes and directives for this plugin's clauseprotected void initialiseIndexes()
throws Exception
AbstractBaseOBRinitialiseIndexes in class AbstractBaseOBRExceptionpublic List<URL> getOBRIndexes()
getOBRIndexes in interface OBRIndexProvidergetOBRIndexes in class OBRpublic boolean canWrite()
RepositoryPlugincanWrite in interface RepositoryPlugincanWrite in class AbstractBaseOBRpublic File put(Jar jar) throws Exception
RepositoryPluginput in interface RepositoryPluginput in class AbstractBaseOBRExceptionpublic boolean refresh()
refresh in interface Refreshablepublic File getRoot()
getRoot in interface RefreshableCopyright © 2015 aQute SARL. All Rights Reserved.