Object RunsOn.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static RunsOn of(String runners) Creates a RunsOn instance for the specified runner(s).
      final static RunsOn Group(String group, String labels) Creates a RunsOn instance for a runner group with specific labels.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • of

         final static RunsOn of(String runners)

        Creates a RunsOn instance for the specified runner(s).

        Parameters:
        runners - One or more runner specifications
        Returns:

        RunsOn instance for the specified runners

      • Group

         final static RunsOn Group(String group, String labels)

        Creates a RunsOn instance for a runner group with specific labels.

        Parameters:
        group - The runner group name
        labels - Labels to match for runner selection
        Returns:

        RunsOn instance for the runner group