Class MigrationEntryConverter<V extends MigrationEntry>
- java.lang.Object
-
- edu.uiuc.ncsa.security.storage.data.MapConverter<V>
-
- org.oa4mp.server.admin.migrate.tools.oauth2.myproxy.MigrationEntryConverter<V>
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.XMLConverter<V>
public class MigrationEntryConverter<V extends MigrationEntry> extends edu.uiuc.ncsa.security.storage.data.MapConverter<V>
Created by Jeff Gaynor
on 2/26/24 at 11:48 AM
-
-
Constructor Summary
Constructors Constructor Description MigrationEntryConverter(MigrateKeys keys, edu.uiuc.ncsa.security.core.IdentifiableProvider<V> provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V
fromMap(edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> map, V v)
MigrateKeys
getKeys()
protected boolean
testKey(Map map, String key)
Idiom for testing that the map contains the key AND the value is not null.void
toMap(V value, edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> data)
-
-
-
Constructor Detail
-
MigrationEntryConverter
public MigrationEntryConverter(MigrateKeys keys, edu.uiuc.ncsa.security.core.IdentifiableProvider<V> provider)
-
-
Method Detail
-
getKeys
public MigrateKeys getKeys()
- Overrides:
getKeys
in classedu.uiuc.ncsa.security.storage.data.MapConverter<V extends MigrationEntry>
-
fromMap
public V fromMap(edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> map, V v)
- Overrides:
fromMap
in classedu.uiuc.ncsa.security.storage.data.MapConverter<V extends MigrationEntry>
-
testKey
protected boolean testKey(Map map, String key)
Idiom for testing that the map contains the key AND the value is not null.- Parameters:
map
-key
-- Returns:
-
toMap
public void toMap(V value, edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> data)
- Overrides:
toMap
in classedu.uiuc.ncsa.security.storage.data.MapConverter<V extends MigrationEntry>
-
-