de.is24.util.monitoring
Class AbstractStateValueProvider

java.lang.Object
  extended by de.is24.util.monitoring.StateValueProvider
      extended by de.is24.util.monitoring.AbstractStateValueProvider
All Implemented Interfaces:
Reportable

public abstract class AbstractStateValueProvider
extends StateValueProvider

Convenience implementation of StateValueProvider. Implements the getName() interface method with a constructor argument name.

Author:
Stefan Schubert, IT-E, IS24

Field Summary
private  String name
           
 
Constructor Summary
AbstractStateValueProvider(String name)
           
 
Method Summary
 String getName()
          the name of the state value
 
Methods inherited from class de.is24.util.monitoring.StateValueProvider
accept, getValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private final String name
Constructor Detail

AbstractStateValueProvider

public AbstractStateValueProvider(String name)
Parameters:
name - the name of this StateValueProvider. May not be blank.
Method Detail

getName

public String getName()
Description copied from class: StateValueProvider
the name of the state value

Specified by:
getName in interface Reportable
Specified by:
getName in class StateValueProvider


Copyright © 2013 Immobilien Scout GmbH. All Rights Reserved.