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

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
              extended bycom.ptc.windchill.util.packaging.install.PropertiesAggregator
                  extended bycom.ptc.windchill.util.packaging.install.InstallPublisher
All Implemented Interfaces:
ClassProcessor, ExecutableApp, InstallParticipant, ModuleProcessor, PackageProcessor, RegistryProcessor, Serializable, SubsystemProcessor

public class InstallPublisher
extends PropertiesAggregator
implements Serializable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
static boolean DEBUG
           
private static DebugWriter LOG
           
private  HashSet participant
           
private static String RESOURCE
           
private static String SIMPLE_CLASSNAME
           
 
Fields inherited from class com.ptc.windchill.util.packaging.install.PropertiesAggregator
 
Fields inherited from class com.ptc.windchill.util.packaging.install.AbstractInstallParticipant
install_mode
 
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
InstallPublisher()
          

Supported API: false
 
Method Summary
protected  void accumulateEntry(UnitIdentifier unit, String key, String value)
          

Supported API: false
protected  InstallParticipant constructParticipant(String key, String value)
          

Supported API: false
 void initialize()
          Initialize any configuration variables and prepare output files for writing (loadCache).
 void notifyParticipants(ModuleDescriptor module, boolean install)
          

Supported API: false
 void postProcess()
          Write and close output files (storeCache).
 
Methods inherited from class com.ptc.windchill.util.packaging.install.PropertiesAggregator
accumulateUnit, getAggregateCache, getArtifactExtension, getConsumerName, loadCache, loadProperties, processModule, processPackage, processSubsystem, setAggregateCache, setConsumerName, storeCache
 
Methods inherited from class com.ptc.windchill.util.packaging.install.AbstractInstallParticipant
installModule, unInstallModule
 
Methods inherited from class com.ptc.windchill.util.packaging.install.AbstractPackagingConsumer
getCacheArtifact, getContext, getUnitArtifact, initializeConfiguration, isCached, isInitialized, processModule, setCached, setContext, setInitialized
 
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, processPackage, processRegistry, 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
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

participant

private HashSet participant

SIMPLE_CLASSNAME

private static final String SIMPLE_CLASSNAME

DEBUG

public static final boolean DEBUG

LOG

private static final DebugWriter LOG
Constructor Detail

InstallPublisher

public InstallPublisher()


Supported API: false

Method Detail

notifyParticipants

public void notifyParticipants(ModuleDescriptor module,
                               boolean install)
                        throws WTException


Supported API: false

Parameters:
module -
install -
Throws:
WTException

accumulateEntry

protected void accumulateEntry(UnitIdentifier unit,
                               String key,
                               String value)
                        throws WTException


Supported API: false

Overrides:
accumulateEntry in class PropertiesAggregator
Parameters:
unit -
key -
value -
Throws:
WTException

constructParticipant

protected InstallParticipant constructParticipant(String key,
                                                  String value)
                                           throws WTException


Supported API: false

Parameters:
key -
value -
Returns:
InstallParticipant
Throws:
WTException

initialize

public void initialize()
                throws WTException
Description copied from interface: InstallParticipant
Initialize any configuration variables and prepare output files for writing (loadCache).

Supported API: false

Specified by:
initialize in interface InstallParticipant
Overrides:
initialize in class AbstractPackagingConsumer
Throws:
WTException

postProcess

public void postProcess()
                 throws WTException
Description copied from interface: InstallParticipant
Write and close output files (storeCache).

Supported API: false

Specified by:
postProcess in interface InstallParticipant
Overrides:
postProcess in class AbstractPackagingConsumer
Throws:
WTException