com.googlecode.svntask.command
Class Update

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by com.googlecode.svntask.Command
          extended by com.googlecode.svntask.command.Update
All Implemented Interfaces:
java.lang.Cloneable

public class Update
extends Command

Used for executing svn update. Defaults to recursive and force == true.

Author:
jonstevens

Field Summary
static java.lang.String SVN_UPDATE_REVISION
           
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
Update()
           
 
Method Summary
 void execute()
           
 void setDepth(java.lang.String depth)
           
 void setForce(boolean force)
           
 void setPath(java.lang.String path)
           
 void setRecursive(boolean recursive)
           
 void setRevision(long revision)
           
 void setRevisionProperty(java.lang.String revisionProperty)
           
protected  void validateAttributes()
           
 
Methods inherited from class com.googlecode.svntask.Command
executeCommand, getTask, setTask
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SVN_UPDATE_REVISION

public static final java.lang.String SVN_UPDATE_REVISION
See Also:
Constant Field Values
Constructor Detail

Update

public Update()
Method Detail

execute

public void execute()
             throws java.lang.Exception
Specified by:
execute in class Command
Throws:
java.lang.Exception

validateAttributes

protected void validateAttributes()
                           throws java.lang.Exception
Specified by:
validateAttributes in class Command
Throws:
java.lang.Exception

setPath

public void setPath(java.lang.String path)

setRevision

public void setRevision(long revision)

setDepth

public void setDepth(java.lang.String depth)

setRecursive

public void setRecursive(boolean recursive)

setForce

public void setForce(boolean force)

setRevisionProperty

public void setRevisionProperty(java.lang.String revisionProperty)


Copyright © 2011 Jon Scott Stevens. All Rights Reserved. Build version: 1.0.8