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 ProgressIdbooleancom.riadalabs.jira.plugins.insight.services.progress.ProgressCategoryDeprecated.the category as ProgressCategory will throwIllegalStateExceptionif this progress id's category can not be represented as aProgressCategorygetUUID()inthashCode()booleanisCacheKeySameCategory(String otherCacheKey) static ProgressIdstatic ProgressIdnewInstance(Integer resourceId, com.riadalabs.jira.plugins.insight.services.progress.ProgressCategory category) Deprecated.usecreate(String, String)insteadstatic ProgressIdnewInstance(String resourceId, com.riadalabs.jira.plugins.insight.services.progress.ProgressCategory category) Deprecated.usecreate(String, String)insteadstatic ProgressIdnewInstanceFromCacheKey(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 throwIllegalStateExceptionif 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