com.ptc.windchill.util
Class MutableModuleDir

java.lang.Object
  extended bycom.ptc.windchill.util.ModuleDir
      extended bycom.ptc.windchill.util.MutableModuleDir
All Implemented Interfaces:
ExecutableApp

public class MutableModuleDir
extends ModuleDir
implements ExecutableApp

MutableModuleDir adds the ability to modify module directory entries.

Supported API: false

Extendable: false


Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
 
Fields inherited from class com.ptc.windchill.util.ModuleDir
dirRegistry, MODULE_DIR_FILE, MODULE_INSTALL, MODULE_INSTALL_ROOT, WT_HOME, WT_ROOT
 
Constructor Summary
MutableModuleDir()
           
 
Method Summary
 void execute(String[] args)
          

Supported API: false
static void main(String[] args)
           
static void removeModuleDir(String module)
          Removes directory entry for module.
static void setModuleDir(String module, String dir)
          Sets root directory for a module.
 
Methods inherited from class com.ptc.windchill.util.ModuleDir
getModuleDir, getModuleInstallDir
 
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
Constructor Detail

MutableModuleDir

public MutableModuleDir()
Method Detail

setModuleDir

public static void setModuleDir(String module,
                                String dir)
Sets root directory for a module.

Supported API: false

Parameters:
module - name of the module
dir - root directory for the module

removeModuleDir

public static void removeModuleDir(String module)
Removes directory entry for module.

Supported API: false

Parameters:
module - name of the module

execute

public void execute(String[] args)
             throws WTException
Description copied from interface: ExecutableApp


Supported API: false

Specified by:
execute in interface ExecutableApp
Parameters:
args -
Throws:
WTException

main

public static void main(String[] args)