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
        Parameters:
        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
        Returns:
        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)
        Parameters:
        r - run
        parent - of run
        Returns:
        run or null