Class LauncherFactory.JNLP
java.lang.Object
hudson.model.AbstractDescribableImpl<LauncherFactory>
jenkins.plugins.openstack.compute.slaveopts.LauncherFactory
jenkins.plugins.openstack.compute.slaveopts.LauncherFactory.JNLP
- All Implemented Interfaces:
Describable<LauncherFactory>,Serializable
- Enclosing class:
- LauncherFactory
Wait for JNLP connection to be made.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class jenkins.plugins.openstack.compute.slaveopts.LauncherFactory
LauncherFactory.JNLP, LauncherFactory.SSH, LauncherFactory.Unspecified -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateLauncher(JCloudsSlave slave) Create launcher to be used to start the computer.booleaninthashCode()isWaitingFor(JCloudsSlave slave) Detect the machine is provisioned and can be added to Jenkins for launching.voidCallback run when the node is being terminated.Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Field Details
-
JNLP
-
-
Constructor Details
-
JNLP
@DataBoundConstructor public JNLP()
-
-
Method Details
-
createLauncher
Description copied from class:LauncherFactoryCreate launcher to be used to start the computer.- Specified by:
createLauncherin classLauncherFactory- Throws:
IOException
-
isWaitingFor
Description copied from class:LauncherFactoryDetect the machine is provisioned and can be added to Jenkins for launching. This is guaranteed to be called after server is/was ACTIVE.- Specified by:
isWaitingForin classLauncherFactory- Parameters:
slave- Slave we are waiting to be ready.- Returns:
- null if it is ready or string cause if it is not. The cause will be reported alongside the timeout exception if this will not become ready in time.
-
onNodeTerminated
public void onNodeTerminated()Description copied from class:LauncherFactoryCallback run when the node is being terminated. This is before the resources are removed.- Overrides:
onNodeTerminatedin classLauncherFactory
-
hashCode
public int hashCode() -
equals
-