com.pmease.quickbuild.repository
Class FileSystemRepository

java.lang.Object
  extended bycom.pmease.quickbuild.repository.Repository
      extended bycom.pmease.quickbuild.repository.FileSystemRepository
All Implemented Interfaces:
java.io.Serializable

public class FileSystemRepository
extends Repository

A simple file system based repository.

Author:
robin shine
See Also:
Serialized Form

Constructor Summary
FileSystemRepository()
           
 
Method Summary
protected  void buildFinished(Build build)
           
protected  void checkout(Build build)
           
protected  void cleanupCheckoutStarted(java.lang.String workingDir, org.apache.log4j.Logger logger)
           
 Revisions getChangeListSince(DependentContext dependentContext, java.util.Date date, java.lang.String workingDir, org.apache.log4j.Logger logger)
           
 java.lang.Class getModuleClazz()
           
 java.lang.String getSourceDir()
          OGNL: This is an optional property.
protected  void label(Build build, java.lang.String label, java.lang.String comment)
          Label checked out artifacts from this repository.
 void setSourceDir(java.lang.String sourceDir)
           
 
Methods inherited from class com.pmease.quickbuild.repository.Repository
cleanupCheckoutStarted, doCheckout, doLabel, equals, getChangeListSince, getEditor, getLoginMappingName, getLoginMappingNameSelectionModel, getModules, getName, getNameChoices, getQuietPeriod, hashCode, isCheckedOut, isModified, isModifiedSince, isQuietSince, notifyBuildFinished, setEditor, setLoginMappingName, setName, setQuietPeriod, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSystemRepository

public FileSystemRepository()
Method Detail

getSourceDir

public java.lang.String getSourceDir()
OGNL: This is an optional property. If specified, changes can be detected in the source directory based on modification time, and modified files under this directory will be copied to the project work directory to perform build.

Returns:

setSourceDir

public void setSourceDir(java.lang.String sourceDir)

label

protected void label(Build build,
                     java.lang.String label,
                     java.lang.String comment)
Description copied from class: Repository
Label checked out artifacts from this repository.

Specified by:
label in class Repository
Parameters:
build -

cleanupCheckoutStarted

protected void cleanupCheckoutStarted(java.lang.String workingDir,
                                      org.apache.log4j.Logger logger)
Specified by:
cleanupCheckoutStarted in class Repository

buildFinished

protected void buildFinished(Build build)
Specified by:
buildFinished in class Repository

checkout

protected void checkout(Build build)
Specified by:
checkout in class Repository

getModuleClazz

public java.lang.Class getModuleClazz()
Specified by:
getModuleClazz in class Repository

getChangeListSince

public Revisions getChangeListSince(DependentContext dependentContext,
                                    java.util.Date date,
                                    java.lang.String workingDir,
                                    org.apache.log4j.Logger logger)
Specified by:
getChangeListSince in class Repository


Copyright © 2005 PMEase Inc. All Rights Reserved.