com.ptc.windchill.structconf
Class ResetSiteProperty

java.lang.Object
  extended bycom.ptc.windchill.structconf.StructConfManagerCommand
      extended bycom.ptc.windchill.structconf.ResetSiteProperty

public class ResetSiteProperty
extends StructConfManagerCommand

Command to instruct the StructConfManager to restore the site-specific value of the named property to the latest declared value for that property. This is useful when sites reference readonly, shared xconfs for common settings, but a developer needs to restore the value to its declared default rather than whats specified in the shared xconf.


Field Summary
private  String propertyName_
           
 
Fields inherited from class com.ptc.windchill.structconf.StructConfManagerCommand
 
Constructor Summary
ResetSiteProperty(String property_name)
           
 
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

propertyName_

private String propertyName_
Constructor Detail

ResetSiteProperty

public ResetSiteProperty(String property_name)
Method Detail

execute

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