Class PluginDraftPublishedEvent
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<PluginGerritEvent>
-
- com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.events.PluginGerritEvent
-
- com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.events.PluginDraftPublishedEvent
-
- All Implemented Interfaces:
Describable<PluginGerritEvent>
,Serializable
public class PluginDraftPublishedEvent extends PluginGerritEvent implements Serializable
An event configuration that causes the build to be triggered when a draft is published.- Author:
- David Pursehouse <david.pursehouse@sonymobile.com>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PluginDraftPublishedEvent.PluginDraftPublishedEventDescriptor
The Descriptor for the PluginDraftPublishedEvent.-
Nested classes/interfaces inherited from class com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.events.PluginGerritEvent
PluginGerritEvent.PluginGerritEventDescriptor
-
-
Constructor Summary
Constructors Constructor Description PluginDraftPublishedEvent()
Standard DataBoundConstructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class
getCorrespondingEventClass()
Getter for the corresponding gerrit event class.Descriptor<PluginGerritEvent>
getDescriptor()
Getter for the Descriptor.-
Methods inherited from class com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.events.PluginGerritEvent
shouldTriggerOn
-
-
-
-
Method Detail
-
getDescriptor
public Descriptor<PluginGerritEvent> getDescriptor()
Getter for the Descriptor.- Specified by:
getDescriptor
in interfaceDescribable<PluginGerritEvent>
- Overrides:
getDescriptor
in classAbstractDescribableImpl<PluginGerritEvent>
- Returns:
- the Descriptor for the PluginDraftPublishedEvent.
-
getCorrespondingEventClass
public Class getCorrespondingEventClass()
Description copied from class:PluginGerritEvent
Getter for the corresponding gerrit event class.- Specified by:
getCorrespondingEventClass
in classPluginGerritEvent
- Returns:
- the gerrit event class.
-
-