|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.pmease.quickbuild.repository.Repository
com.pmease.quickbuild.repository.CvsRepository
Repository implementation for CVS.
Constructor Summary | |
CvsRepository()
|
Method Summary | |
protected void |
buildFinished(Build build)
Indicates build has finished. |
protected void |
checkout(Build build)
Check out codes for specified build. |
protected void |
cleanupCheckoutStarted(java.lang.String workingDir,
org.apache.log4j.Logger logger)
Give the repository a chance to do something before clean up checkouts. |
protected Revisions |
getChangeListSince(DependentContext dependentContext,
java.util.Date date,
java.lang.String workingDir,
org.apache.log4j.Logger logger)
Get change list since specified date. |
java.lang.String |
getCvsExecutablePath()
OGNL: Path to your cvs executable. |
java.lang.String |
getCvsPassword()
OGNL: The CVS password for above Cvs root if connecting using pserver protocol. |
java.lang.String |
getCvsRoot()
OGNL: The Cvs root for this project, for example, :pserver:administrator@localhost:d:/cvs_repository. |
java.lang.Class |
getModuleClazz()
|
boolean |
isCygwinCvs()
OGNL: This property indicates whether or not the cvs executable being used is a cygwin one. |
boolean |
isDisableHistoryCmd()
OGNL: This property indicates whether or not to disable the history command when performing modification detection. |
boolean |
isDisableSuppressOption()
OGNL: This property indicates whether or not the \"-S\" option for the log command should be disabled. |
boolean |
isMoveTagIfAlreadyExist()
OGNL: Specifies whether or not to move the tag if QuickBuild tries to label the repository with an already existing tag. |
boolean |
isPruneEmptyDirs()
OGNL: Specify whether or not to prune empty directories. |
protected boolean |
isQuietSince(java.util.Date date,
Build build)
Override default implementation in order to speed up quiet detection for CVS adaptor |
protected void |
label(Build build,
java.lang.String label,
java.lang.String comment)
Label checked out artifacts from this repository. |
void |
setCvsExecutablePath(java.lang.String cvsExecutablePath)
|
void |
setCvsPassword(java.lang.String cvsPassword)
set the cvs password |
void |
setCvsRoot(java.lang.String cvsRoot)
|
void |
setCygwinCvs(boolean cygwinCvs)
|
void |
setDisableHistoryCmd(boolean disableHistoryCmd)
|
void |
setDisableSuppressOption(boolean disableSuppressOption)
|
void |
setMoveTagIfAlreadyExist(boolean moveTagIfAlreadyExist)
|
void |
setPruneEmptyDirs(boolean pruneEmptyDirs)
|
Methods inherited from class com.pmease.quickbuild.repository.Repository |
cleanupCheckoutStarted, doCheckout, doLabel, equals, getChangeListSince, getDate2Revisions, getEditor, getLoginMappingName, getLoginMappingNameSelectionModel, getModules, getName, getNameChoices, getQuietPeriod, hashCode, isCheckedOut, isModified, isModifiedSince, notifyBuildFinished, resolveOgnlExpressions, setEditor, setLoginMappingName, setName, setQuietPeriod, validate |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CvsRepository()
Method Detail |
public void setCvsRoot(java.lang.String cvsRoot)
cvsRoot
- public java.lang.String getCvsRoot()
public java.lang.String getCvsPassword()
public void setCvsPassword(java.lang.String cvsPassword)
cvsPassword
- password for the cvs repositorypublic boolean isPruneEmptyDirs()
public void setPruneEmptyDirs(boolean pruneEmptyDirs)
public boolean isCygwinCvs()
public void setCygwinCvs(boolean cygwinCvs)
public boolean isDisableSuppressOption()
public void setDisableSuppressOption(boolean disableSuppressOption)
public boolean isDisableHistoryCmd()
public void setDisableHistoryCmd(boolean disableHistoryCmd)
public boolean isMoveTagIfAlreadyExist()
public void setMoveTagIfAlreadyExist(boolean moveTagIfAlreadyExist)
public java.lang.String getCvsExecutablePath()
public void setCvsExecutablePath(java.lang.String cvsExecutablePath)
protected void cleanupCheckoutStarted(java.lang.String workingDir, org.apache.log4j.Logger logger)
Repository
cleanupCheckoutStarted
in class Repository
workingDir
- logger
- protected void checkout(Build build)
Repository
checkout
in class Repository
build
- protected void label(Build build, java.lang.String label, java.lang.String comment)
Repository
label
in class Repository
build
- protected boolean isQuietSince(java.util.Date date, Build build)
isQuietSince
in class Repository
date
- build
-
protected Revisions getChangeListSince(DependentContext dependentContext, java.util.Date date, java.lang.String workingDir, org.apache.log4j.Logger logger)
Repository
getChangeListSince
in class Repository
dependentContext
- date
- workingDir
- logger
-
public java.lang.Class getModuleClazz()
getModuleClazz
in class Repository
protected void buildFinished(Build build)
Repository
buildFinished
in class Repository
build
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |