com.ptc.windchill.structconf
Class IncludeXconfFile

java.lang.Object
  extended bycom.ptc.windchill.structconf.StructConfManagerCommand
      extended bycom.ptc.windchill.structconf.IncludeXconfFile
Direct Known Subclasses:
InstallDeclarativeXconfFile

public class IncludeXconfFile
extends StructConfManagerCommand

Command to instruct the StructConfManager to add an ConfigurationRef entry to an xconf file.


Field Summary
private  boolean declarative_
           
private  String xconfFilePath_
           
 
Fields inherited from class com.ptc.windchill.structconf.StructConfManagerCommand
 
Constructor Summary
IncludeXconfFile(String xconf_file_path, boolean declarative)
          Include the specified path, which can be a path relative to the xconf to which the include will be added, an absolute path on the local file system, or an URL.
 
Method Summary
(package private)  void execute()
           
 
Methods inherited from class com.ptc.windchill.structconf.StructConfManagerCommand
execute, getCollector, getDeclarativeUpdater, getManager, getSiteUpdater, getUpdater, getUpdater, requiresSaveImmediatelyAfter, setRequiresSaveImmediatelyAfter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xconfFilePath_

private String xconfFilePath_

declarative_

private boolean declarative_
Constructor Detail

IncludeXconfFile

public IncludeXconfFile(String xconf_file_path,
                        boolean declarative)
Include the specified path, which can be a path relative to the xconf to which the include will be added, an absolute path on the local file system, or an URL.

Parameters:
declarative - if true add include to declarations.xconf, otherwise add it to site.xconf
Method Detail

execute

void execute()
       throws StructConfManagerException
Specified by:
execute in class StructConfManagerCommand
Throws:
StructConfManagerException