org.hudsonci.plugins.vault
Class Vault
java.lang.Object
org.hudsonci.plugins.vault.Vault
- All Implemented Interfaces:
- Serializable
public class Vault
- extends Object
- implements Serializable
Hudson Vault.
- Author:
- Jason Dillon
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Vault
public Vault(VaultPlugin plugin)
save
public void save()
throws IOException
- Throws:
IOException
get
public static Vault get()
getStoreDir
public File getStoreDir()
setStoreDir
public void setStoreDir(File dir)
getRootDir
public File getRootDir()
setRootDir
public void setRootDir(File dir)
getCacheDir
public File getCacheDir()
setCacheDir
public void setCacheDir(File dir)
getUploadsDir
public File getUploadsDir()
setUploadDir
public void setUploadDir(File dir)
getBundles
public Collection<Bundle> getBundles()
getBundle
public Bundle getBundle(String name)
findBundles
public Collection<Bundle> findBundles(String type)
addBundle
public Bundle addBundle(Bundle bundle)
throws Exception
- Throws:
Exception
removeBundle
public void removeBundle(String name)
throws Exception
- Throws:
Exception
renameBundle
public void renameBundle(String source,
String target)
throws Exception
- Throws:
Exception
resolvePath
public File resolvePath(String path)
buildPackageCache
public File buildPackageCache(Bundle bundle,
Package pkg)
throws IOException
- Throws:
IOException
removePackageCache
public void removePackageCache(Bundle bundle,
Package pkg)
Copyright © 2004-2012 Hudson. All Rights Reserved.