public class ConceptExpansion extends WatsonService
VERSION| Constructor and Description | 
|---|
| ConceptExpansion()Instantiates a new Concept Expansion service. | 
| Modifier and Type | Method and Description | 
|---|---|
| Job | createJob(String[] seeds)Creates a  Job. | 
| Job | createJob(String label,
         String[] seeds)Creates a  Job. | 
| Dataset | getDataset()Gets the dataset. | 
| List<Concept> | getJobResult(Job job)Gets the  Jobresult. | 
| Job.Status | getJobStatus(Job job)Gets the  Jobstatus. | 
| void | setDataset(Dataset dataset)Sets the Dataset to run against. | 
configureHttpClient, execute, executeRequest, executeWithoutResponse, getApiKey, getEndPoint, getName, getToken, setApiKey, setAuthentication, setDefaultHeaders, setEndPoint, setUsernameAndPassword, toStringpublic ConceptExpansion()
public Job createJob(String[] seeds)
Job.seeds - List of terms to be used as seedsJobpublic Job createJob(String label, String[] seeds)
Job.label - A conceptual classification of the seed terms.seeds - List of terms to be used as seedsJobpublic Dataset getDataset()
public Job.Status getJobStatus(Job job)
Job status.job - the Jobpublic void setDataset(Dataset dataset)
dataset - the new datasetCopyright © 2015–2016. All rights reserved.