T - public abstract class IdStore<T> extends Object implements hudson.ExtensionPoint
| Modifier and Type | Method and Description |
|---|---|
static <C> IdStore<C> |
forClass(Class<C> clazz)
Retrieve an
IdStore for the given type |
abstract String |
get(T object)
Get the id for this given object.
|
static String |
getId(Object object)
Convenience method which retrieves the id for the given object.
|
abstract void |
make(T object)
Creates an unique id for the given object.
|
static void |
makeId(Object object)
Convenience method which makes the id for the given object.
|
boolean |
supports(Class clazz) |
public abstract void make(T object)
object - @Nullable public abstract String get(T object)
object - public boolean supports(Class clazz)
@Nullable public static <C> IdStore<C> forClass(Class<C> clazz)
IdStore for the given typeC - clazz - public static void makeId(Object object)
IllegalArgumentException - if the type is not supported.public static String getId(Object object)
IllegalArgumentException - if the type is not supported.Copyright © 2004-2014. All Rights Reserved.