Class KubernetesComputerFactory
- java.lang.Object
-
- org.csanchez.jenkins.plugins.kubernetes.KubernetesComputerFactory
-
- All Implemented Interfaces:
ExtensionPoint
public abstract class KubernetesComputerFactory extends Object implements ExtensionPoint
A factory ofKubernetesComputer
instances.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description KubernetesComputerFactory()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static ExtensionList<KubernetesComputerFactory>
all()
Returns all registered implementations ofKubernetesComputerFactory
.static KubernetesComputer
createInstance(KubernetesSlave slave)
Returns a new instance ofKubernetesComputer
.abstract KubernetesComputer
newInstance(KubernetesSlave slave)
Creates a new instance ofKubernetesComputer
.
-
-
-
Method Detail
-
all
public static ExtensionList<KubernetesComputerFactory> all()
Returns all registered implementations ofKubernetesComputerFactory
.- Returns:
- all registered implementations of
KubernetesComputerFactory
.
-
createInstance
public static KubernetesComputer createInstance(KubernetesSlave slave)
Returns a new instance ofKubernetesComputer
.- Returns:
- a new instance of
KubernetesComputer
.
-
newInstance
public abstract KubernetesComputer newInstance(KubernetesSlave slave)
Creates a new instance ofKubernetesComputer
.- Returns:
- a new instance of
KubernetesComputer
.
-
-