|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.GerritProject
public class GerritProject
Base settings for one matcher rule of a Gerrit project.
Nested Class Summary | |
---|---|
static class |
GerritProject.DescriptorImpl
Descriptor allowing for communication within the Repeatable. |
Constructor Summary | |
---|---|
GerritProject()
Default empty constructor. |
|
GerritProject(CompareType compareType,
String pattern,
List<Branch> branches)
DataBound Constructor. |
Method Summary | |
---|---|
List<Branch> |
getBranches()
The list of Branch-rules. |
CompareType |
getCompareType()
Which algorithm-type to use with the pattern. |
hudson.model.Descriptor<GerritProject> |
getDescriptor()
|
String |
getPattern()
The pattern for the project-name to match on. |
boolean |
isInteresting(String project,
String branch)
Compares the project and branch to see if the rules specified is a match. |
void |
setBranches(List<Branch> branches)
The list of Branch-rules. |
void |
setCompareType(CompareType compareType)
Which algorithm-type to use with the pattern. |
void |
setPattern(String pattern)
The pattern for the project-name to match on. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GerritProject()
@DataBoundConstructor public GerritProject(CompareType compareType, String pattern, List<Branch> branches)
compareType
- the compareTypepattern
- the project-name patternbranches
- the branch-rulesMethod Detail |
---|
public CompareType getCompareType()
public void setCompareType(CompareType compareType)
compareType
- the compareTypepublic String getPattern()
public void setPattern(String pattern)
pattern
- the patternpublic List<Branch> getBranches()
public void setBranches(List<Branch> branches)
branches
- the branch-rulespublic boolean isInteresting(String project, String branch)
project
- the gerrit projectbranch
- the branch.
public hudson.model.Descriptor<GerritProject> getDescriptor()
getDescriptor
in interface hudson.model.Describable<GerritProject>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |