wt.fv.master
Class SiteConfigGenerator
java.lang.Object
wt.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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SiteConfigGenerator
public SiteConfigGenerator()
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