public class Archive extends Object implements AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
net.oneandone.sushi.fs.file.FileNode |
directory |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
adjustChangesOpt(net.oneandone.sushi.fs.file.FileNode workingCopy,
String version) |
void |
close() |
static net.oneandone.sushi.fs.file.FileNode |
directory(net.oneandone.sushi.fs.file.FileNode archiveRoot,
org.apache.maven.project.MavenProject project) |
static long |
latest(net.oneandone.sushi.fs.file.FileNode directory) |
static Archive |
open(net.oneandone.sushi.fs.file.FileNode directory,
int timeout,
org.apache.maven.plugin.logging.Log log) |
static int |
pid() |
Target |
target(long revision) |
public static net.oneandone.sushi.fs.file.FileNode directory(net.oneandone.sushi.fs.file.FileNode archiveRoot,
org.apache.maven.project.MavenProject project)
public static Archive open(net.oneandone.sushi.fs.file.FileNode directory, int timeout, org.apache.maven.plugin.logging.Log log) throws IOException
IOExceptionpublic static long latest(net.oneandone.sushi.fs.file.FileNode directory)
throws net.oneandone.sushi.fs.ListException,
net.oneandone.sushi.fs.DirectoryNotFoundException
net.oneandone.sushi.fs.ListExceptionnet.oneandone.sushi.fs.DirectoryNotFoundExceptionpublic Target target(long revision)
public 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.XmlExceptionIOExceptionSAXExceptionCopyright © 2012-2013 1&1. All Rights Reserved.