|
Oracle Communications Services Gatekeeper Java API Reference 7.0.0.1 E96578-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.wlcp.wlng.api.edr.config.ConfigDescriptor
This class holds the information about the descriptor when reading the XML configuration file.
Field Summary | |
static java.lang.String |
ATTRIBUTE_CONJUNCTION
|
static java.lang.String |
CUSTOM_ATTRIBUTE
|
static java.lang.String |
CUSTOM_ATTRIBUTE_KEY
|
static java.lang.String |
CUSTOM_ATTRIBUTE_VALUE
|
static java.lang.String |
CUSTOM_REGEX_ATTRIBUTE
|
static java.lang.String |
FIELD_ID
|
static java.lang.String |
PART_DATA
|
static java.lang.String |
PART_FILTER
|
Constructor Summary | |
ConfigDescriptor()
Constructor. |
Method Summary | |
void |
addDataAttribute(java.lang.String key,
java.lang.String value)
|
void |
addFilterAttribute(java.lang.String key,
java.lang.String value)
Adds the filter key/value pair of the |
void |
addFilterRegexAttribute(java.lang.String key,
java.lang.String value)
Adds the filter regex key/value pair of the |
void |
addSource(com.bea.wlcp.wlng.edr.config.ConfigDescriptorSource descriptorSource)
Adds the filter source element ( |
boolean |
canBeCached()
Returns true if this descriptor can be cached. |
java.lang.String |
getDataAttribute(java.lang.String name)
|
java.util.Map |
getFilterAttributes()
|
java.util.Map |
getFilterRegexAttributes()
|
long |
getIdentifier()
Returns the identifier of the EDR. |
java.lang.String |
getIdentifierAsString()
Returns the identifier of the EDR as a string. |
java.lang.String |
getName()
|
int |
getPosition()
Gets the position of this descriptor relative to its xml configuration file. |
java.util.List |
getSources()
|
boolean |
isMatching(EdrData edr)
Returns true if the EdrData is matching this descriptor, false otherwise. |
void |
setConjunction(java.lang.String conjunction)
Relationship between conditions ("AND" or "OR", default: "OR"). |
void |
setDataAttributes(org.xml.sax.Attributes attributes)
Adds the data attribute. |
void |
setName(java.lang.String name)
Set the name of the descriptor. |
void |
setPosition(int position)
Sets the position of this descriptor relative to its xml configuration file. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String ATTRIBUTE_CONJUNCTION
public static final java.lang.String CUSTOM_ATTRIBUTE
public static final java.lang.String CUSTOM_ATTRIBUTE_KEY
public static final java.lang.String CUSTOM_ATTRIBUTE_VALUE
public static final java.lang.String CUSTOM_REGEX_ATTRIBUTE
public static final java.lang.String FIELD_ID
public static final java.lang.String PART_DATA
public static final java.lang.String PART_FILTER
Constructor Detail |
public ConfigDescriptor()
Method Detail |
public void addDataAttribute(java.lang.String key, java.lang.String value)
public void addFilterAttribute(java.lang.String key, java.lang.String value)
public void addFilterRegexAttribute(java.lang.String key, java.lang.String value)
public void addSource(com.bea.wlcp.wlng.edr.config.ConfigDescriptorSource descriptorSource)
public boolean canBeCached()
public java.lang.String getDataAttribute(java.lang.String name)
public java.util.Map getFilterAttributes()
public java.util.Map getFilterRegexAttributes()
public final long getIdentifier()
public final java.lang.String getIdentifierAsString()
public java.lang.String getName()
public int getPosition()
public java.util.List getSources()
public boolean isMatching(EdrData edr)
edr
- The EdrData object.
public void setConjunction(java.lang.String conjunction)
conjunction
- "AND" or "OR", default: "OR".public void setDataAttributes(org.xml.sax.Attributes attributes)
public void setName(java.lang.String name)
name
- Name of the descriptor (for example, 'edr', 'alarm', or 'cdr').public void setPosition(int position)
public java.lang.String toString()
|
Oracle Communications Services Gatekeeper Java API Reference 7.0.0.1 E96578-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |