com.ptc.windchill.tools.ddl
Class DDLInstallGenerator
java.lang.Object
com.ptc.windchill.util.packaging.processor.PackagingTraverser
com.ptc.windchill.util.packaging.install.AbstractPackagingConsumer
com.ptc.windchill.util.packaging.install.AbstractInstallParticipant
com.ptc.windchill.tools.ddl.DDLInstallGenerator
- All Implemented Interfaces:
- ClassProcessor, ExecutableApp, InstallParticipant, ModuleProcessor, PackageProcessor, RegistryProcessor, Serializable, SubsystemProcessor
- public class DDLInstallGenerator
- extends AbstractInstallParticipant
- implements Serializable
Supported API: false
Extendable: false
- See Also:
- Serialized Form
Method Summary |
private void |
buildInstallScript(String assembly_name,
String module_name,
String artifact,
String extension,
String executekey,
String param)
|
private void |
buildStructScript(String assembly_name,
String module_name,
String artifact,
String extension,
String executekey,
String param)
|
protected String |
getArtifactExtension()
Supported API: false |
protected String |
getConsumerName()
Supported API: false |
private void |
initializeInstallDDLFiles(String artifact,
String extension)
|
protected boolean |
loadCache()
Supported API: false |
void |
processModule(UnitIdentifier module_identifier)
Supported API: false |
protected void |
storeCache()
Supported API: false |
Methods inherited from class com.ptc.windchill.util.packaging.install.AbstractPackagingConsumer |
getCacheArtifact, getContext, getUnitArtifact, initialize, initializeConfiguration, isCached, isInitialized, postProcess, 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, 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 |
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
CLASSNAME
private static final String CLASSNAME
SCRIPT_EXTENSION
private static final String SCRIPT_EXTENSION
- See Also:
- Constant Field Values
BAT_EXTENSION
private static final String BAT_EXTENSION
- See Also:
- Constant Field Values
BAT_EXECUTE
private static final String BAT_EXECUTE
- See Also:
- Constant Field Values
ORACLE_EXECUTE
private static final String ORACLE_EXECUTE
- See Also:
- Constant Field Values
BAT_PARAMS
private static final String BAT_PARAMS
- See Also:
- Constant Field Values
ARTIFACT_DIR_SQL
private static final String ARTIFACT_DIR_SQL
ARTIFACT_DIR_SQLSERVER
private static final String ARTIFACT_DIR_SQLSERVER
SIMPLE_CLASSNAME
private static final String SIMPLE_CLASSNAME
DEBUG
public static final boolean DEBUG
LOG
private static final DebugWriter LOG
properties
private static WTProperties properties
DATA_STORE
private static final String DATA_STORE
DDLInstallGenerator
public DDLInstallGenerator()
getConsumerName
protected String getConsumerName()
Supported API: false
- Specified by:
getConsumerName
in class AbstractPackagingConsumer
- Returns:
- String
getArtifactExtension
protected String getArtifactExtension()
Supported API: false
- Specified by:
getArtifactExtension
in class AbstractPackagingConsumer
- Returns:
- String
loadCache
protected boolean loadCache()
throws WTException
Supported API: false
- Specified by:
loadCache
in class AbstractPackagingConsumer
- Returns:
- boolean
- Throws:
WTException
storeCache
protected void storeCache()
throws WTException
Supported API: false
- Specified by:
storeCache
in class AbstractPackagingConsumer
- Throws:
WTException
processModule
public void processModule(UnitIdentifier module_identifier)
throws WTException
Supported API: false
- Specified by:
processModule
in interface ModuleProcessor
- Overrides:
processModule
in class PackagingTraverser
- Parameters:
module_identifier
-
- Throws:
WTException
buildInstallScript
private void buildInstallScript(String assembly_name,
String module_name,
String artifact,
String extension,
String executekey,
String param)
throws WTException
- Throws:
WTException
initializeInstallDDLFiles
private void initializeInstallDDLFiles(String artifact,
String extension)
throws WTException
- Throws:
WTException
buildStructScript
private void buildStructScript(String assembly_name,
String module_name,
String artifact,
String extension,
String executekey,
String param)
throws WTException
- Throws:
WTException