Class HubotStepExecution<T>
- java.lang.Object
-
- org.jenkinsci.plugins.workflow.steps.StepExecution
-
- org.thoughtslive.jenkins.plugins.hubot.util.HubotStepExecution<T>
-
- Type Parameters:
T- the type of the return value (may beVoid)
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ApproveStep.ApproveStepExecution
public abstract class HubotStepExecution<T> extends org.jenkinsci.plugins.workflow.steps.StepExecutionCommon Execution for all Hubot steps.- Author:
- Naresh Rayapati
- See Also:
StepExecution, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringbuildCauseprotected StringbuildUserIdprotected StringbuildUserNameprotected EnvVarsenvVarsprotected booleanfailOnErrorprotected HubotServicehubotServiceprotected TaskListenerlistenerprotected PrintStreamloggerprotected Stringroomprotected Run<?,?>runprotected HubotSitesite
-
Constructor Summary
Constructors Modifier Constructor Description protectedHubotStepExecution(org.jenkinsci.plugins.workflow.steps.StepContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetHubotService(HubotService service)protected <T> ResponseData<T>verifyCommon(BasicHubotStep step)
-
-
-
Field Detail
-
logger
protected transient PrintStream logger
-
hubotService
protected transient HubotService hubotService
-
failOnError
protected transient boolean failOnError
-
room
protected transient String room
-
buildUserName
protected transient String buildUserName
-
buildCause
protected transient String buildCause
-
buildUserId
protected transient String buildUserId
-
envVars
protected transient EnvVars envVars
-
site
protected transient HubotSite site
-
run
protected transient Run<?,?> run
-
listener
protected transient TaskListener listener
-
-
Constructor Detail
-
HubotStepExecution
protected HubotStepExecution(org.jenkinsci.plugins.workflow.steps.StepContext context) throws IOException, InterruptedException- Throws:
IOExceptionInterruptedException
-
-
Method Detail
-
verifyCommon
protected <T> ResponseData<T> verifyCommon(BasicHubotStep step)
-
setHubotService
public void setHubotService(HubotService service)
-
-