public static final class FileSystemProvisioner.Default.WorkspaceSnapshotImpl extends WorkspaceSnapshot
Constructor and Description |
---|
WorkspaceSnapshotImpl() |
Modifier and Type | Method and Description |
---|---|
void |
restoreTo(AbstractBuild<?,?> owner,
FilePath dst,
TaskListener listener)
Restores the snapshot to the given file system location.
|
getDisplayName, getIconFileName, getUrlName
public void restoreTo(AbstractBuild<?,?> owner, FilePath dst, TaskListener listener) throws IOException, InterruptedException
WorkspaceSnapshot
restoreTo
in class WorkspaceSnapshot
owner
- The build that owns this action. It's always the same value for any given WorkspaceSnapshot
,
but passed in separately so that implementations don't need to keep them in fields.dst
- The file path to which the snapshot shall be restored to.listener
- Send the progress of the restoration to this listener. Never null.IOException
InterruptedException
Copyright © 2015. All rights reserved.