com.googlecode.svntask.command
Class Info

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

public class Info
extends Command

Used for executing svn info Available properties to set are: revisionProperty = svn.info.revision urlProperty = svn.info.url repositoryRootUrlProperty = svn.info.repositoryRootUrl authorProperty = svn.info.author committedDateProperty = svn.info.committedDate committedRevision = svn.info.committedRevision

Author:
jonstevens

Field Summary
static java.lang.String SVN_INFO_AUTHOR
           
static java.lang.String SVN_INFO_COMMITTED_DATE
           
static java.lang.String SVN_INFO_COMMITTED_REVISION
           
static java.lang.String SVN_INFO_REPOSITORY_ROOT_URL
           
static java.lang.String SVN_INFO_REVISION
           
static java.lang.String SVN_INFO_URL
           
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
Info()
           
 
Method Summary
 void execute()
           
 void setAuthorProperty(java.lang.String authorProperty)
           
 void setCommittedDateProperty(java.lang.String committedDateProperty)
           
 void setCommittedRevisionProperty(java.lang.String committedRevisionProperty)
           
 void setPath(java.lang.String path)
          the path to the file
 void setRepositoryRootUrlProperty(java.lang.String repositoryRootUrlProperty)
           
 void setRevisionProperty(java.lang.String revisionProperty)
           
 void setUrlProperty(java.lang.String urlProperty)
           
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_INFO_URL

public static final java.lang.String SVN_INFO_URL
See Also:
Constant Field Values

SVN_INFO_REPOSITORY_ROOT_URL

public static final java.lang.String SVN_INFO_REPOSITORY_ROOT_URL
See Also:
Constant Field Values

SVN_INFO_REVISION

public static final java.lang.String SVN_INFO_REVISION
See Also:
Constant Field Values

SVN_INFO_AUTHOR

public static final java.lang.String SVN_INFO_AUTHOR
See Also:
Constant Field Values

SVN_INFO_COMMITTED_DATE

public static final java.lang.String SVN_INFO_COMMITTED_DATE
See Also:
Constant Field Values

SVN_INFO_COMMITTED_REVISION

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

Info

public Info()
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)
the path to the file


setRevisionProperty

public void setRevisionProperty(java.lang.String revisionProperty)
Parameters:
revisionProperty - The revisionProperty to set. defaults to svn.info.revision

setUrlProperty

public void setUrlProperty(java.lang.String urlProperty)
Parameters:
urlProperty - The urlProperty to set. defaults to svn.info.url

setRepositoryRootUrlProperty

public void setRepositoryRootUrlProperty(java.lang.String repositoryRootUrlProperty)
Parameters:
repositoryRootUrlProperty - The repositoryRootUrlProperty to set. defaults to svn.info.repositoryRootUrl

setAuthorProperty

public void setAuthorProperty(java.lang.String authorProperty)
Parameters:
authorProperty - The authorProperty to set. defaults to svn.info.author

setCommittedDateProperty

public void setCommittedDateProperty(java.lang.String committedDateProperty)
Parameters:
committedDateProperty - The committedDateProperty to set. defaults to svn.info.committedDate

setCommittedRevisionProperty

public void setCommittedRevisionProperty(java.lang.String committedRevisionProperty)
Parameters:
committedRevisionProperty - The committedRevisionProperty; to set. defaults to svn.info.committedRevision


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