|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.model.AbstractDescribableImpl<Branch>
com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.Branch
public class Branch
Represents a rule for triggering on a branch of a GerritProject.
Nested Class Summary | |
---|---|
static class |
Branch.DescriptorImpl
The Descriptor for the Branch. |
Constructor Summary | |
---|---|
Branch()
Default empty constructor. |
|
Branch(CompareType compareType,
String pattern)
Default DataBound constructor. |
Method Summary | |
---|---|
CompareType |
getCompareType()
The CompareType used. |
String |
getPattern()
The pattern to match on. |
boolean |
isInteresting(String branch)
Tells if the given branch is 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 Branch()
@DataBoundConstructor public Branch(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 branch)
branch
- the branch
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |