|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jdeveloper.audit.extension.ExtensionBean oracle.jdeveloper.audit.analyzer.Category
public class Category
A category of rules or metrics. Categories primarily serve to group rules or metrics, but they can also expose properties. Typically, these would be properties shared by more than one of the rules or metrics in the category.
Category names are scoped by analyzer class. Typically, a single analyzer creates a category and all the rules or metrics in the category. However, an analyzer can associate a rule or metric it creates with a category created by another analyzer by supplying the class of the other analyzer as the context.
Localized label, tool tip, and description strings are returned by this
class using the Localizer
supplied to the constructor and the following
keys:
See
"category." + name() + ".label"
"category." + name() + ".tip"
"category." + name() + ".description"
ExtensionBean.labelOrId()
and ExtensionBean.description()
.
'
Field Summary |
---|
Fields inherited from class oracle.jdeveloper.audit.extension.ExtensionBean |
---|
DESCRIPTION_KEY, LABEL_KEY, SHORT_LABEL_KEY, TIP_KEY |
Constructor Summary | |
---|---|
Category()
Creates a category. |
|
Category(java.lang.String name,
Category category,
Localizer localizer)
Creates a category. |
|
Category(java.lang.String name,
Localizer localizer)
Creates a category. |
|
Category(java.lang.String id,
java.lang.String extensionId,
Category category)
Creates a category. |
Method Summary | |
---|---|
protected void |
copyInternalState(ExtensionBean copy,
java.util.IdentityHashMap<java.lang.Object,java.lang.Object> context)
Copies internal subclass state as part of creating a copy of this bean. |
Category |
getCategory()
|
java.lang.String |
toString()
|
Methods inherited from class oracle.jdeveloper.audit.extension.ExtensionBean |
---|
addPropertyChangeListener, addPropertyChangeListener, createCopy, description, equals, extensionId, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, formattedString, formattedString, hashCode, id, label, labelOrId, logError, logWarning, propertyDescription, propertyLabel, propertyString, propertyTip, removePropertyChangeListener, removePropertyChangeListener, setCompatibilityBundle, setStrings, setters, shortLabel, string, strings, tip |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Category()
ExtensionBean.id
,
ExtensionBean.extensionId
, and category
fields.
public Category(java.lang.String name, Localizer localizer)
name
- The non-localized name of this category.localizer
- The localizer which supplies localized strings for this
category.public Category(java.lang.String name, Category category, Localizer localizer)
name
- The non-localized name of this category.localizer
- The localizer which supplies localized strings for this
category.public Category(java.lang.String id, java.lang.String extensionId, Category category)
Th Audit framework uses this constructor used for categories declared in an extension manifest.
id
- The id of this category.Method Detail |
---|
protected void copyInternalState(ExtensionBean copy, java.util.IdentityHashMap<java.lang.Object,java.lang.Object> context) throws java.lang.reflect.InvocationTargetException
ExtensionBean
copyInternalState
in class ExtensionBean
copy
- The partially initialized copy.context
- A map which allows subclasses to preserve object identity
when copying a graph of extension beans.
java.lang.reflect.InvocationTargetException
ExtensionBean.createCopy(java.util.IdentityHashMap)
public Category getCategory()
public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |