aQute.lib.deployer.obr
Class LocalOBR
java.lang.Object
aQute.lib.deployer.obr.AbstractBaseOBR
aQute.lib.deployer.obr.OBR
aQute.lib.deployer.obr.LocalOBR
- All Implemented Interfaces:
- OBRIndexProvider, Plugin, Refreshable, RegistryPlugin, RemoteRepositoryPlugin, RepositoryPlugin
public class LocalOBR
- extends OBR
- implements Refreshable
Methods inherited from class aQute.lib.deployer.obr.AbstractBaseOBR |
addResourceToIndex, get, get, getHandle, getHandles, getSupportedModes, init, list, parseLocations, requestAll, reset, setRegistry, versions |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_LOCAL_DIR
public static final String PROP_LOCAL_DIR
- See Also:
- Constant Field Values
PROP_READONLY
public static final String PROP_READONLY
- See Also:
- Constant Field Values
LocalOBR
public LocalOBR()
setReporter
public void setReporter(Reporter reporter)
- Description copied from interface:
Plugin
- Set the current reporter. This is called at init time. This plugin
should report all errors and warnings to this reporter.
- Specified by:
setReporter
in interface Plugin
- Overrides:
setReporter
in class AbstractBaseOBR
setProperties
public void setProperties(Map<String,String> map)
- Description copied from interface:
Plugin
- Give the plugin the remaining properties.
When a plugin is declared, the clause can contain extra properties.
All the properties and directives are given to the plugin to use.
- Specified by:
setProperties
in interface Plugin
- Overrides:
setProperties
in class OBR
- Parameters:
map
- attributes and directives for this plugin's clause
initialiseIndexes
protected void initialiseIndexes()
throws Exception
- Description copied from class:
AbstractBaseOBR
- Initialize the indexes prior to main initialisation of internal
data structures. This implementation does nothing, but subclasses
may override if they need to perform such initialisation.
- Overrides:
initialiseIndexes
in class AbstractBaseOBR
- Throws:
Exception
getOBRIndexes
public List<URL> getOBRIndexes()
- Specified by:
getOBRIndexes
in interface OBRIndexProvider
- Overrides:
getOBRIndexes
in class OBR
canWrite
public boolean canWrite()
- Description copied from interface:
RepositoryPlugin
- Answer if this repository can be used to store files.
- Specified by:
canWrite
in interface RepositoryPlugin
- Overrides:
canWrite
in class AbstractBaseOBR
- Returns:
- true if writable
put
public File put(Jar jar)
throws Exception
- Description copied from interface:
RepositoryPlugin
- Put a JAR file in the repository.
- Specified by:
put
in interface RepositoryPlugin
- Overrides:
put
in class AbstractBaseOBR
- Throws:
Exception
refresh
public boolean refresh()
- Specified by:
refresh
in interface Refreshable
getRoot
public File getRoot()
- Specified by:
getRoot
in interface Refreshable
Copyright © 2012 aQute SARL. All Rights Reserved.