Class ReIndexJobJson
- java.lang.Object
-
- com.atlassian.confluence.plugins.rebuildindex.status.ReIndexJobJson
-
public class ReIndexJobJson extends Object
-
-
Constructor Summary
Constructors Constructor Description ReIndexJobJson(ReIndexJob reIndexJob)ReIndexJobJson(String id, Long startTime, Long finishTime, Long duration, ReIndexStage stage, boolean acknowledged, long progress, Collection<ReIndexNodeStatusJson> nodeStatuses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable LonggetDuration()@Nullable LonggetFinishTime()StringgetId()Collection<ReIndexNodeStatusJson>getNodeStatuses()longgetProgress()ReIndexStagegetStage()LonggetStartTime()booleanisAcknowledged()
-
-
-
Constructor Detail
-
ReIndexJobJson
public ReIndexJobJson(String id, Long startTime, Long finishTime, Long duration, ReIndexStage stage, boolean acknowledged, long progress, Collection<ReIndexNodeStatusJson> nodeStatuses)
-
ReIndexJobJson
public ReIndexJobJson(ReIndexJob reIndexJob)
-
-
Method Detail
-
getId
public String getId()
- Returns:
- unique Id of the re-index job
-
getStartTime
public Long getStartTime()
- Returns:
- start time of this re-index job. In Epoch seconds.
-
getFinishTime
public @Nullable Long getFinishTime()
- Returns:
- finish time of this re-index job. In Epoch seconds.
-
getDuration
public @Nullable Long getDuration()
- Returns:
- time it took to complete this re-index job, in seconds
-
getStage
public ReIndexStage getStage()
-
isAcknowledged
public boolean isAcknowledged()
-
getProgress
public long getProgress()
-
getNodeStatuses
public Collection<ReIndexNodeStatusJson> getNodeStatuses()
-
-