Extension SDK 9.0.5

oracle.jdeveloper.audit.analyzer
Class Category

java.lang.Object
  extended byoracle.jdeveloper.audit.analyzer.Profileable
      extended byoracle.jdeveloper.audit.analyzer.Category

public class Category
extends Profileable

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:

   "category." + name() + ".label"
   "category." + name() + ".tip"
   "category." + name() + ".description"

See Also:
'

Constructor Summary
Category(java.lang.Class context, java.lang.String name, Localizer localizer)
          Creates a category with a specified context class.
Category(java.lang.String name, Localizer localizer)
          Creates a category.
 
Method Summary
 java.lang.String description()
          Gets the localized description for this profileable.
 java.lang.String label()
          Gets the localized label text for this profileable.
 java.lang.String tip()
          Gets the localized tool tip text for this profileable.
 java.lang.String toString()
           
 
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

Category

public Category(java.lang.String name,
                Localizer localizer)
Creates a category.

Parameters:
name - The non-localized name of this category.
localizer - The localizer which supplies localized strings for this category.

Category

public Category(java.lang.Class context,
                java.lang.String name,
                Localizer localizer)
Creates a category with a specified context class.

Parameters:
context - The context class
name - The non-localized name of this category.
localizer - The localizer which supplies localized strings for this category.
Method Detail

label

public java.lang.String label()
Description copied from class: Profileable
Gets the localized label text for this profileable.

Specified by:
label in class Profileable

tip

public java.lang.String tip()
Description copied from class: Profileable
Gets the localized tool tip text for this profileable.

Specified by:
tip in class Profileable

description

public java.lang.String description()
Description copied from class: Profileable
Gets the localized description for this profileable.

Specified by:
description in class Profileable

toString

public java.lang.String toString()

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.