org.eclipse.jetty.monitor.jmx
Class EventState.TriggerState<TYPE>

java.lang.Object
  extended by org.eclipse.jetty.monitor.jmx.EventState.TriggerState<TYPE>
Enclosing class:
EventState<TYPE>

public static class EventState.TriggerState<TYPE>
extends Object

State Holds the state of a single event trigger


Constructor Summary
EventState.TriggerState(String id, String desc, TYPE value)
          Construct a trigger state
 
Method Summary
 String getDescription()
          Retrieve the description string set by event trigger
 String getID()
          Retrieve the identification string of associated event trigger
 TYPE getValue()
          Retrieve the effective value of the MXBean attribute (if applicable)
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EventState.TriggerState

public EventState.TriggerState(String id,
                               String desc,
                               TYPE value)
Construct a trigger state

Parameters:
id - unique identification string of the associated event trigger
desc - description of the associated event trigger
value - effective value of the MXBean attribute (if applicable)
Method Detail

getID

public String getID()
Retrieve the identification string of associated event trigger

Returns:
unique identification string

getDescription

public String getDescription()
Retrieve the description string set by event trigger

Returns:
description string

getValue

public TYPE getValue()
Retrieve the effective value of the MXBean attribute (if applicable)

Returns:
attribute value

toString

public String toString()
Overrides:
toString in class Object
Returns:
string representation of the state


Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.