@Extension public class PersistenceRootIdStore extends IdStore<PersistenceRoot>
PersistenceRootIdStore allows the storing of a Unique ID for any PersistenceRoot item. This replaces the
need for FolderIdStore, JobIdStore and RunIdStoreExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
PersistenceRootIdStore() |
| Modifier and Type | Method and Description |
|---|---|
static void |
create(PersistenceRoot object,
String uniqueId) |
String |
get(PersistenceRoot object)
Get the id for this given object.
|
void |
make(PersistenceRoot object)
Creates an unique id for the given object.
|
public void make(PersistenceRoot object)
IdStoremake in class IdStore<PersistenceRoot>object - the object to make the id for.public String get(PersistenceRoot object)
IdStoreget in class IdStore<PersistenceRoot>object - the object.null if none assigned.@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public static void create(PersistenceRoot object, String uniqueId) throws IOException
IOExceptionCopyright © 2016–2019. All rights reserved.