public interface

LogCategory

com.microstrategy.web.objects.admin.serverconfig.LogCategory

Class Overview

This interface represents a log category. A log category is a collection of log counters. The methods on this interface help browse the collection of log counters and query the properties of the cateogory e.g. name.

Summary

Public Methods
abstract Enumeration elements()
Returns an enumeration of LogCounter objects.
abstract LogCounter get(int index)
Returns the log counter at the index passed.
abstract LogCounter getItemByName(String name)
Returns the log counter with name passed.
abstract String getName()
Returns the name of this category.
abstract boolean isEmpty()
Conveys whether the log counters collection is empty.
abstract int size()
Returns the size of this collection of log counter

Public Methods

public abstract Enumeration elements ()

Returns an enumeration of LogCounter objects.

Returns
  • Enumeration list of log counters.

public abstract LogCounter get (int index)

Returns the log counter at the index passed.

Parameters
index the index for the log counter queried.
Returns
  • the log counter at the index passed.

public abstract LogCounter getItemByName (String name)

Returns the log counter with name passed.

Parameters
name the name of log counter queried.
Returns
  • the log counter with the name passed.

public abstract String getName ()

Returns the name of this category.

Returns
  • String the name of this category.

public abstract boolean isEmpty ()

Conveys whether the log counters collection is empty.

Returns
  • True if there are no LogCounter objects in the collection.

public abstract int size ()

Returns the size of this collection of log counter

Returns
  • int the number of log counters.