de.is24.util.monitoring
Class StateValueProvider

java.lang.Object
  extended by de.is24.util.monitoring.StateValueProvider
All Implemented Interfaces:
Reportable
Direct Known Subclasses:
AbstractStateValueProvider, SimpleStateValueProvider

public abstract class StateValueProvider
extends Object
implements Reportable

StateValueProviders allow access to a numeric value (long), that is already available in the application

Author:
OSchmitz

Field Summary
private static org.apache.log4j.Logger LOGGER
           
 
Constructor Summary
StateValueProvider()
           
 
Method Summary
 void accept(ReportVisitor aVisitor)
          Implements the visitor pattern to read this StateValueProvider
abstract  String getName()
          the name of the state value
abstract  long getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

private static final org.apache.log4j.Logger LOGGER
Constructor Detail

StateValueProvider

public StateValueProvider()
Method Detail

accept

public void accept(ReportVisitor aVisitor)
Implements the visitor pattern to read this StateValueProvider

Specified by:
accept in interface Reportable

getValue

public abstract long getValue()
Returns:
return the value of the state value

getName

public abstract String getName()
the name of the state value

Specified by:
getName in interface Reportable


Copyright © 2013 Immobilien Scout GmbH. All Rights Reserved.