@PublicApi public class ProgressId extends Object implements Serializable
category: Each "functional area" (Import X, Import Y etc.)
resourceId: The id of the resource we want to track progress for. Could be an object id, object schema key etc.
Constructor and Description |
---|
ProgressId(String resourceId,
com.riadalabs.jira.plugins.insight.services.progress.ProgressCategory category)
Deprecated.
use
create(String, String) instead |
Modifier and Type | Method and Description |
---|---|
static ProgressId |
create(String resourceId,
String category) |
boolean |
equals(Object obj) |
String |
getCacheKey() |
String |
getCategory() |
com.riadalabs.jira.plugins.insight.services.progress.ProgressCategory |
getProgressCategory()
Deprecated.
the category as ProgressCategory will throw
IllegalStateException if this progress id's
category can not be represented as a ProgressCategory |
String |
getResourceId() |
String |
getUUID() |
int |
hashCode() |
boolean |
isCacheKeySameCategory(String otherCacheKey) |
static ProgressId |
newAsyncTaskInstance() |
static ProgressId |
newInstance(Integer resourceId,
com.riadalabs.jira.plugins.insight.services.progress.ProgressCategory category)
Deprecated.
use
create(String, String) instead |
static ProgressId |
newInstance(String resourceId,
com.riadalabs.jira.plugins.insight.services.progress.ProgressCategory category)
Deprecated.
use
create(String, String) instead |
static ProgressId |
newInstanceFromCacheKey(String cacheKey) |
String |
toCacheKey() |
String |
toString() |
@Deprecated public ProgressId(String resourceId, com.riadalabs.jira.plugins.insight.services.progress.ProgressCategory category)
create(String, String)
insteadpublic static ProgressId create(String resourceId, String category)
@Deprecated public static ProgressId newInstance(String resourceId, com.riadalabs.jira.plugins.insight.services.progress.ProgressCategory category)
create(String, String)
instead@Deprecated public static ProgressId newInstance(Integer resourceId, com.riadalabs.jira.plugins.insight.services.progress.ProgressCategory category)
create(String, String)
insteadpublic static ProgressId newAsyncTaskInstance()
public static ProgressId newInstanceFromCacheKey(String cacheKey)
public String getResourceId()
@Deprecated public com.riadalabs.jira.plugins.insight.services.progress.ProgressCategory getProgressCategory()
IllegalStateException
if this progress id's
category can not be represented as a ProgressCategory
public String getCategory()
public String getUUID()
public String toCacheKey()
public String getCacheKey()
public boolean isCacheKeySameCategory(String otherCacheKey)
Copyright © 2024 Atlassian. All rights reserved.
View cookie preferences