Class InputNotifier
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<InputNotifier>
-
- io.jenkins.plugins.pipeline.input.notifiers.InputNotifier
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<InputNotifier>
,Serializable
,Comparable<InputNotifier>
- Direct Known Subclasses:
HttpNotifier
public abstract class InputNotifier extends AbstractDescribableImpl<InputNotifier> implements ExtensionPoint, Comparable<InputNotifier>, Serializable
- Author:
- jasper
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InputNotifier.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
disabled
-
Constructor Summary
Constructors Constructor Description InputNotifier()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description int
compareTo(InputNotifier o)
InputNotifier.DescriptorImpl
getDescriptor()
boolean
isDisabled()
abstract void
notifyInputNotification(InputNotificationEvent event)
Send notification after input started, approved, abortedvoid
setDisabled(boolean disabled)
-
-
-
Method Detail
-
isDisabled
public boolean isDisabled()
-
setDisabled
@DataBoundSetter public void setDisabled(boolean disabled)
-
getDescriptor
public InputNotifier.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<InputNotifier>
- Overrides:
getDescriptor
in classAbstractDescribableImpl<InputNotifier>
-
compareTo
public int compareTo(InputNotifier o)
- Specified by:
compareTo
in interfaceComparable<InputNotifier>
-
notifyInputNotification
public abstract void notifyInputNotification(InputNotificationEvent event)
Send notification after input started, approved, aborted- Parameters:
event
- input event
-
-