Class SourceStatus
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.SourceStatus
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SourceStatus
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Object containing source crawl status information.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SourceStatus.Status
The current status of the source crawl for this collection. -
Constructor Summary
Constructors Constructor Description SourceStatus()
-
Method Summary
Modifier and Type Method Description Date
getNextCrawl()
Gets the nextCrawl.String
getStatus()
Gets the status.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
SourceStatus
public SourceStatus()
-
-
Method Details
-
getStatus
Gets the status.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.
- Returns:
- the status
-
getNextCrawl
Gets the nextCrawl.Date in `RFC 3339` format indicating the time of the next crawl attempt.
- Returns:
- the nextCrawl
-