com.googlecode.svntask.command
Class Switch
java.lang.Object
org.apache.tools.ant.ProjectComponent
com.googlecode.svntask.Command
com.googlecode.svntask.command.Switch
- All Implemented Interfaces:
- java.lang.Cloneable
public class Switch
- extends Command
Used for executing svn switch. Defaults to recursive == true. Requires an svn URL and optionally a
revision. HEAD is the default peg/revision if a revision is not specified. depth is INFINITY.
allowUnversionedObstructions is true.
- Author:
- Raman Gupta, Jon Stevens
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 |
Switch
public Switch()
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)
setSvnUrl
public void setSvnUrl(java.lang.String svnUrl)
throws org.tmatesoft.svn.core.SVNException
- Throws:
org.tmatesoft.svn.core.SVNException
setPegRevision
public void setPegRevision(long pegRevision)
setRevision
public void setRevision(long revision)
setDepth
public void setDepth(java.lang.String depth)
setAllowUnversionedObstructions
public void setAllowUnversionedObstructions(boolean allowUnversionedObstructions)
setRecursive
public void setRecursive(boolean recursive)
Copyright © 2011 Jon Scott Stevens. All Rights Reserved. Build version: 1.0.8