|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.model.AbstractDescribableImpl<Topic>
com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.Topic
public class Topic
Represents a rule for triggering on a topic of a GerritProject.
Nested Class Summary | |
---|---|
static class |
Topic.DescriptorImpl
The Descriptor for the Topic. |
Constructor Summary | |
---|---|
Topic()
Default empty constructor. |
|
Topic(CompareType compareType,
String pattern)
Default DataBound constructor. |
Method Summary | |
---|---|
CompareType |
getCompareType()
The CompareType used. |
String |
getPattern()
The pattern to match on. |
boolean |
isInteresting(String topic)
Tells if the given topic are matched by this rule. |
void |
setCompareType(CompareType compareType)
The CompareType used. |
void |
setPattern(String pattern)
The pattern to match on. |
Methods inherited from class hudson.model.AbstractDescribableImpl |
---|
getDescriptor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Topic()
@DataBoundConstructor public Topic(CompareType compareType, String pattern)
compareType
- the CompareType to use when comparing with the pattern.pattern
- the pattern to match on.Method Detail |
---|
public CompareType getCompareType()
public void setCompareType(CompareType compareType)
compareType
- the compareType.public String getPattern()
public void setPattern(String pattern)
pattern
- the pattern.public boolean isInteresting(String topic)
topic
- the topic in change.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |