com.googlecode.svntask
Class Command

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by com.googlecode.svntask.Command
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
Add, Checkout, Commit, Info, Log, Ls, Status, Switch, Update

public abstract class Command
extends org.apache.tools.ant.ProjectComponent

Base class for a Command which represents an svn command such as svn info.

Author:
jonstevens

Field Summary
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
Command()
           
 
Method Summary
abstract  void execute()
           
 void executeCommand()
           
 SvnTask getTask()
          Gets the SvnTask
 void setTask(SvnTask task)
          Sets the SvnTask
protected abstract  void validateAttributes()
           
 
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

Command

public Command()
Method Detail

execute

public abstract void execute()
                      throws java.lang.Exception
Throws:
java.lang.Exception

validateAttributes

protected abstract void validateAttributes()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

executeCommand

public void executeCommand()
                    throws java.lang.Exception
Throws:
java.lang.Exception

setTask

public void setTask(SvnTask task)
Sets the SvnTask


getTask

public SvnTask getTask()
Gets the SvnTask



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