Interface LogCategory


  • public interface LogCategory
    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.
    Since:
    MicroStrategy Web 7.5.2
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Enumeration elements()
      Returns an enumeration of LogCounter objects.
      LogCounter get​(int index)
      Returns the log counter at the index passed.
      LogCounter getItemByName​(java.lang.String name)
      Returns the log counter with name passed.
      java.lang.String getName()
      Returns the name of this category.
      boolean isEmpty()
      Conveys whether the log counters collection is empty.
      int size()
      Returns the size of this collection of log counter
    • Method Detail

      • elements

        java.util.Enumeration elements()
        Returns an enumeration of LogCounter objects.
        Returns:
        Enumeration list of log counters.
      • get

        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.
      • getItemByName

        LogCounter getItemByName​(java.lang.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.
      • size

        int size()
        Returns the size of this collection of log counter
        Returns:
        int the number of log counters.
      • getName

        java.lang.String getName()
        Returns the name of this category.
        Returns:
        String the name of this category.
      • isEmpty

        boolean isEmpty()
        Conveys whether the log counters collection is empty.
        Returns:
        True if there are no LogCounter objects in the collection.