Class BlueRunFactory

    • Constructor Detail

      • BlueRunFactory

        public BlueRunFactory()
    • Method Detail

      • getRun

        public abstract BlueRun getRun​(Run run,
                                       Reachable parent,
                                       BlueOrganization organization)
        Gives instance of BlueRun that this factory knows about
        run - Jenkins run model object
        parent - Reachable parent. This is to be used to create this BlueRun instance's Link.
        organization - that the parent is a child of
        null if it doesn't knows about this instance of run object, otherwise instance of BlueRun
      • getRun

        public static BlueRun getRun​(Run r,
                                     Reachable parent)
        r - run
        parent - of run
        run or null