com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.events
Class PluginCommentAddedEvent

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<PluginGerritEvent>
      extended by com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.events.PluginGerritEvent
          extended by com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.events.PluginCommentAddedEvent
All Implemented Interfaces:
hudson.model.Describable<PluginGerritEvent>, Serializable

public class PluginCommentAddedEvent
extends PluginGerritEvent
implements 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:
Serialized Form

Nested Class Summary
static class PluginCommentAddedEvent.PluginCommentAddedEventDescriptor
          The Descriptor for the PluginCommentAddedEvent.
 
Nested classes/interfaces inherited from class com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.events.PluginGerritEvent
PluginGerritEvent.PluginGerritEventDescriptor
 
Constructor Summary
PluginCommentAddedEvent()
          Empty constructor for serializer.
PluginCommentAddedEvent(String verdictCategory, String commentAddedTriggerApprovalValue)
          Standard DataBoundConstructor.
 
Method Summary
 String getCommentAddedTriggerApprovalValue()
          Getter for the commentAddedTriggerApprovalValue.
 Class getCorrespondingEventClass()
          Getter for the corresponding gerrit event class.
 hudson.model.Descriptor<PluginGerritEvent> getDescriptor()
          Getter for the Descriptor.
 String getVerdictCategory()
          Getter for the verdictCategory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 Detail

getCommentAddedTriggerApprovalValue

public String getCommentAddedTriggerApprovalValue()
Getter for the commentAddedTriggerApprovalValue.

Returns:
the value.

getVerdictCategory

public String getVerdictCategory()
Getter for the verdictCategory.

Returns:
the verdictCategory.

getDescriptor

public hudson.model.Descriptor<PluginGerritEvent> getDescriptor()
Getter for the Descriptor.

Specified by:
getDescriptor in interface hudson.model.Describable<PluginGerritEvent>
Overrides:
getDescriptor in class hudson.model.AbstractDescribableImpl<PluginGerritEvent>
Returns:
the Descriptor for the PluginCommentAddedEvent.

getCorrespondingEventClass

public Class getCorrespondingEventClass()
Description copied from class: PluginGerritEvent
Getter for the corresponding gerrit event class.

Specified by:
getCorrespondingEventClass in class PluginGerritEvent
Returns:
the gerrit event class.


Copyright © 2004-2013. All Rights Reserved.