Class NodeDownstreamBuildAction

java.lang.Object
hudson.model.InvisibleAction
io.jenkins.blueocean.listeners.NodeDownstreamBuildAction
All Implemented Interfaces:
Action, ModelObject, io.jenkins.blueocean.rest.Reachable, org.jenkinsci.plugins.workflow.actions.FlowNodeAction

@ExportedBean public class NodeDownstreamBuildAction extends InvisibleAction implements org.jenkinsci.plugins.workflow.actions.FlowNodeAction, io.jenkins.blueocean.rest.Reachable
Annotates a FlowNode to point to a downstream build triggered by said node. Applied by io.jenkins.blueocean.listeners.DownstreamJobListener in blueocean-pipeline-api-impl
  • Constructor Details

    • NodeDownstreamBuildAction

      public NodeDownstreamBuildAction(io.jenkins.blueocean.rest.hal.Link link, String description)
  • Method Details

    • onLoad

      public void onLoad(org.jenkinsci.plugins.workflow.graph.FlowNode flowNode)
      Specified by:
      onLoad in interface org.jenkinsci.plugins.workflow.actions.FlowNodeAction
    • getLink

      @Exported public io.jenkins.blueocean.rest.hal.Link getLink()
      Specified by:
      getLink in interface io.jenkins.blueocean.rest.Reachable
    • getDescription

      @Exported public String getDescription()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object