public class GoCD extends Object
GoCD Client that's used for accessing some official and un-official APIs.
Note - This is by no means a complete implementation of all the endpoints. Feel free to submit a PR of an endpoint that's missing.| Constructor and Description |
|---|
GoCD(String server,
String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
allPipelineNames(String pipelinePrefix) |
History |
pipelineHistory(String pipeline) |
History |
pipelineHistory(String pipeline,
int offset) |
Pipeline |
pipelineInstance(String pipeline,
int pipelineCounter) |
Map<Integer,PipelineRunStatus> |
pipelineRunStatus(String pipeline) |
Map<Integer,PipelineRunStatus> |
pipelineRunStatus(String pipelineName,
int offset) |
PipelineStatus |
pipelineStatus(String pipeline) |
List<PipelineDependency> |
upstreamDependencies(String pipeline,
int version) |
public List<String> allPipelineNames(String pipelinePrefix) throws IOException
IOExceptionpublic List<PipelineDependency> upstreamDependencies(String pipeline, int version) throws IOException
IOExceptionpublic PipelineStatus pipelineStatus(String pipeline) throws IOException
IOExceptionpublic Pipeline pipelineInstance(String pipeline, int pipelineCounter) throws IOException
IOExceptionpublic History pipelineHistory(String pipeline) throws IOException
IOExceptionpublic History pipelineHistory(String pipeline, int offset) throws IOException
IOExceptionpublic Map<Integer,PipelineRunStatus> pipelineRunStatus(String pipeline) throws IOException
IOExceptionpublic Map<Integer,PipelineRunStatus> pipelineRunStatus(String pipelineName, int offset) throws IOException
IOExceptionCopyright © 2016. All rights reserved.