public class GiphyRandomStepExecutionImpl extends GiphyRandomStepExecution<String>
DEFAULT_IMAGE_SIZE, step
Constructor and Description |
---|
GiphyRandomStepExecutionImpl(GiphyRandomStep giphyStep,
org.jenkinsci.plugins.workflow.steps.StepContext context)
Constructor for StepExecution
|
Modifier and Type | Method and Description |
---|---|
protected String |
handleGiphyResponse(GiphyRandomStep 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 GiphyRandomStepExecutionImpl(GiphyRandomStep giphyStep, org.jenkinsci.plugins.workflow.steps.StepContext context)
giphyStep
- the step runningcontext
- step contextprotected String handleGiphyResponse(GiphyRandomStep step, org.json.simple.JSONObject json)
GiphyStepExecution
handleGiphyResponse
in class GiphyStepExecution<String,GiphyRandomStep>
step
- the step with all the values from the userjson
- the response from giphy with JSON formatCopyright © 2016–2019. All rights reserved.