public class SimpleStateValueProvider extends StateValueProvider
Implements StateValueProvider for easily adding a key - value pair to our inapplicationmonitor. Every time this class is implemented it is in an anonymous class ... I did not want to do this all the time, i have to use ist ;-)
| Constructor and Description |
|---|
SimpleStateValueProvider(String name,
long value) |
private final String name
private long value
public SimpleStateValueProvider(String name, long value)
public long getValue()
getValue in class StateValueProviderpublic String getName()
StateValueProvidergetName in interface ReportablegetName in class StateValueProviderpublic void setValue(long value)
Copyright © 2013 Immobilien Scout GmbH. All Rights Reserved.