public abstract class GiphySearchStepExecution<T> extends GiphyStepExecution<T,GiphySearchStep>
DEFAULT_IMAGE_SIZE, step
Constructor and Description |
---|
GiphySearchStepExecution(GiphySearchStep giphyStep,
org.jenkinsci.plugins.workflow.steps.StepContext context)
Constructor for StepExecution
|
Modifier and Type | Method and Description |
---|---|
protected URI |
getGiphyUri(String apiKey)
build the giphy uri
|
protected void |
validateSpecificStepValues()
validate the required values exists, and set default value to optional in case they don't exists
|
getGiphyHost, getScheme, handleGiphyResponse, run, validateValues
getStatus, onResume, start, stop
public GiphySearchStepExecution(GiphySearchStep giphyStep, org.jenkinsci.plugins.workflow.steps.StepContext context)
giphyStep
- the step runningcontext
- step contextprotected void validateSpecificStepValues()
validateSpecificStepValues
in class GiphyStepExecution<T,GiphySearchStep>
protected URI getGiphyUri(String apiKey) throws URISyntaxException
getGiphyUri
in class GiphyStepExecution<T,GiphySearchStep>
apiKey
- the apikey to giphyURISyntaxException
- in case the uri is not validCopyright © 2016–2019. All rights reserved.