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

public abstract class BluePipelineStep extends Resource
Pipeline Step resource
Author:
Vivek Pandey
  • Field Details

  • Constructor Details

    • BluePipelineStep

      public BluePipelineStep()
  • Method Details

    • getId

      @Exported(name="id") public abstract String getId()
      id of step.
      Returns:
      node id
    • getDisplayName

      @Exported(name="displayName") public abstract String getDisplayName()
      Step display name.
      Returns:
      display name
    • getDisplayDescription

      @Exported(name="displayDescription") public abstract String getDisplayDescription()
      Step display description.
      Returns:
      display description
    • getType

      @Exported(name="type") public abstract String getType()
      Type of step.
      Returns:
      step type
    • getStepType

      public abstract String getStepType()
      Returns:
      the step type
    • getResult

      @Exported(name="result") public abstract BlueRun.BlueRunResult getResult()
      Step execution result
      Returns:
      BlueRun.BlueRunResult instance
    • getStateObj

      @Exported(name="state") public abstract BlueRun.BlueRunState getStateObj()
      Step execution state
      Returns:
      execution state BlueRun.BlueRunState
    • getStartTime

      public abstract Date getStartTime()
      Start time of execution
      Returns:
      start time of execution
    • getStartTimeString

      @Exported(name="startTime") public abstract String getStartTimeString()
      Start time string representation
      Returns:
      start time of execution
    • getDurationInMillis

      @Exported(name="durationInMillis") public abstract Long getDurationInMillis()
      Execution duration
      Returns:
      execution duration in milli seconds
    • getLog

      public abstract Object 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

      @Exported(name="input", inline=true) public abstract BlueInputStep 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