Class ProgressInProgress
java.lang.Object
com.riadalabs.jira.plugins.insight.services.progress.model.ProgressInProgress
This class is designed to inform nodes in a data center about ongoing progresses. Since the cache is not replicated
correctly so the nodes that did not start a progress has no information about ongoing progresses on other node. This
class is just a carrier of that information. If the Progress was replicated through the cache this class is not
needed
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProgressInProgress
create
(Date started, String executedAsUserKey, ProgressId progressId, String nodeId) static ProgressInProgress
createWithId
(Integer id, Date started, String executedAsUserKey, ProgressId progressId, String nodeId) static ProgressInProgress
createWithId
(Integer id, Date started, String executedAsUserKey, ProgressId progressId, String nodeId, Progress progress) getId()
void
setProgress
(Progress progress)
-
Method Details
-
create
public static ProgressInProgress create(Date started, String executedAsUserKey, ProgressId progressId, String nodeId) -
createWithId
public static ProgressInProgress createWithId(Integer id, Date started, String executedAsUserKey, ProgressId progressId, String nodeId) -
createWithId
public static ProgressInProgress createWithId(Integer id, Date started, String executedAsUserKey, ProgressId progressId, String nodeId, Progress progress) -
getId
-
getStarted
-
getExecutedAsUserKey
-
getNodeId
-
getProgressId
-
getProgress
-
setProgress
-