public abstract class GiphyTranslateStepExecution<T> extends GiphyStepExecution<T,GiphyTranslateStep>
DEFAULT_IMAGE_SIZE, step
Constructor and Description |
---|
GiphyTranslateStepExecution(GiphyTranslateStep 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 for the specific step implementation exists, and set default value to optional in
case they don't exists
|
getGiphyHost, getScheme, handleGiphyResponse, run, validateValues
getStatus, onResume, start, stop
public GiphyTranslateStepExecution(GiphyTranslateStep giphyStep, org.jenkinsci.plugins.workflow.steps.StepContext context)
giphyStep
- the step runningcontext
- step contextprotected void validateSpecificStepValues()
GiphyStepExecution
validateSpecificStepValues
in class GiphyStepExecution<T,GiphyTranslateStep>
protected URI getGiphyUri(String apiKey) throws URISyntaxException
GiphyStepExecution
getGiphyUri
in class GiphyStepExecution<T,GiphyTranslateStep>
apiKey
- the apikey to giphyURISyntaxException
- in case the uri is not validCopyright © 2016–2019. All rights reserved.