public class Archive extends Object implements AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
static boolean |
adjustChangesOpt(net.oneandone.sushi.fs.file.FileNode workingCopy,
String version) |
void |
close() |
static List<net.oneandone.sushi.fs.file.FileNode> |
directories(List<net.oneandone.sushi.fs.file.FileNode> storages,
org.apache.maven.project.MavenProject project) |
long |
latest() |
TreeMap<Long,net.oneandone.sushi.fs.file.FileNode> |
list() |
static Archive |
open(List<net.oneandone.sushi.fs.file.FileNode> directories,
int timeout,
org.apache.maven.plugin.logging.Log log) |
static int |
pid() |
Target |
target(long revision) |
static Archive |
tryOpen(List<net.oneandone.sushi.fs.file.FileNode> directories) |
void |
wipe(int keep) |
public static List<net.oneandone.sushi.fs.file.FileNode> directories(List<net.oneandone.sushi.fs.file.FileNode> storages, org.apache.maven.project.MavenProject project)
public static Archive open(List<net.oneandone.sushi.fs.file.FileNode> directories, int timeout, org.apache.maven.plugin.logging.Log log) throws IOException
IOExceptionpublic Target target(long revision)
public TreeMap<Long,net.oneandone.sushi.fs.file.FileNode> list() throws net.oneandone.sushi.fs.ListException, net.oneandone.sushi.fs.DirectoryNotFoundException
net.oneandone.sushi.fs.ListExceptionnet.oneandone.sushi.fs.DirectoryNotFoundExceptionpublic long latest()
throws net.oneandone.sushi.fs.ListException,
net.oneandone.sushi.fs.DirectoryNotFoundException
net.oneandone.sushi.fs.ListExceptionnet.oneandone.sushi.fs.DirectoryNotFoundExceptionpublic void close()
throws Exception
close in interface AutoCloseableExceptionpublic static int pid()
public static boolean adjustChangesOpt(net.oneandone.sushi.fs.file.FileNode workingCopy,
String version)
throws net.oneandone.sushi.xml.XmlException,
IOException,
SAXException
net.oneandone.sushi.xml.XmlExceptionIOExceptionSAXExceptionpublic void wipe(int keep)
throws IOException
keep - number of prereleases after this methodIOExceptionCopyright © 2012-2014 1&1. All Rights Reserved.