T - @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @Deprecated public abstract class LegacyIdStore<T> extends Object implements hudson.ExtensionPoint
| Constructor and Description |
|---|
LegacyIdStore(Class<T> forType)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static <C> LegacyIdStore<C> |
forClass(Class<C> clazz)
Deprecated.
Retrieve an
LegacyIdStore for the given type |
abstract String |
get(T object)
Deprecated.
Get the id for this given object.
|
static String |
getId(Object object)
Deprecated.
Convenience method which retrieves the id for the given object.
|
abstract void |
remove(T object)
Deprecated.
Remove the unique id associated with the given object.
|
static void |
removeId(Object object)
Deprecated.
Convenience method which makes the id for the given object.
|
boolean |
supports(Class clazz)
Deprecated.
|
public abstract void remove(T object) throws IOException
object - IOException@Nullable public abstract String get(T object)
object - public boolean supports(Class clazz)
@Nullable public static <C> LegacyIdStore<C> forClass(Class<C> clazz)
LegacyIdStore for the given typeC - clazz - public static void removeId(Object object) throws IOException
IllegalArgumentException - if the type is not supported.IOException - if we could not remove the ID from the Object.public static String getId(Object object)
IllegalArgumentException - if the type is not supported.Copyright © 2016. All rights reserved.