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 String
buildCause
protected String
buildUserId
protected String
buildUserName
protected EnvVars
envVars
protected boolean
failOnError
protected HubotService
hubotService
protected TaskListener
listener
protected PrintStream
logger
protected String
room
protected Run<?,?>
run
protected HubotSite
site
-
Constructor Summary
Constructors Modifier Constructor Description protected
HubotAbstractSynchronousNonBlockingStepExecution(org.jenkinsci.plugins.workflow.steps.StepContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setHubotService(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:
IOException
InterruptedException
-
-
Method Detail
-
verifyCommon
protected <T> ResponseData<T> verifyCommon(BasicHubotStep step)
-
setHubotService
public void setHubotService(HubotService service)
-
-