Class ConsoleWindows

    • Field Detail

      • TYPE_APPLICATION

        public static final int TYPE_APPLICATION
        Application.
        See Also:
        Constant Field Values
      • TYPE_DIRECTORY_SERVICE

        public static final int TYPE_DIRECTORY_SERVICE
        Directory service.
        See Also:
        Constant Field Values
      • TYPE_FILE_REPLICATION_SERVICE

        public static final int TYPE_FILE_REPLICATION_SERVICE
        File replication service.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ConsoleWindows

        public ConsoleWindows()
    • Method Detail

      • loadConsole

        protected void loadConsole​(com.uc4.util.XMLDocument doc,
                                   org.w3c.dom.Element eventCons)
        Specified by:
        loadConsole in class ConsoleEventSetting
      • storeConsole

        protected void storeConsole​(com.uc4.util.XMLDocument doc,
                                    org.w3c.dom.Element eventCons)
        Specified by:
        storeConsole in class ConsoleEventSetting
      • size

        public int size()
        Returns:
        Number of filter entries
      • clear

        public void clear()
        Removes all filters.
      • getCategory

        public int getCategory()
        Returns:
        Windows Event's category
      • setCategory

        public void setCategory​(int category)
        Sets the Windows Event's category The category is defined by the source which has logged the Event. It is comprised of Events of the same categorical value. Category names must be numbers. No particular category is filtered if value "0" has been specified.
        Parameters:
        category - Windows Event's category, integer between 0 and 99
      • getSource

        public java.lang.String getSource()
        Returns:
        Windows Event's source
      • setSource

        public void setSource​(java.lang.String source)
        Determine the Windows Event's source.
        Parameters:
        source - Source
      • getType

        public int getType()
        Returns:
        Type of the log that should be monitored
      • setType

        public void setType​(int type)
        Select the log to be monitored (system, security, application, directory service, DNS server or File Replication Service). Use one of the public constants that are defined in this class.
        Parameters:
        type - Type of the log that should be monitored