public class PluginCommentAddedContainsEvent extends PluginGerritEvent implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
PluginCommentAddedContainsEvent.PluginCommentAddedContainsEventDescriptor
The descriptor for PluginCommentAddedContainsEvent.
|
PluginGerritEvent.PluginGerritEventDescriptor
Constructor and Description |
---|
PluginCommentAddedContainsEvent()
Empty constructor for serializer.
|
PluginCommentAddedContainsEvent(String commentAddedCommentContains)
Standard DataBoundConstructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getCommentAddedCommentContains()
Get the regular expression to match against comment.
|
Class |
getCorrespondingEventClass()
Gets related event class.
|
boolean |
match(com.sonymobile.tools.gerrit.gerritevents.dto.events.GerritTriggeredEvent event)
Check if the comment added match configured regular expression.
|
shouldTriggerOn
public PluginCommentAddedContainsEvent()
@DataBoundConstructor public PluginCommentAddedContainsEvent(String commentAddedCommentContains)
commentAddedCommentContains
- a string containg a regular expression.public String getCommentAddedCommentContains()
public Class getCorrespondingEventClass()
getCorrespondingEventClass
in class PluginGerritEvent
public boolean match(com.sonymobile.tools.gerrit.gerritevents.dto.events.GerritTriggeredEvent event)
event
- a GerritTriggeredEvent.Copyright © 2016–2020. All rights reserved.