com.googlecode.svntask.command
Class Update
java.lang.Object
org.apache.tools.ant.ProjectComponent
com.googlecode.svntask.Command
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
Fields inherited from class org.apache.tools.ant.ProjectComponent |
description, location, project |
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 |
SVN_UPDATE_REVISION
public static final java.lang.String SVN_UPDATE_REVISION
- See Also:
- Constant Field Values
Update
public Update()
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