public class SourceStatus
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
SourceStatus.Status
The current status of the source crawl for this collection.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Date |
nextCrawl |
protected java.lang.String |
status |
Constructor and Description |
---|
SourceStatus() |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getNextCrawl()
Gets the nextCrawl.
|
java.lang.String |
getStatus()
Gets the status.
|
protected java.lang.String status
@SerializedName(value="next_crawl") protected java.util.Date nextCrawl
public java.lang.String getStatus()
The current status of the source crawl for this collection. This field returns `not_configured` if the default configuration for this source does not have a **source** object defined.
- `running` indicates that a crawl to fetch more documents is in progress. - `complete` indicates that the crawl has completed with no errors. - `queued` indicates that the crawl has been paused by the system and will automatically restart when possible. - `unknown` indicates that an unidentified error has occured in the service.
public java.util.Date getNextCrawl()
Date in `RFC 3339` format indicating the time of the next crawl attempt.