Class MonitoredConverter<V extends Monitored>
- java.lang.Object
-
- edu.uiuc.ncsa.security.storage.data.MapConverter<V>
-
- edu.uiuc.ncsa.security.storage.monitored.MonitoredConverter<V>
-
- All Implemented Interfaces:
XMLConverter<V>
public class MonitoredConverter<V extends Monitored> extends MapConverter<V>
Created by Jeff Gaynor
on 3/29/23 at 8:26 AM
-
-
Field Summary
-
Fields inherited from class edu.uiuc.ncsa.security.storage.data.MapConverter
keys, provider
-
-
Constructor Summary
Constructors Constructor Description MonitoredConverter(MonitoredKeys keys, IdentifiableProvider<V> provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V
fromMap(ConversionMap<String,Object> map, V client)
MonitoredKeys
getKeys()
void
toMap(V v, ConversionMap<String,Object> map)
Takes the value and writes the data to the map.-
Methods inherited from class edu.uiuc.ncsa.security.storage.data.MapConverter
createIfNeeded, fromMap, fromMap, getProvider, subset, toMap
-
-
-
-
Constructor Detail
-
MonitoredConverter
public MonitoredConverter(MonitoredKeys keys, IdentifiableProvider<V> provider)
-
-
Method Detail
-
getKeys
public MonitoredKeys getKeys()
- Overrides:
getKeys
in classMapConverter<V extends Monitored>
-
fromMap
public V fromMap(ConversionMap<String,Object> map, V client)
- Overrides:
fromMap
in classMapConverter<V extends Monitored>
-
toMap
public void toMap(V v, ConversionMap<String,Object> map)
Description copied from class:MapConverter
Takes the value and writes the data to the map. The reason that the map is supplied is that there are many specialized maps. It would place undue constraints on this class to try and manage these as well.- Overrides:
toMap
in classMapConverter<V extends Monitored>
-
-