wt.tools
Class SystemGeneration

java.lang.Object
  extended bycom.ptc.windchill.util.packaging.processor.PackagingTraverser
      extended bywt.tools.SystemGeneration
All Implemented Interfaces:
ClassProcessor, ExecutableApp, ModuleProcessor, PackageProcessor, RegistryProcessor, SubsystemProcessor

public class SystemGeneration
extends PackagingTraverser


Field Summary
private  boolean abbreviatedInstall
           
private  Vector classes
           
protected  Vector components
           
protected  String currentEntry
           
private  Hashtable genDirMessagesSent
           
private  Vector generators
           
private  ModelRegistrar modelRegistrar
           
private static MappedRegistry modelRegistry
           
private  boolean needModelData
           
private  Vector previousClasses
           
private  boolean recurse
           
 
Fields inherited from class com.ptc.windchill.util.packaging.processor.PackagingTraverser
PROCESS_3RD_PARTY, PROCESS_DEPS, PROCESS_MULTIPLE, PROCESS_NON_MODELED, RECURSE_DEPS
 
Constructor Summary
SystemGeneration()
           
 
Method Summary
private  void addClass(ClassClass theClass)
           
private  void architectureForClasses(Enumeration classEnum, boolean topLevel)
           
protected static void displayNameGen(String genClasses)
           
protected  void generateLanguageOutput()
           
private  void obsolescenceCleanup()
           
protected static void preprocessTargets(String genClasses, StringBuffer module_targets, StringBuffer non_module_targets)
           
 void processClass(ClassIdentifier class_identifier)
          Process the identified class.
 void processClass(String classname)
          Process the named class.
 void processPackage(String pckg)
          Process the named package.
 void processPackage(UnitIdentifier package_id)
          Process the identified subsystem.
protected  void processTarget(String target)
          Process the target.
 void processTargets(String targets)
          Process the targets.
protected  void setTargetModule(String target)
           
protected static void sqlGen(String genClasses)
           
 
Methods inherited from class com.ptc.windchill.util.packaging.processor.PackagingTraverser
argsOK, execute, getModuleIdentifier, initialize, isFile, isIncludedModule, isIncludedPackage, packageName, postProcess, processDependency, processedModule, processFile, processModule, processModule, processModule, processModule, processRegistry, processSubsystem, processSubsystem, setClassProcessor, setModuleProcessor, setPackageProcessor, setRegistryProcessor, setSubsystemProcessor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentEntry

protected String currentEntry

components

protected Vector components

generators

private Vector generators

classes

private Vector classes

previousClasses

private Vector previousClasses

abbreviatedInstall

private boolean abbreviatedInstall

recurse

private boolean recurse

needModelData

private boolean needModelData

genDirMessagesSent

private Hashtable genDirMessagesSent

modelRegistrar

private ModelRegistrar modelRegistrar

modelRegistry

private static MappedRegistry modelRegistry
Constructor Detail

SystemGeneration

public SystemGeneration()
Method Detail

addClass

private void addClass(ClassClass theClass)

architectureForClasses

private void architectureForClasses(Enumeration classEnum,
                                    boolean topLevel)
                             throws WTException
Throws:
WTException

displayNameGen

protected static void displayNameGen(String genClasses)

generateLanguageOutput

protected void generateLanguageOutput()
                               throws WTException
Throws:
WTException

obsolescenceCleanup

private void obsolescenceCleanup()
                          throws WTException
Throws:
WTException

sqlGen

protected static void sqlGen(String genClasses)

preprocessTargets

protected static void preprocessTargets(String genClasses,
                                        StringBuffer module_targets,
                                        StringBuffer non_module_targets)

processClass

public void processClass(ClassIdentifier class_identifier)
Description copied from class: PackagingTraverser
Process the identified class.

Supported API: false

Specified by:
processClass in interface ClassProcessor
Overrides:
processClass in class PackagingTraverser
Parameters:
class_identifier -

processClass

public void processClass(String classname)
Description copied from class: PackagingTraverser
Process the named class.

Supported API: false

Specified by:
processClass in interface ClassProcessor
Overrides:
processClass in class PackagingTraverser
Parameters:
classname -

processPackage

public void processPackage(UnitIdentifier package_id)
                    throws WTException
Description copied from class: PackagingTraverser
Process the identified subsystem.

Supported API: false

Specified by:
processPackage in interface PackageProcessor
Overrides:
processPackage in class PackagingTraverser
Parameters:
package_id -
Throws:
WTException

processPackage

public void processPackage(String pckg)
                    throws WTException
Description copied from class: PackagingTraverser
Process the named package.

Supported API: false

Specified by:
processPackage in interface PackageProcessor
Overrides:
processPackage in class PackagingTraverser
Parameters:
pckg -
Throws:
WTException

processTarget

protected void processTarget(String target)
                      throws WTException
Description copied from class: PackagingTraverser
Process the target. The target can be the entire module "registry", a module, a subsystem, a package, or a class.

Supported API: false

Overrides:
processTarget in class PackagingTraverser
Parameters:
target -
Throws:
WTException

processTargets

public void processTargets(String targets)
                    throws WTException
Description copied from class: PackagingTraverser
Process the targets. targets is a comma separated list of items to process. The items can be the entire module "registry", a module, a subsystem, a package, or a class.

Supported API: false

Overrides:
processTargets in class PackagingTraverser
Parameters:
targets -
Throws:
WTException

setTargetModule

protected void setTargetModule(String target)
                        throws WTException
Throws:
WTException