public class GiphySearchRandomByKeywordStepExecution extends GiphySearchStepExecution<String>
| Constructor and Description |
|---|
GiphySearchRandomByKeywordStepExecution(GiphySearchStep giphyStep,
org.jenkinsci.plugins.workflow.steps.StepContext context)
Constructor for StepExecution
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
handleGiphySearchResponse(GiphySearchStep step,
org.json.simple.JSONObject json)
method that responsible to what should we do with the response from giphy
|
getGiphyHost, getScheme, rungetStatus, onResume, start, stoppublic GiphySearchRandomByKeywordStepExecution(GiphySearchStep giphyStep, org.jenkinsci.plugins.workflow.steps.StepContext context)
giphyStep - the step runningcontext - step contextprotected String handleGiphySearchResponse(GiphySearchStep step, org.json.simple.JSONObject json)
handleGiphySearchResponse in class GiphySearchStepExecution<String>step - the step with all the values from the userjson - the response from giphy with JSON formatCopyright © 2016–2018. All rights reserved.