com.ptc.windchill.util.packaging.install
Class AbstractInstallParticipant

java.lang.Object
  extended bycom.ptc.windchill.util.packaging.processor.PackagingTraverser
      extended bycom.ptc.windchill.util.packaging.install.AbstractPackagingConsumer
          extended bycom.ptc.windchill.util.packaging.install.AbstractInstallParticipant
All Implemented Interfaces:
ClassProcessor, ExecutableApp, InstallParticipant, ModuleProcessor, PackageProcessor, RegistryProcessor, Serializable, SubsystemProcessor
Direct Known Subclasses:
DDLInstallGenerator, IntrospectionRelationships, PropertiesAggregator

public abstract class AbstractInstallParticipant
extends AbstractPackagingConsumer
implements InstallParticipant, Serializable

A class that is able to participant in the install process.

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
static boolean DEBUG
           
protected  boolean install_mode
           
private static DebugWriter LOG
           
private static String RESOURCE
           
private static String SIMPLE_CLASSNAME
           
 
Fields inherited from class com.ptc.windchill.util.packaging.install.AbstractPackagingConsumer
INSTALL_CONTEXT
 
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
AbstractInstallParticipant()
           
 
Method Summary
 void installModule(UnitIdentifier module)
          Install the module.
 void unInstallModule(UnitIdentifier module)
          Uninstall the module.
 
Methods inherited from class com.ptc.windchill.util.packaging.install.AbstractPackagingConsumer
getArtifactExtension, getCacheArtifact, getConsumerName, getContext, getUnitArtifact, initialize, initializeConfiguration, isCached, isInitialized, loadCache, postProcess, processModule, setCached, setContext, setInitialized, storeCache
 
Methods inherited from class com.ptc.windchill.util.packaging.processor.PackagingTraverser
argsOK, execute, getModuleIdentifier, isFile, isIncludedModule, isIncludedPackage, packageName, processClass, processClass, processDependency, processedModule, processFile, processModule, processModule, processModule, processPackage, processPackage, processRegistry, processSubsystem, processSubsystem, processTarget, processTargets, setClassProcessor, setModuleProcessor, setPackageProcessor, setRegistryProcessor, setSubsystemProcessor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ptc.windchill.util.packaging.install.InstallParticipant
initialize, postProcess
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

SIMPLE_CLASSNAME

private static final String SIMPLE_CLASSNAME

DEBUG

public static final boolean DEBUG

LOG

private static final DebugWriter LOG

install_mode

protected boolean install_mode
Constructor Detail

AbstractInstallParticipant

public AbstractInstallParticipant()
Method Detail

installModule

public void installModule(UnitIdentifier module)
                   throws WTException
Install the module.

Supported API: false

Specified by:
installModule in interface InstallParticipant
Parameters:
module -
Throws:
WTException

unInstallModule

public void unInstallModule(UnitIdentifier module)
                     throws WTException
Uninstall the module.

Supported API: false

Specified by:
unInstallModule in interface InstallParticipant
Parameters:
module -
Throws:
WTException