hudson
Class FileSystemProvisioner.Default.WorkspaceSnapshotImpl

java.lang.Object
  extended by hudson.WorkspaceSnapshot
      extended by hudson.FileSystemProvisioner.Default.WorkspaceSnapshotImpl
All Implemented Interfaces:
Action, ModelObject
Enclosing class:
FileSystemProvisioner.Default

public static final class FileSystemProvisioner.Default.WorkspaceSnapshotImpl
extends WorkspaceSnapshot


Constructor Summary
FileSystemProvisioner.Default.WorkspaceSnapshotImpl()
           
 
Method Summary
 void restoreTo(AbstractBuild<?,?> owner, FilePath dst, TaskListener listener)
          Restores the snapshot to the given file system location.
 
Methods inherited from class hudson.WorkspaceSnapshot
getDisplayName, getIconFileName, getUrlName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSystemProvisioner.Default.WorkspaceSnapshotImpl

public FileSystemProvisioner.Default.WorkspaceSnapshotImpl()
Method Detail

restoreTo

public void restoreTo(AbstractBuild<?,?> owner,
                      FilePath dst,
                      TaskListener listener)
               throws IOException,
                      InterruptedException
Description copied from class: WorkspaceSnapshot
Restores the snapshot to the given file system location.

Specified by:
restoreTo in class WorkspaceSnapshot
Parameters:
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.
Throws:
IOException
InterruptedException


Copyright © 2004-2013. All Rights Reserved.