wt.fv.master
Class SiteConfigGenerator

java.lang.Object
  extended bywt.fv.master.SiteConfigGenerator

public final class SiteConfigGenerator
extends Object

This is a utility class that generates a SiteDesc object given a site. SiteDesc cannot do the job itself because it should not have access to any persistent classes. This class should be moved to the wt.fv.master package for testing purposes It is in the configurator package.


Constructor Summary
SiteConfigGenerator()
           
 
Method Summary
static SiteDesc createSiteDesc(Site theSite)
           
private static Hashtable createVaultDescs(Vector vaults)
           
private static Vector generateSiteDescHosts(Site theSite)
           
private static Vector getHostMounts(Site currSite, FvHost currHost, Vector theVaults)
           
static void main(String[] args)
          Test driver for the configurator package classes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SiteConfigGenerator

public SiteConfigGenerator()
Method Detail

createSiteDesc

public static SiteDesc createSiteDesc(Site theSite)
                               throws WTException
Throws:
WTException

generateSiteDescHosts

private static Vector generateSiteDescHosts(Site theSite)
                                     throws WTException,
                                            WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

createVaultDescs

private static Hashtable createVaultDescs(Vector vaults)

getHostMounts

private static Vector getHostMounts(Site currSite,
                                    FvHost currHost,
                                    Vector theVaults)
                             throws WTException
Throws:
WTException

main

public static void main(String[] args)
                 throws WTException
Test driver for the configurator package classes.

Throws:
WTException