Package COM.TIBCO.hawk.config.rbengine
Interface RBEConfigObject
public interface RBEConfigObject
This interface provides the facilities required to save
RuleBaseEngine configuration objects to files. It
provides methods to compute the file name as well as
a method to produce an XML representation of the object.
By convention, all classes that implement this interface should include a constructor that allows instances to be recreated from a Reader containing an XML representation produced by the toXML() method.
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the checksum of the configuration objectReturns file extension based on the configuration object type.getName()Returns the name for this RuleBaseEngine configuration object.voidWrite the configuration object to the writer in XML.
-
Method Details
-
getName
String getName()Returns the name for this RuleBaseEngine configuration object.This name, together with the file extention returned by getFileExtention(), should be used as the file name if this object is saved to a file.
-
getFileExtension
String getFileExtension()Returns file extension based on the configuration object type.- Returns:
- the file extension of the configuration object
-
toXML
Write the configuration object to the writer in XML.- Throws:
RBEConfigObjectException
-
getChecksum
long getChecksum()Returns the checksum of the configuration object
-