|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.cruisecontrol.sourcecontrols.SVN
This class implements the SourceControl methods for a Subversion repository. The call to Subversion is assumed to work without any setup. This implies that either authentication data must be available or the login parameters are specified in the cc configuration file. Note: You can also observe for changes a Subversion repository that you have not checked out locally.
Constructor Summary | |
SVN()
|
Method Summary | |
java.util.List |
getModifications(java.util.Date lastBuild,
java.util.Date now)
Returns a list of modifications detailing all the changes between the last build and the latest revision in the repository. |
static java.text.DateFormat |
getOutDateFormatter()
|
java.util.Map |
getProperties()
Any properties that have been set in this sourcecontrol. |
void |
setCheckExternals(boolean value)
Sets whether externals used by the project should also be checked for modifications. |
void |
setLocalWorkingCopy(java.lang.String localWorkingCopy)
Sets the local working copy to use when making calls to Subversion. |
void |
setPassword(java.lang.String password)
Sets the password for authentication. |
void |
setProperty(java.lang.String property)
|
void |
setPropertyOnDelete(java.lang.String propertyOnDelete)
|
void |
setRepositoryLocation(java.lang.String repositoryLocation)
Sets the repository location to use when making calls to Subversion. |
void |
setUsername(java.lang.String userName)
Sets the username for authentication. |
void |
validate()
This method validates that at least the repository location or the local working copy location has been specified. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SVN()
Method Detail |
public java.util.Map getProperties()
SourceControl
getProperties
in interface SourceControl
public void setProperty(java.lang.String property)
public void setPropertyOnDelete(java.lang.String propertyOnDelete)
public void setCheckExternals(boolean value)
public void setRepositoryLocation(java.lang.String repositoryLocation)
repositoryLocation
- String indicating the url to the Subversion
repository on which to find the log history.public void setLocalWorkingCopy(java.lang.String localWorkingCopy)
localWorkingCopy
- String indicating the relative or absolute path
to the local working copy of the Subversion
repository of which to find the log history.public void setUsername(java.lang.String userName)
public void setPassword(java.lang.String password)
public void validate() throws CruiseControlException
validate
in interface SourceControl
CruiseControlException
- Thrown when the repository location and
the local working copy location are both
nullpublic java.util.List getModifications(java.util.Date lastBuild, java.util.Date now)
getModifications
in interface SourceControl
lastBuild
- now
-
public static java.text.DateFormat getOutDateFormatter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |