public class ImportStatus extends TasksStatus implements com.exalead.util.Checkable, java.io.Serializable
TasksStatus.Bytes, TasksStatus.Deletions, TasksStatus.ExistingDocumentAdds, TasksStatus.NewDocumentAdds, TasksStatus.PartialUpdates, TasksStatus.Tasks
Modifier and Type | Field and Description |
---|---|
long |
pendingAnalysisJobs |
long |
totalTasksProcessed |
bytes, clearRequired, DEFAULT_CLEAR_REQUIRED, DEFAULT_ENABLED, DEFAULT_PROCESSING, deletions, enabled, existingDocumentAdds, newDocumentAdds, partialUpdates, processing, tasks, totalBytes, totalCheckpoints, totalDeletions, totalExistingDocumentAdds, totalNewDocumentAdds, totalPartialUpdates, totalTasks
Constructor and Description |
---|
ImportStatus() |
ImportStatus(ImportStatus o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this ImportStatus.
|
static ImportStatus |
fromString(java.lang.String s)
String representation of this ImportStatus.
|
long |
getPendingAnalysisJobs() |
long |
getTotalTasksProcessed() |
ImportStatus |
makeCopy()
Creates and returns a deep copy of this ImportStatus.
|
static ImportStatus |
readFrom(java.io.InputStream is)
Read this ImportStatus from an XML fragment.
|
void |
setPendingAnalysisJobs(long pendingAnalysisJobs) |
void |
setTotalTasksProcessed(long totalTasksProcessed) |
java.lang.String |
toString()
String representation of this ImportStatus.
|
ImportStatus |
withBytes(java.util.Collection<PerSliceInfo> __values) |
ImportStatus |
withBytes(PerSliceInfo... __values) |
ImportStatus |
withClearRequired(boolean clearRequired) |
ImportStatus |
withClearRequired(java.lang.Boolean clearRequired) |
ImportStatus |
withDeletions(java.util.Collection<PerSliceInfo> __values) |
ImportStatus |
withDeletions(PerSliceInfo... __values) |
ImportStatus |
withEnabled(boolean enabled) |
ImportStatus |
withEnabled(java.lang.Boolean enabled) |
ImportStatus |
withExistingDocumentAdds(java.util.Collection<PerSliceInfo> __values) |
ImportStatus |
withExistingDocumentAdds(PerSliceInfo... __values) |
ImportStatus |
withNewDocumentAdds(java.util.Collection<PerSliceInfo> __values) |
ImportStatus |
withNewDocumentAdds(PerSliceInfo... __values) |
ImportStatus |
withPartialUpdates(java.util.Collection<PerSliceInfo> __values) |
ImportStatus |
withPartialUpdates(PerSliceInfo... __values) |
ImportStatus |
withPendingAnalysisJobs(long pendingAnalysisJobs) |
ImportStatus |
withPendingAnalysisJobs(java.lang.Long pendingAnalysisJobs) |
ImportStatus |
withProcessing(boolean processing) |
ImportStatus |
withProcessing(java.lang.Boolean processing) |
ImportStatus |
withTasks(java.util.Collection<PerSliceInfo> __values) |
ImportStatus |
withTasks(PerSliceInfo... __values) |
ImportStatus |
withTotalBytes(long totalBytes) |
ImportStatus |
withTotalBytes(java.lang.Long totalBytes) |
ImportStatus |
withTotalCheckpoints(long totalCheckpoints) |
ImportStatus |
withTotalCheckpoints(java.lang.Long totalCheckpoints) |
ImportStatus |
withTotalDeletions(long totalDeletions) |
ImportStatus |
withTotalDeletions(java.lang.Long totalDeletions) |
ImportStatus |
withTotalExistingDocumentAdds(long totalExistingDocumentAdds) |
ImportStatus |
withTotalExistingDocumentAdds(java.lang.Long totalExistingDocumentAdds) |
ImportStatus |
withTotalNewDocumentAdds(long totalNewDocumentAdds) |
ImportStatus |
withTotalNewDocumentAdds(java.lang.Long totalNewDocumentAdds) |
ImportStatus |
withTotalPartialUpdates(long totalPartialUpdates) |
ImportStatus |
withTotalPartialUpdates(java.lang.Long totalPartialUpdates) |
ImportStatus |
withTotalTasks(long totalTasks) |
ImportStatus |
withTotalTasks(java.lang.Long totalTasks) |
ImportStatus |
withTotalTasksProcessed(long totalTasksProcessed) |
ImportStatus |
withTotalTasksProcessed(java.lang.Long totalTasksProcessed) |
void |
writeTo(java.io.OutputStream os)
Write this ImportStatus as an XML fragment
|
getBytes, getDeletions, getExistingDocumentAdds, getNewDocumentAdds, getPartialUpdates, getTasks, getTotalBytes, getTotalCheckpoints, getTotalDeletions, getTotalExistingDocumentAdds, getTotalNewDocumentAdds, getTotalPartialUpdates, getTotalTasks, isClearRequired, isEnabled, isProcessing, setBytes, setClearRequired, setDeletions, setEnabled, setExistingDocumentAdds, setNewDocumentAdds, setPartialUpdates, setProcessing, setTasks, setTotalBytes, setTotalCheckpoints, setTotalDeletions, setTotalExistingDocumentAdds, setTotalNewDocumentAdds, setTotalPartialUpdates, setTotalTasks, withBytes, withDeletions, withExistingDocumentAdds, withNewDocumentAdds, withPartialUpdates, withTasks
public long totalTasksProcessed
public long pendingAnalysisJobs
public ImportStatus()
public ImportStatus(ImportStatus o)
public ImportStatus withEnabled(boolean enabled)
withEnabled
in class TasksStatus
public ImportStatus withEnabled(java.lang.Boolean enabled)
withEnabled
in class TasksStatus
public ImportStatus withProcessing(boolean processing)
withProcessing
in class TasksStatus
public ImportStatus withProcessing(java.lang.Boolean processing)
withProcessing
in class TasksStatus
public ImportStatus withClearRequired(boolean clearRequired)
withClearRequired
in class TasksStatus
public ImportStatus withClearRequired(java.lang.Boolean clearRequired)
withClearRequired
in class TasksStatus
public ImportStatus withTotalNewDocumentAdds(long totalNewDocumentAdds)
withTotalNewDocumentAdds
in class TasksStatus
public ImportStatus withTotalNewDocumentAdds(java.lang.Long totalNewDocumentAdds)
withTotalNewDocumentAdds
in class TasksStatus
public ImportStatus withTotalExistingDocumentAdds(long totalExistingDocumentAdds)
withTotalExistingDocumentAdds
in class TasksStatus
public ImportStatus withTotalExistingDocumentAdds(java.lang.Long totalExistingDocumentAdds)
withTotalExistingDocumentAdds
in class TasksStatus
public ImportStatus withTotalPartialUpdates(long totalPartialUpdates)
withTotalPartialUpdates
in class TasksStatus
public ImportStatus withTotalPartialUpdates(java.lang.Long totalPartialUpdates)
withTotalPartialUpdates
in class TasksStatus
public ImportStatus withTotalDeletions(long totalDeletions)
withTotalDeletions
in class TasksStatus
public ImportStatus withTotalDeletions(java.lang.Long totalDeletions)
withTotalDeletions
in class TasksStatus
public ImportStatus withTotalCheckpoints(long totalCheckpoints)
withTotalCheckpoints
in class TasksStatus
public ImportStatus withTotalCheckpoints(java.lang.Long totalCheckpoints)
withTotalCheckpoints
in class TasksStatus
public ImportStatus withTotalTasks(long totalTasks)
withTotalTasks
in class TasksStatus
public ImportStatus withTotalTasks(java.lang.Long totalTasks)
withTotalTasks
in class TasksStatus
public ImportStatus withTotalBytes(long totalBytes)
withTotalBytes
in class TasksStatus
public ImportStatus withTotalBytes(java.lang.Long totalBytes)
withTotalBytes
in class TasksStatus
public ImportStatus withNewDocumentAdds(PerSliceInfo... __values)
withNewDocumentAdds
in class TasksStatus
public ImportStatus withNewDocumentAdds(java.util.Collection<PerSliceInfo> __values)
withNewDocumentAdds
in class TasksStatus
public ImportStatus withExistingDocumentAdds(PerSliceInfo... __values)
withExistingDocumentAdds
in class TasksStatus
public ImportStatus withExistingDocumentAdds(java.util.Collection<PerSliceInfo> __values)
withExistingDocumentAdds
in class TasksStatus
public ImportStatus withPartialUpdates(PerSliceInfo... __values)
withPartialUpdates
in class TasksStatus
public ImportStatus withPartialUpdates(java.util.Collection<PerSliceInfo> __values)
withPartialUpdates
in class TasksStatus
public ImportStatus withDeletions(PerSliceInfo... __values)
withDeletions
in class TasksStatus
public ImportStatus withDeletions(java.util.Collection<PerSliceInfo> __values)
withDeletions
in class TasksStatus
public ImportStatus withTasks(PerSliceInfo... __values)
withTasks
in class TasksStatus
public ImportStatus withTasks(java.util.Collection<PerSliceInfo> __values)
withTasks
in class TasksStatus
public ImportStatus withBytes(PerSliceInfo... __values)
withBytes
in class TasksStatus
public ImportStatus withBytes(java.util.Collection<PerSliceInfo> __values)
withBytes
in class TasksStatus
public void setTotalTasksProcessed(long totalTasksProcessed)
public long getTotalTasksProcessed()
public ImportStatus withTotalTasksProcessed(long totalTasksProcessed)
public ImportStatus withTotalTasksProcessed(java.lang.Long totalTasksProcessed)
public void setPendingAnalysisJobs(long pendingAnalysisJobs)
public long getPendingAnalysisJobs()
public ImportStatus withPendingAnalysisJobs(long pendingAnalysisJobs)
public ImportStatus withPendingAnalysisJobs(java.lang.Long pendingAnalysisJobs)
public ImportStatus makeCopy()
makeCopy
in class TasksStatus
public static ImportStatus readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
writeTo
in class TasksStatus
javax.xml.bind.JAXBException
java.io.IOException
public static ImportStatus fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class TasksStatus
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class TasksStatus
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.