Class PrimaryLaunch


  • public class PrimaryLaunch
    extends AbstractJoinedLaunch
    An implementation of a Launch object which managed to obtain main lock with LaunchIdLock object. Therefore, it is responsible for an actual launch creation on ReportPortal and contains logic to wait secondary launches.
    • Method Detail

      • finish

        public void finish​(@Nonnull
                           FinishExecutionRQ request)
        Wait for all secondary launches finish and then close the Primary Launch. If there was running secondary launch number change then the timeout will reset.
        Overrides:
        finish in class LaunchImpl
        Parameters:
        request - Finish Launch Request to use (end time will be updated after wait).