Class Mapper

java.lang.Object
io.jenkins.plugins.trunk.Mapper

public class Mapper extends Object
Mapper is responsible for mapping Jenkins objects to Trunk objects.
  • Field Details

  • Constructor Details

    • Mapper

      public Mapper()
  • Method Details

    • newPipelineStartedEvent

      public static ActivityEventForm newPipelineStartedEvent(@NonNull Run<?,?> run)
    • newPipelineCompletedEvent

      public static ActivityEventForm newPipelineCompletedEvent(@NonNull Run<?,?> run)
    • newStageStartedEvent

      public static ActivityEventForm newStageStartedEvent(@NonNull Run<?,?> run, @NonNull org.jenkinsci.plugins.workflow.graph.FlowNode node)
    • newStageCompletedEvent

      public static ActivityEventForm newStageCompletedEvent(@NonNull Run<?,?> run, @NonNull org.jenkinsci.plugins.workflow.graph.FlowNode startNode, @NonNull org.jenkinsci.plugins.workflow.graph.FlowNode endNode)
    • makePipelineSequenceForm

      public static SequenceForm makePipelineSequenceForm(@NonNull Run<?,?> run)
    • makePipelineActivityEventPayloadForm

      public static ActivityPayloadForm makePipelineActivityEventPayloadForm(@NonNull Run<?,?> run)
    • makeJobRunEventId

      public static String makeJobRunEventId(@NonNull Run<?,?> run)