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