Class ProgressId
java.lang.Object
com.riadalabs.jira.plugins.insight.services.progress.model.ProgressId
- All Implemented Interfaces:
Serializable
A progress id made up of two concepts:
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.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProgressId
(String resourceId, com.riadalabs.jira.plugins.insight.services.progress.ProgressCategory category) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic ProgressId
boolean
com.riadalabs.jira.plugins.insight.services.progress.ProgressCategory
Deprecated.the category as ProgressCategory will throwIllegalStateException
if this progress id's category can not be represented as aProgressCategory
getUUID()
int
hashCode()
boolean
isCacheKeySameCategory
(String otherCacheKey) static ProgressId
static ProgressId
newInstance
(Integer resourceId, com.riadalabs.jira.plugins.insight.services.progress.ProgressCategory category) Deprecated.usecreate(String, String)
insteadstatic ProgressId
newInstance
(String resourceId, com.riadalabs.jira.plugins.insight.services.progress.ProgressCategory category) Deprecated.usecreate(String, String)
insteadstatic ProgressId
newInstanceFromCacheKey
(String cacheKey) toString()
-
Constructor Details
-
ProgressId
@Deprecated public ProgressId(String resourceId, com.riadalabs.jira.plugins.insight.services.progress.ProgressCategory category) Deprecated.usecreate(String, String)
instead
-
-
Method Details
-
create
-
newInstance
@Deprecated public static ProgressId newInstance(String resourceId, com.riadalabs.jira.plugins.insight.services.progress.ProgressCategory category) Deprecated.usecreate(String, String)
instead -
newInstance
@Deprecated public static ProgressId newInstance(Integer resourceId, com.riadalabs.jira.plugins.insight.services.progress.ProgressCategory category) Deprecated.usecreate(String, String)
instead -
newAsyncTaskInstance
-
newInstanceFromCacheKey
-
getResourceId
-
getProgressCategory
@Deprecated public com.riadalabs.jira.plugins.insight.services.progress.ProgressCategory getProgressCategory()Deprecated.the category as ProgressCategory will throwIllegalStateException
if this progress id's category can not be represented as aProgressCategory
-
getCategory
-
getUUID
-
hashCode
public int hashCode() -
equals
-
toCacheKey
-
getCacheKey
-
isCacheKeySameCategory
-
toString
-
create(String, String)
instead