|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.cruisecontrol.sourcecontrols.Git
This class implements the SourceControl methods for a git repository. The call to git is assumed to work without any setup. This implies that authentication data must be available.
| Constructor Summary | |
Git()
|
|
| Method Summary | |
java.util.List |
getModifications(java.util.Date from,
java.util.Date to)
Returns a list of modifications detailing all the changes between the last build and the latest revision in the repository. |
java.util.Map |
getProperties()
Any properties that have been set in this sourcecontrol. |
void |
setLocalWorkingCopy(java.lang.String d)
Sets the local working copy to use when making calls to git. |
void |
setProperty(java.lang.String p)
|
void |
setPropertyOnDelete(java.lang.String p)
|
void |
validate()
This method validates that 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 Git()
| Method Detail |
public java.util.Map getProperties()
SourceControl
getProperties in interface SourceControlpublic void setProperty(java.lang.String p)
public void setPropertyOnDelete(java.lang.String p)
public void setLocalWorkingCopy(java.lang.String d)
d - String indicating the relative or absolute path to the local
working copy of the git repository of which to find the log history.
public void validate()
throws CruiseControlException
validate in interface SourceControlCruiseControlException - Thrown when the local working copy
location is null
public java.util.List getModifications(java.util.Date from,
java.util.Date to)
getModifications in interface SourceControlfrom - to -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||