org.jtheque.core.managers.update.actions
Class MoveAction

java.lang.Object
  extended by org.jtheque.core.managers.update.actions.AbstractUpdateAction
      extended by org.jtheque.core.managers.update.actions.MoveAction
All Implemented Interfaces:
UpdateAction

public final class MoveAction
extends AbstractUpdateAction

An update action that move a file.

Author:
Baptiste Wicht

Constructor Summary
MoveAction()
           
 
Method Summary
 void execute()
          Execute the action.
 void setSourceFile(java.lang.String sourceFile)
          Set the path to the source's file.
 void setSourceFolder(java.lang.String sourceFolder)
          Set the path to the source's folder.
 
Methods inherited from class org.jtheque.core.managers.update.actions.AbstractUpdateAction
setFile, setFolder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoveAction

public MoveAction()
Method Detail

execute

public void execute()
Description copied from interface: UpdateAction
Execute the action.


setSourceFile

public void setSourceFile(java.lang.String sourceFile)
Set the path to the source's file.

Parameters:
sourceFile - The path to the source's file.

setSourceFolder

public void setSourceFolder(java.lang.String sourceFolder)
Set the path to the source's folder.

Parameters:
sourceFolder - The path to the source's folder.


Copyright © 2009 JTheque. All Rights Reserved.