net.sourceforge.cruisecontrol.sourcecontrols
Class FileSystem

java.lang.Object
  extended bynet.sourceforge.cruisecontrol.sourcecontrols.FakeUserSourceControl
      extended bynet.sourceforge.cruisecontrol.sourcecontrols.FileSystem
All Implemented Interfaces:
java.io.Serializable, SourceControl

public class FileSystem
extends FakeUserSourceControl

Scans a directory tree on a local drive rather than in a repository.

Author:
Alden Almagro
See Also:
Serialized Form

Constructor Summary
FileSystem()
           
 
Method Summary
 java.util.List getModifications(java.util.Date lastBuild, java.util.Date now)
          For this case, we don't care about the quietperiod, only that one user is modifying the build.
 void setFolder(java.lang.String s)
          Set the root folder of the directories that we are going to scan
 void validate()
           
 
Methods inherited from class net.sourceforge.cruisecontrol.sourcecontrols.FakeUserSourceControl
getProperties, getSourceControlProperties, getUserName, setProperty, setUserName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSystem

public FileSystem()
Method Detail

setFolder

public void setFolder(java.lang.String s)
Set the root folder of the directories that we are going to scan


validate

public void validate()
              throws CruiseControlException
Specified by:
validate in interface SourceControl
Specified by:
validate in class FakeUserSourceControl
Throws:
CruiseControlException
See Also:
SourceControl.validate()

getModifications

public java.util.List getModifications(java.util.Date lastBuild,
                                       java.util.Date now)
For this case, we don't care about the quietperiod, only that one user is modifying the build.

Specified by:
getModifications in interface SourceControl
Specified by:
getModifications in class FakeUserSourceControl
Parameters:
lastBuild - date of last build
now - IGNORED
See Also:
SourceControl.getModifications(java.util.Date, java.util.Date)