WEB4J Development Tools 4.10.0.0

hirondelle.web4jtools.logview.simpleview
Class SimpleCriteria

Object
  extended by hirondelle.web4jtools.logview.simpleview.SimpleCriteria

public final class SimpleCriteria
extends Object

Model Object for the criteria entered by the user for viewing log files as simple text, in an unparsed form.


Constructor Summary
SimpleCriteria(SafeText aLogFor, SafeText aSection, Integer aNumLines, Integer aRefreshRate)
          Full constructor.
 
Method Summary
 boolean equals(Object aThat)
           
(package private)  LogFor getLogFor()
           
(package private)  Integer getNumLines()
           
(package private)  Integer getRefreshRate()
           
(package private)  Section getSection()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleCriteria

public SimpleCriteria(SafeText aLogFor,
                      SafeText aSection,
                      Integer aNumLines,
                      Integer aRefreshRate)
               throws ModelCtorException
Full constructor.

Parameters:
aLogFor - toggle between application logs and server logs (required). See LogFor.
aSection - either the first or last section of a log file; required only if aNumLines is specified. See Section.
aNumLines - number of lines to display; required only if aSection is specified; range 1..10,000.
aRefreshRate - frequency in seconds in which to refresh the listing; range 1..600.
Throws:
ModelCtorException
Method Detail

getNumLines

Integer getNumLines()

getRefreshRate

Integer getRefreshRate()

getSection

Section getSection()

getLogFor

LogFor getLogFor()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object aThat)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

WEB4J Development Tools 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26