Package io.jenkins.blueocean.rest.model
Class BluePipelineStep
java.lang.Object
io.jenkins.blueocean.rest.model.Resource
io.jenkins.blueocean.rest.model.BluePipelineStep
- All Implemented Interfaces:
Reachable
- Direct Known Subclasses:
BluePipelineNode
Pipeline Step resource
- Author:
- Vivek Pandey
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Collection<BlueActionProxy> abstract StringStep display description.abstract StringStep display name.abstract LongExecution durationabstract StringgetId()id of step.abstract BlueInputStepInput step associated with this stepabstract ObjectgetLog()abstract BlueRun.BlueRunResultStep execution resultabstract DateStart time of executionabstract StringStart time string representationabstract BlueRun.BlueRunStateStep execution stateabstract Stringabstract StringgetType()Type of step.abstract org.kohsuke.stapler.HttpResponsesubmitInputStep(org.kohsuke.stapler.StaplerRequest2 request) Processes submitted input step via POST request
-
Field Details
-
DISPLAY_NAME
- See Also:
-
DISPLAY_DESCRIPTION
- See Also:
-
RESULT
- See Also:
-
START_TIME
- See Also:
-
ID
- See Also:
-
EDGES
- See Also:
-
DURATION_IN_MILLIS
- See Also:
-
ACTIONS
- See Also:
-
TYPE
- See Also:
-
-
Constructor Details
-
BluePipelineStep
public BluePipelineStep()
-
-
Method Details
-
getId
id of step.- Returns:
- node id
-
getDisplayName
Step display name.- Returns:
- display name
-
getDisplayDescription
Step display description.- Returns:
- display description
-
getType
Type of step.- Returns:
- step type
-
getStepType
- Returns:
- the step type
-
getResult
Step execution result- Returns:
BlueRun.BlueRunResultinstance
-
getStateObj
Step execution state- Returns:
- execution state
BlueRun.BlueRunState
-
getStartTime
Start time of execution- Returns:
- start time of execution
-
getStartTimeString
Start time string representation- Returns:
- start time of execution
-
getDurationInMillis
Execution duration- Returns:
- execution duration in milli seconds
-
getLog
- Returns:
- Gives logs associated with this node
-
getActions
@Navigable @Exported(name="actions", inline=true) public abstract Collection<BlueActionProxy> getActions()- Returns:
- Gives Actions associated with this pipeline node
-
getInputStep
Input step associated with this step- Returns:
- input step
-
submitInputStep
@POST @WebMethod(name="") public abstract org.kohsuke.stapler.HttpResponse submitInputStep(org.kohsuke.stapler.StaplerRequest2 request) Processes submitted input step via POST request- Parameters:
request- stapler request- Returns:
- http response
-