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 classes/interfaces inherited from class jenkins.plugins.openstack.compute.slaveopts.LauncherFactory
LauncherFactory.JNLP, LauncherFactory.SSH, LauncherFactory.Unspecified
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateLauncher
(JCloudsSlave slave) Create launcher to be used to start the computer.boolean
int
hashCode()
isWaitingFor
(JCloudsSlave slave) Detect the machine is provisioned and can be added to Jenkins for launching.void
Callback 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:LauncherFactory
Create launcher to be used to start the computer.- Specified by:
createLauncher
in classLauncherFactory
- Throws:
IOException
-
isWaitingFor
Description copied from class:LauncherFactory
Detect 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:
isWaitingFor
in 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:LauncherFactory
Callback run when the node is being terminated. This is before the resources are removed.- Overrides:
onNodeTerminated
in classLauncherFactory
-
hashCode
public int hashCode() -
equals
-