Class HostSelectionWaitNotification

java.lang.Object
org.jenkinsci.plugins.vsphere.tools.HostSelectionWaitNotification

public final class HostSelectionWaitNotification extends Object
Adapts a pipeline's hostSelectionWaitNotification to the HostSelectionOptions.Listener that host selection tells. The closure is called with two arguments: the message that was just logged (a String) and the HostSelectionWaitReason.

Only a plain Groovy closure can be called, not one written in the Pipeline script itself, as that is executed by the script's own interpreter and cannot be run from the thread of a step.