Class SlaveProvider

java.lang.Object
org.jenkinsci.test.acceptance.slave.SlaveProvider
All Implemented Interfaces:
com.google.inject.Provider<SlaveController>, jakarta.inject.Provider<SlaveController>, javax.inject.Provider<SlaveController>
Direct Known Subclasses:
LocalSlaveProvider

public abstract class SlaveProvider extends Object implements jakarta.inject.Provider<SlaveController>, com.google.inject.Provider<SlaveController>
Author:
Kohsuke Kawaguchi
  • Constructor Details

    • SlaveProvider

      public SlaveProvider()
  • Method Details

    • get

      public SlaveController get()
      Provisions a new place to run a computer from somewhere and return an object that encapsulates how to let Jenkins connect to it.
      Specified by:
      get in interface com.google.inject.Provider<SlaveController>
      Specified by:
      get in interface jakarta.inject.Provider<SlaveController>
      Specified by:
      get in interface javax.inject.Provider<SlaveController>
    • create

      protected abstract SlaveController create()
      Actual SPI for get() method that subtypes need to implement.