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.StepExecution
Common Execution for all Hubot steps.- Author:
- Naresh Rayapati
- See Also:
StepExecution
, 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
HubotStepExecution(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)
-
-
-
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:
IOException
InterruptedException
-
-
Method Detail
-
verifyCommon
protected <T> ResponseData<T> verifyCommon(BasicHubotStep step)
-
setHubotService
public void setHubotService(HubotService service)
-
-