com.ptc.windchill.structconf
Class SetPropertiesFromFile
java.lang.Object
com.ptc.windchill.structconf.StructConfManagerCommand
com.ptc.windchill.structconf.TargetFileBearingCommand
com.ptc.windchill.structconf.SetPropertiesFromFile
- public class SetPropertiesFromFile
- extends TargetFileBearingCommand
Command to instruct the StructConfManager to change the site-specific setting to use
property values from a property file.
Constructor Summary |
SetPropertiesFromFile(File property_file)
Create instance to set properties specified in a property file. |
SetPropertiesFromFile(File property_file,
String target_file)
Create instance to set properties specified in a property file, using the specified target file as the target file. |
Method Summary |
(package private) void |
execute()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
propertyFile_
private File propertyFile_
SetPropertiesFromFile
public SetPropertiesFromFile(File property_file)
- Create instance to set properties specified in a property file.
If the property is not declared anywhere, then the alternative constructor must be used to specify a target file.
- See Also:
#SetSiteProperty(java.lang.String,java.lang.String,java.lang.String)
SetPropertiesFromFile
public SetPropertiesFromFile(File property_file,
String target_file)
- Create instance to set properties specified in a property file, using the specified target file as the target file.
The target file must match the declared target file OR there must be no declaration of the property
in order to use this alternative.
execute
void execute()
throws StructConfManagerException
- Specified by:
execute
in class StructConfManagerCommand
- Throws:
StructConfManagerException