|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jdeveloper.audit.analyzer.Profileable
oracle.jdeveloper.audit.analyzer.Attribute
oracle.jdeveloper.audit.analyzer.Metric
An attribute computed during a traversal of the Audit object model. It differs from a column in that the latter does not require a traversal. The configurable state of a metric is exposed through JavaBeans properties. Every metric has category, name, enabled, value class, warning threshold, and error threshold properties inherited from Attribute. A metric can expose additional properties which the Audit framework will discover by introspection and add to the appropriate Audit preferences panel.
Localized label, tool tip, and description strings are returned by this
class using the Localizer
supplied to the constructor and the following
keys:
"metric." + getName() + ".label"
"metric." + getName() + ".tip"
"metric." + getName() + ".description"
Localizer
Field Summary |
Fields inherited from class oracle.jdeveloper.audit.analyzer.Attribute |
comparator, threshold, type |
Constructor Summary | |
Metric(java.lang.String name,
Category category,
java.lang.Class type,
Localizer localizer)
Creates a metric with no thresholds. |
|
Metric(java.lang.String name,
Category category,
java.lang.Class type,
java.lang.Object threshold,
Localizer localizer)
Creates a metric. |
Method Summary | |
java.lang.String |
description()
Gets the localized description text for this metric from its localizer using the key "metric." + getName() + ".description" . |
java.lang.String |
label()
Gets the localized label text for this metric from its localizer using the key "metric." + getName() + ".label" . |
java.lang.String |
tip()
Gets the localized tool tip text for this metric from its localizer using the key "metric." + getName() + ".tip" . |
java.lang.String |
toString()
|
Methods inherited from class oracle.jdeveloper.audit.analyzer.Attribute |
comparator, getCategory, getEvaluator, getThreshold, getType, isEnabled, setEnabled, setThreshold |
Methods inherited from class oracle.jdeveloper.audit.analyzer.Profileable |
addPropertyChangeListener, addPropertyChangeListener, context, context, equals, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, hashCode, name, removePropertyChangeListener, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Metric(java.lang.String name, Category category, java.lang.Class type, java.lang.Object threshold, Localizer localizer)
name
- The name of this metric.category
- The category of this metric.type
- The type of this metric.threshold
- The threshold of this metric.localizer
- The localizer which supplies localized strings for this
metric.public Metric(java.lang.String name, Category category, java.lang.Class type, Localizer localizer)
name
- The name of this metric.category
- The category of this metric.type
- The type of this metric.localizer
- The localizer which supplies localized strings for
this metric.Method Detail |
public java.lang.String label()
"metric." + getName() + ".label"
.
label
in class Profileable
Localizer
public java.lang.String tip()
"metric." + getName() + ".tip"
.
tip
in class Profileable
Localizer
public java.lang.String description()
"metric." + getName() + ".description"
.
description
in class Profileable
Localizer
public java.lang.String toString()
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.