|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
com.googlecode.svntask.Command
com.googlecode.svntask.command.Log
public class Log
Used for executing svn log. Output is similar to command line client except that it doesn't (yet) include the number of lines that have changed in the revision and the date format is different. Includes these optional params: url: use a svn url rather than a path to a working copy startRevision: revision number or "HEAD" or "BASE" (defaults to "HEAD") endRevision: revision number or "HEAD" or "BASE" (defaults to "BASE") limit: max number of log entries to get, 0 for all (defaults to 0) stopOnCopy: do we stop on copy? (defaults to false) discoverChangedPaths: do we report of all changed paths for every revision being processed? (defaults to false)
Field Summary | |
---|---|
static java.lang.String |
SVN_LOG
|
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
Log()
|
Method Summary | |
---|---|
void |
execute()
|
void |
setDiscoverChangedPaths(boolean discoverChangedPaths)
set to true to report of all changed paths for every revision being processed |
void |
setEndRevision(java.lang.String endRevision)
the ending revision |
void |
setIncludeMergedRevisions(boolean includeMergedRevisions)
if true logs will include changes merged in from elsewhere |
void |
setLimit(long limit)
the max number of log messages to return must be positive. |
void |
setLogProperty(java.lang.String logProperty)
the log output goes here |
void |
setPath(java.lang.String path)
the path to the file |
void |
setStartRevision(java.lang.String startRevision)
the starting revision |
void |
setStopOnCopy(boolean stopOnCopy)
should svn logging stop on copy |
void |
setUrl(java.lang.String url)
the svn url to use (as opposed to the path of a working copy) |
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 |
---|
public static final java.lang.String SVN_LOG
Constructor Detail |
---|
public Log()
Method Detail |
---|
public void execute() throws java.lang.Exception
execute
in class Command
java.lang.Exception
protected void validateAttributes() throws java.lang.Exception
validateAttributes
in class Command
java.lang.Exception
public void setUrl(java.lang.String url)
public void setPath(java.lang.String path)
public void setStartRevision(java.lang.String startRevision)
public void setEndRevision(java.lang.String endRevision)
public void setLimit(long limit)
public void setStopOnCopy(boolean stopOnCopy)
public void setDiscoverChangedPaths(boolean discoverChangedPaths)
public void setIncludeMergedRevisions(boolean includeMergedRevisions)
public void setLogProperty(java.lang.String logProperty)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |