Class HubotAbstractSynchronousNonBlockingStepExecution<T>
- java.lang.Object
-
- org.jenkinsci.plugins.workflow.steps.StepExecution
-
- org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution<T>
-
- org.thoughtslive.jenkins.plugins.hubot.util.HubotAbstractSynchronousNonBlockingStepExecution<T>
-
- Type Parameters:
T- the type of the return value (may beVoid)
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SendStep.SendStepExecution
public abstract class HubotAbstractSynchronousNonBlockingStepExecution<T> extends org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution<T>Common Execution for all Hubot steps.- Author:
- Naresh Rayapati
- See Also:
SynchronousNonBlockingStepExecution, 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 protectedHubotAbstractSynchronousNonBlockingStepExecution(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)-
Methods inherited from class org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution
blocksRestart, getStatus, onResume, run, start, stop
-
-
-
-
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
-
HubotAbstractSynchronousNonBlockingStepExecution
protected HubotAbstractSynchronousNonBlockingStepExecution(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)
-
-