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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Collection<BlueActionProxy>
abstract String
Step display description.abstract String
Step display name.abstract Long
Execution durationabstract String
getId()
id of step.abstract BlueInputStep
Input step associated with this stepabstract Object
getLog()
abstract BlueRun.BlueRunResult
Step execution resultabstract Date
Start time of executionabstract String
Start time string representationabstract BlueRun.BlueRunState
Step execution stateabstract String
abstract String
getType()
Type of step.abstract org.kohsuke.stapler.HttpResponse
submitInputStep
(org.kohsuke.stapler.StaplerRequest 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.BlueRunResult
instance
-
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.StaplerRequest request) Processes submitted input step via POST request- Parameters:
request
- stapler request- Returns:
- http response
-