public class WorkingCopy extends Object
| Modifier and Type | Field and Description |
|---|---|
SortedSet<Long> |
changes |
net.oneandone.sushi.fs.file.FileNode |
directory |
List<net.oneandone.sushi.fs.file.FileNode> |
modifications |
List<String> |
pendingUpdates |
SortedSet<Long> |
revisions |
| Constructor and Description |
|---|
WorkingCopy(net.oneandone.sushi.fs.file.FileNode directory,
List<net.oneandone.sushi.fs.file.FileNode> modifications,
SortedSet<Long> revisions,
SortedSet<Long> changes,
List<String> pendingUpdates) |
| Modifier and Type | Method and Description |
|---|---|
void |
check() |
Descriptor |
checkCompatibility(Descriptor descriptor) |
static WorkingCopy |
load(net.oneandone.sushi.fs.file.FileNode workingCopy)
TODO: memory consumption
|
long |
revision() |
void |
update(org.apache.maven.plugin.logging.Log log) |
public final net.oneandone.sushi.fs.file.FileNode directory
public final List<net.oneandone.sushi.fs.file.FileNode> modifications
public static WorkingCopy load(net.oneandone.sushi.fs.file.FileNode workingCopy) throws IOException, SAXException, net.oneandone.sushi.xml.XmlException
IOExceptionSAXExceptionnet.oneandone.sushi.xml.XmlExceptionpublic long revision()
public void check()
throws UncommitedChanges,
PendingUpdates
UncommitedChangesPendingUpdatespublic Descriptor checkCompatibility(Descriptor descriptor) throws Exception
Exceptionpublic void update(org.apache.maven.plugin.logging.Log log)
throws net.oneandone.sushi.launcher.Failure
net.oneandone.sushi.launcher.FailureCopyright © 2012-2013 1&1. All Rights Reserved.