com.googlecode.svntask.command
Class Add

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

public class Add
extends Command

Implements the "add" command. Requires a "path" argument indicating the path to add. Has optional boolean arguments "force", "mkdir", "climbUnversionedParents", "includeIgnored" and "makeParents". Example: <svn><add path="." force="false" /></svn>

Author:
darren (darren@bizo.com), Jon Stevens

Field Summary
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
Add()
           
 
Method Summary
 void execute()
           
 void setClimbUnversionedParents(boolean climbUnversionedParents)
           
 void setDepth(java.lang.String depth)
           
 void setForce(boolean force)
           
 void setIncludeIgnored(boolean includeIgnored)
           
 void setMakeParents(boolean makeParents)
           
 void setMkdir(boolean mkdir)
           
 void setPath(java.lang.String path)
           
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
 

Constructor Detail

Add

public Add()
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)

setForce

public void setForce(boolean force)

setMkdir

public void setMkdir(boolean mkdir)

setClimbUnversionedParents

public void setClimbUnversionedParents(boolean climbUnversionedParents)

setDepth

public void setDepth(java.lang.String depth)

setIncludeIgnored

public void setIncludeIgnored(boolean includeIgnored)

setMakeParents

public void setMakeParents(boolean makeParents)


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