com.googlecode.svntask.command
Class Status

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

public class Status
extends Command

Used for executing svn status Available properties to set are: committedRevisionProperty = svn.status.committedRevision remoteRevisionProperty = svn.status.remoteRevision revisionProperty = svn.status.revision copyFromRevisionProperty = svn.status.copyFromRevision remotePropertiesStatusProperty = svn.status.remotePropertiesStatus remoteContentsStatusProperty = svn.status.remoteContentsStatus propertiesStatusProperty = svn.status.propertiesStatus contentsStatusProperty = svn.status.contentsStatus remoteDateProperty = svn.status.remoteDate committedDateProperty = svn.status.committedDate workingContentsDateProperty = svn.status.workingContentsDate workingPropertiesDateProperty = svn.status.workingPropertiesDate authorProperty = svn.status.author remoteAuthorProperty = svn.status.remoteAuthor

Author:
jonstevens

Field Summary
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
Status()
           
 
Method Summary
 void execute()
           
 void setAuthorProperty(java.lang.String authorProperty)
           
 void setCommittedDateProperty(java.lang.String committedDateProperty)
           
 void setCommittedRevisionProperty(java.lang.String committedRevisionProperty)
           
 void setContentsStatusProperty(java.lang.String contentsStatusProperty)
           
 void setCopyFromRevisionProperty(java.lang.String copyFromRevisionProperty)
           
 void setIgnoreExternals(boolean ignoreExternals)
          ignore externals definitions default false.
 void setPath(java.lang.String path)
          path to the file or directory
 void setPropertiesStatusProperty(java.lang.String propertiesStatusProperty)
           
 void setRemote(boolean remote)
          to check up the status of the item in the repository, that will tell if the local item is out-of-date (like '-u' option in the SVN client's 'svn status' command) default true.
 void setRemoteAuthorProperty(java.lang.String remoteAuthorProperty)
           
 void setRemoteContentsStatusProperty(java.lang.String remoteContentsStatusProperty)
           
 void setRemoteDateProperty(java.lang.String remoteDateProperty)
           
 void setRemotePropertiesStatusProperty(java.lang.String remotePropertiesStatusProperty)
           
 void setRemoteRevisionProperty(java.lang.String remoteRevisionProperty)
           
 void setRevisionProperty(java.lang.String revisionProperty)
           
 void setWorkingContentsDateProperty(java.lang.String workingContentsDateProperty)
           
 void setWorkingPropertiesDateProperty(java.lang.String workingPropertiesDateProperty)
           
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

Status

public Status()
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)
path to the file or directory


setRemote

public void setRemote(boolean remote)
to check up the status of the item in the repository, that will tell if the local item is out-of-date (like '-u' option in the SVN client's 'svn status' command) default true.


setIgnoreExternals

public void setIgnoreExternals(boolean ignoreExternals)
ignore externals definitions default false.


setCommittedRevisionProperty

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

setRemoteRevisionProperty

public void setRemoteRevisionProperty(java.lang.String remoteRevisionProperty)
Parameters:
remoteRevisionProperty - The remoteRevisionProperty; to set. defaults to svn.status.remoteRevision

setRevisionProperty

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

setCopyFromRevisionProperty

public void setCopyFromRevisionProperty(java.lang.String copyFromRevisionProperty)
Parameters:
copyFromRevisionProperty - The copyFromRevisionProperty to set. defaults to svn.status.copyFromRevision

setRemotePropertiesStatusProperty

public void setRemotePropertiesStatusProperty(java.lang.String remotePropertiesStatusProperty)
Parameters:
remotePropertiesStatusProperty - The remotePropertiesStatusProperty to set. defaults to svn.status.remotePropertiesStatus

setRemoteContentsStatusProperty

public void setRemoteContentsStatusProperty(java.lang.String remoteContentsStatusProperty)
Parameters:
remoteContentsStatusProperty - The remoteContentsStatusProperty to set. defaults to svn.status.remoteContentsStatus

setPropertiesStatusProperty

public void setPropertiesStatusProperty(java.lang.String propertiesStatusProperty)
Parameters:
propertiesStatusProperty - The propertiesStatusProperty to set. defaults to svn.status.propertiesStatus

setContentsStatusProperty

public void setContentsStatusProperty(java.lang.String contentsStatusProperty)
Parameters:
contentsStatusProperty - The contentsStatusProperty to set. defaults to svn.status.contentsStatus

setRemoteDateProperty

public void setRemoteDateProperty(java.lang.String remoteDateProperty)
Parameters:
remoteDateProperty - The remoteDateProperty to set. defaults to svn.status.remoteDate

setCommittedDateProperty

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

setWorkingContentsDateProperty

public void setWorkingContentsDateProperty(java.lang.String workingContentsDateProperty)
Parameters:
workingContentsDateProperty - The workingContentsDateProperty to set. defaults to svn.status.workingContentsDate

setWorkingPropertiesDateProperty

public void setWorkingPropertiesDateProperty(java.lang.String workingPropertiesDateProperty)
Parameters:
workingPropertiesDateProperty - The workingPropertiesDateProperty to set. defaults to svn.status.workingPropertiesDate

setAuthorProperty

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

setRemoteAuthorProperty

public void setRemoteAuthorProperty(java.lang.String remoteAuthorProperty)
Parameters:
remoteAuthorProperty - The remoteAuthorProperty to set. defaults to svn.status.remoteAuthor


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