|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.util.packaging.install.ModuleRegistrarImpl
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static boolean |
DEBUG
|
private static boolean |
FORCE_INSTALL
|
private static UnitIdentifierFactory |
idFactory
|
private static DebugWriter |
LOG
|
static boolean |
PROCESS_MULTIPLE
|
private HashSet |
processedModules
|
private InstallPublisher |
publisher
|
private static MutableModuleRegistry |
registry
|
private static String |
RESOURCE
|
protected static MappedRegistry |
scmRegistry
|
Constructor Summary | |
ModuleRegistrarImpl()
|
Method Summary | |
private boolean |
dirExists(String dir)
|
protected InstallPublisher |
getPublisher()
Gets the object for the association that plays role: publisher. |
protected void |
installDependencies(ModuleDescriptor module)
Supported API: false |
protected void |
installModule(ModuleDescriptor module)
Supported API: false |
void |
installModule(String name,
boolean dependencies)
Install named module into ModuleRegistry and ensure that; any current PackagingConsumers are notified of the new module, and any new PackagingConsumers are added to the list of interested notification recipients. |
void |
installModule(UnitIdentifier module,
boolean dependencies)
Install identified module into ModuleRegistry and ensure that; any current PackagingConsumers are notified of the new module, and any new PackagingConsumers are added to the list of interested notification recipients. |
boolean |
isInstalled(ModuleDescriptor module)
Determine if a module is installed. |
protected void |
processedModule(UnitIdentifier module)
|
protected void |
unInstallDependencies(ModuleDescriptor module)
Supported API: false |
protected void |
unInstallModule(ModuleDescriptor module)
Supported API: false |
void |
unInstallModule(String name,
boolean dependencies)
Uninstall identified module from ModuleRegistry and ensure that; any current PackagingConsumers are notified of the removed module, and any removed PackagingConsumers are removed from the list of interested notification recipients. |
void |
unInstallModule(UnitIdentifier module,
boolean dependencies)
Uninstall named module from ModuleRegistry and ensure that; any current PackagingConsumers are notified of the removed module, and any removed PackagingConsumers are removed from the list of interested notification recipients. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private InstallPublisher publisher
public static final boolean DEBUG
private static final DebugWriter LOG
private static UnitIdentifierFactory idFactory
private static MutableModuleRegistry registry
private static final boolean FORCE_INSTALL
public static final boolean PROCESS_MULTIPLE
private HashSet processedModules
protected static MappedRegistry scmRegistry
Constructor Detail |
public ModuleRegistrarImpl()
Method Detail |
protected InstallPublisher getPublisher()
protected void installModule(ModuleDescriptor module) throws WTException
module
-
WTException
protected void installDependencies(ModuleDescriptor module) throws WTException
module
-
WTException
protected void unInstallModule(ModuleDescriptor module) throws WTException
module
-
WTException
protected void unInstallDependencies(ModuleDescriptor module) throws WTException
module
-
WTException
public void installModule(String name, boolean dependencies) throws WTException
installModule
in interface ModuleRegistrar
name
- dependencies
-
WTException
public void installModule(UnitIdentifier module, boolean dependencies) throws WTException
installModule
in interface ModuleRegistrar
module
- dependencies
-
WTException
public void unInstallModule(String name, boolean dependencies) throws WTException
unInstallModule
in interface ModuleRegistrar
name
- dependencies
-
WTException
public void unInstallModule(UnitIdentifier module, boolean dependencies) throws WTException
unInstallModule
in interface ModuleRegistrar
module
- dependencies
-
WTException
public boolean isInstalled(ModuleDescriptor module)
module
- private boolean dirExists(String dir)
protected void processedModule(UnitIdentifier module)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |