Package aQute.bnd.build
Class Workspace.CachedFileRepo
- java.lang.Object
-
- aQute.lib.deployer.FileRepo
-
- aQute.bnd.build.Workspace.CachedFileRepo
-
- All Implemented Interfaces:
Actionable
,Plugin
,Refreshable
,RegistryPlugin
,RepositoryPlugin
,java.io.Closeable
,java.lang.AutoCloseable
- Enclosing class:
- Workspace
class Workspace.CachedFileRepo extends FileRepo
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface aQute.bnd.service.RepositoryPlugin
RepositoryPlugin.DownloadListener, RepositoryPlugin.PutOptions, RepositoryPlugin.PutResult
-
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
inited
(package private) java.util.concurrent.locks.Lock
lock
-
Fields inherited from class aQute.lib.deployer.FileRepo
CMD_ABORT_PUT, CMD_AFTER_ACTION, CMD_AFTER_PUT, CMD_BEFORE_GET, CMD_BEFORE_PUT, CMD_CLOSE, CMD_INIT, CMD_OPEN, CMD_PATH, CMD_REFRESH, CMD_SHELL, INDEX, LATEST_OPTION, LATEST_VERSION, LOCATION, MAX_MAJOR, NAME, READONLY, root, TRACE
-
-
Constructor Summary
Constructors Constructor Description CachedFileRepo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
init()
Initialize the repository Subclasses should first call this method and then if it returns true, do their own initializationprivate void
unzip(java.io.InputStream in, java.nio.file.Path dir)
-
Methods inherited from class aQute.lib.deployer.FileRepo
abortPut, actions, afterAction, afterPut, beforeGet, beforePut, canWrite, close, delete, fireBundleAdded, get, getDescriptor, getLocal, getLocation, getName, getResource, getResources, getRoot, list, open, put, putArtifact, putArtifact, refresh, setDir, setIndex, setLocation, setProperties, setRegistry, setReporter, status, title, tooltip, toString, versions
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface aQute.bnd.service.RepositoryPlugin
getIcon, getStatus, isOk, isRemote
-
-
-
-
Method Detail
-
init
protected boolean init() throws java.lang.Exception
Description copied from class:FileRepo
Initialize the repository Subclasses should first call this method and then if it returns true, do their own initialization
-
unzip
private void unzip(java.io.InputStream in, java.nio.file.Path dir) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-