com.googlecode.svntask.command
Class Info
java.lang.Object
org.apache.tools.ant.ProjectComponent
com.googlecode.svntask.Command
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
Fields inherited from class org.apache.tools.ant.ProjectComponent |
description, location, project |
Constructor Summary |
Info()
|
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_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
Info
public Info()
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