ca.utoronto.JCVSReport
Class Config

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended byjava.util.Properties
              extended byca.utoronto.JCVSReport.Config
All Implemented Interfaces:
Cloneable, Map, Serializable

public class Config
extends Properties

The Config class parses the user specified config file and provides methods for accessing the user defined properties. The following CVS properties must be configured in your properties file:

By default, we store the database in your home directory under a subdirectory called "bloof". If you would like to create a database under a different location, then the following configuration parameters will allow you to do so: It is not recommended to use external CVS servers because doing so will be slow and will use up a lot of your network resources.

Author:
David James
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
Config()
           
 
Method Summary
 CvsAccess cvs()
          Read the location of a CVS repository
 DbAccess db()
          Find out where our SQL database is located
 String[] getGraphNames()
          Get the names of the reports
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, propertyNames, save, setProperty, store
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Config

public Config()
Method Detail

cvs

public CvsAccess cvs()
              throws NoSuchFieldException,
                     InvalidRepositoryLocationException
Read the location of a CVS repository

Throws:
NoSuchFieldException
InvalidRepositoryLocationException
See Also:
CommandParser

db

public DbAccess db()
            throws NoSuchFieldException
Find out where our SQL database is located

Throws:
NoSuchFieldException
See Also:
CommandParser

getGraphNames

public String[] getGraphNames()
                       throws NoSuchFieldException
Get the names of the reports

Returns:
List of reports
Throws:
NoSuchFieldException - when no graphs are specified


JCVSReport: Easy Progress Reports for CVS/Java Projects. By David James.