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