public class GiphySearchStepExecutionImpl extends GiphySearchStepExecution<List<String>>
DEFAULT_IMAGE_SIZE, step
Constructor and Description |
---|
GiphySearchStepExecutionImpl(GiphySearchStep giphyStep,
org.jenkinsci.plugins.workflow.steps.StepContext context)
Constructor for StepExecution
|
Modifier and Type | Method and Description |
---|---|
protected List<String> |
handleGiphyResponse(GiphySearchStep step,
org.json.simple.JSONObject json)
method that responsible to what should we do with the response from giphy
|
getGiphyUri, validateSpecificStepValues
getGiphyHost, getScheme, run, validateValues
getStatus, onResume, start, stop
public GiphySearchStepExecutionImpl(GiphySearchStep giphyStep, org.jenkinsci.plugins.workflow.steps.StepContext context)
giphyStep
- the step runningcontext
- step contextprotected List<String> handleGiphyResponse(GiphySearchStep step, org.json.simple.JSONObject json)
GiphyStepExecution
handleGiphyResponse
in class GiphyStepExecution<List<String>,GiphySearchStep>
step
- the step with all the values from the userjson
- the response from giphy with JSON formatCopyright © 2016–2019. All rights reserved.