com.pmease.quickbuild.repositorysupport
Class FailSafeRepository

java.lang.Object
  extended by com.pmease.quickbuild.extensionpoint.support.TypeInstance
      extended by com.pmease.quickbuild.repositorysupport.Repository<Revision>
          extended by com.pmease.quickbuild.repositorysupport.FailSafeRepository
All Implemented Interfaces:
java.io.Serializable

public class FailSafeRepository
extends Repository<Revision>

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.pmease.quickbuild.repositorysupport.Repository
Repository.SerializedForm
 
Field Summary
 
Fields inherited from class com.pmease.quickbuild.repositorysupport.Repository
LOCAL_CHANGE_DIR, REVERT_CHANGE_DIR
 
Constructor Summary
FailSafeRepository()
           
 
Method Summary
protected  void checkoutByRevision(Revision revision)
          Checkout from the repository using specified revision
protected  java.util.List<Changeset> getChangesBetween(Revision startRevision, Revision endRevision)
          Get changes between two revisions.
protected  Revision getHeadRevision()
          Get the head revision of the repository.
 ProofBuildSupport<LocalChange> getProofBuildSupport()
           
 SourceViewSupport<Revision> getSourceViewSupport()
           
protected  boolean isQuietSince(java.util.Date date)
          Whether or not the repository is quiet since specified date.
protected  void labelOnRevision(Revision revision, java.lang.String label, java.lang.String comment)
          Create a new label on the set of source code associated with specified revision
 
Methods inherited from class com.pmease.quickbuild.repositorysupport.Repository
checkout, commit, equals, fromDOM, getBaseRevision, getBuild, getChanges, getChanges, getChangesSince, getCommitters, getCommitters, getCommittersSincePrevSuccess, getDescription, getEmail, getName, getQuietPeriod, getRevision, getRevision, getRuntime, getType, getUserMapping, getUserName, hashCode, isChanged, isChanged, isChangesRecorded, isCheckout, isDirty, isLocalChangeApplied, label, promoteLabel, revertLocalChange, setBuild, setChanges, setChangesRecorded, setCheckout, setDescription, setDirty, setName, setQuietPeriod, setRevision, setUserMapping, switchToHead, takeSnapshot, toString, writeReplace
 
Methods inherited from class com.pmease.quickbuild.extensionpoint.support.TypeInstance
getPlugin
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FailSafeRepository

public FailSafeRepository()
Method Detail

checkoutByRevision

protected void checkoutByRevision(Revision revision)
Description copied from class: Repository
Checkout from the repository using specified revision

Specified by:
checkoutByRevision in class Repository<Revision>
Parameters:
revision - repository revision to checkout. Should not be null.

getHeadRevision

protected Revision getHeadRevision()
Description copied from class: Repository
Get the head revision of the repository. Should never be null.

Specified by:
getHeadRevision in class Repository<Revision>

getChangesBetween

protected java.util.List<Changeset> getChangesBetween(Revision startRevision,
                                                      Revision endRevision)
Description copied from class: Repository
Get changes between two revisions.

Specified by:
getChangesBetween in class Repository<Revision>
Parameters:
startRevision - start repository revision. Should not be null.
endRevision - end repository revision. Should not be null.

getProofBuildSupport

public ProofBuildSupport<LocalChange> getProofBuildSupport()
Specified by:
getProofBuildSupport in class Repository<Revision>

getSourceViewSupport

public SourceViewSupport<Revision> getSourceViewSupport()
Specified by:
getSourceViewSupport in class Repository<Revision>

labelOnRevision

protected void labelOnRevision(Revision revision,
                               java.lang.String label,
                               java.lang.String comment)
Description copied from class: Repository
Create a new label on the set of source code associated with specified revision

Specified by:
labelOnRevision in class Repository<Revision>
Parameters:
revision - repository revision to create label on. Should not be null.

isQuietSince

protected boolean isQuietSince(java.util.Date date)
Description copied from class: Repository
Whether or not the repository is quiet since specified date.

Specified by:
isQuietSince in class Repository<Revision>
Returns:


Copyright © 2005-2010 PMEase Inc. All Rights Reserved.