Class PluginCommentAddedEvent
java.lang.Object
hudson.model.AbstractDescribableImpl<PluginGerritEvent>
com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.events.PluginGerritEvent
com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.events.PluginCommentAddedEvent
- All Implemented Interfaces:
Describable<PluginGerritEvent>,Serializable
An event configuration that causes the build to be triggered when a comment is added.
- Author:
- Tomas Westling <tomas.westling@sonymobile.com>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe Descriptor for the PluginCommentAddedEvent.Nested classes/interfaces inherited from class com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.events.PluginGerritEvent
PluginGerritEvent.PluginGerritEventDescriptor -
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructor for serializer.PluginCommentAddedEvent(String verdictCategory, String commentAddedTriggerApprovalValue) Standard DataBoundConstructor. -
Method Summary
Modifier and TypeMethodDescriptionGetter for the commentAddedTriggerApprovalValue.Getter for the corresponding gerrit event class.Getter for the Descriptor.Getter for the verdictCategory.Methods inherited from class com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.events.PluginGerritEvent
shouldTriggerOn
-
Constructor Details
-
PluginCommentAddedEvent
@DataBoundConstructor public PluginCommentAddedEvent(String verdictCategory, String commentAddedTriggerApprovalValue) Standard DataBoundConstructor.- Parameters:
verdictCategory- the value part of the VerdictCategory.commentAddedTriggerApprovalValue- the approval value.
-
PluginCommentAddedEvent
public PluginCommentAddedEvent()Empty constructor for serializer.
-
-
Method Details
-
getCommentAddedTriggerApprovalValue
Getter for the commentAddedTriggerApprovalValue.- Returns:
- the value.
-
getVerdictCategory
Getter for the verdictCategory.- Returns:
- the verdictCategory.
-
getDescriptor
Getter for the Descriptor.- Specified by:
getDescriptorin interfaceDescribable<PluginGerritEvent>- Overrides:
getDescriptorin classAbstractDescribableImpl<PluginGerritEvent>- Returns:
- the Descriptor for the PluginCommentAddedEvent.
-
getCorrespondingEventClass
Description copied from class:PluginGerritEventGetter for the corresponding gerrit event class.- Specified by:
getCorrespondingEventClassin classPluginGerritEvent- Returns:
- the gerrit event class.
-