|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.structconf.PropagationAction
com.infoengine.ieinstall.IePropertiesAction
A custom xconf file generator class. The class is called by the xconf routines during xconf propagation. It writes a correctly formatted ie.properties file based on the properties received from the site.xconf file.
Nested Class Summary | |
private class |
IePropertiesAction.MyTextDerivedFile
Inner class to handle writing the destination file. |
Field Summary | |
private IePropertiesAction.MyTextDerivedFile |
destinationFile
|
private static String |
ldapHostname
|
private static String |
managerDn
|
private static String |
managerPw
|
private static String |
propertyBaseDn
|
private static String |
rmiHostname
|
private static String |
serverPort
|
private static String |
serviceName
|
private String[] |
specialProps
|
private String |
thisName
|
Constructor Summary | |
IePropertiesAction()
Construct a new PropagationAction |
Method Summary | |
private void |
addXconfComments(IePropertiesAction.MyTextDerivedFile file)
Add comments to beginning of ie.properties file. |
(package private) Vector |
domain2Vector(String name)
Parses a fully qualified DNS name into components. |
void |
evaluate(CollectedProperties collected_properties)
Evaluate the custom propagation action. |
private PropertyInfo |
get(String property_name,
CollectedProperties collected_properties)
Retrieve the named property. |
DerivedFile[] |
getDerivedFiles()
Return the set of DerivedFile objects that will be updated if this custom propagation action is evaluated. |
(package private) String |
reverseDomain(String name)
Reverses the components of a fully qualified host or domain name. |
private String |
safeGet(String property_name,
CollectedProperties collected_properties)
Retrieve the named property. |
Methods inherited from class com.ptc.windchill.structconf.PropagationAction |
newPropagationActionException, newPropgationActionException |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private IePropertiesAction.MyTextDerivedFile destinationFile
private String thisName
private static String rmiHostname
private static String serviceName
private static String ldapHostname
private static String serverPort
private static String managerDn
private static String managerPw
private static String propertyBaseDn
private String[] specialProps
Constructor Detail |
public IePropertiesAction() throws PropagationActionException
PropagationActionException
- If an error occursMethod Detail |
public DerivedFile[] getDerivedFiles()
getDerivedFiles
in class PropagationAction
public void evaluate(CollectedProperties collected_properties) throws PropagationActionException
evaluate
in class PropagationAction
collected_properties
- Properties from site.xconf
PropagationActionException
- if there are problems evaluating the action and updating derived file instancesprivate PropertyInfo get(String property_name, CollectedProperties collected_properties)
property_name
- String name of the property.collected_properties
- The set of properties.
private String safeGet(String property_name, CollectedProperties collected_properties) throws PropagationActionException
property_name
- String name of the property.collected_properties
- The set of properties.
PropagationActionException
String reverseDomain(String name)
name
- A fully qualified DNS name such as myMachine.myCompany.com.
Vector domain2Vector(String name)
name
- A fully qualified DNS name such as myMachine.myCompany.com.
private void addXconfComments(IePropertiesAction.MyTextDerivedFile file)
file
- File to add comments to.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |