|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sonyericsson.jenkins.plugins.bfa.model.indication.FoundIndication
public class FoundIndication
Found Indication of an unsuccessful build.
Field Summary | |
---|---|
protected static String |
FILE_ENCODING
The platform file encoding. |
Constructor Summary | |
---|---|
FoundIndication(hudson.model.AbstractBuild build,
String originalPattern,
String matchingFile,
String matchingString)
Standard constructor. |
|
FoundIndication(String pattern,
String matchingFile,
String matchingString)
JSON Constructor. |
Method Summary | |
---|---|
void |
convertFromLineNumber(List<String> log)
Replaces matchingLine with matchingString from the text in the list at
matchingLine s position. |
hudson.model.AbstractBuild |
getBuild()
Getter for the build. |
String |
getMatchingFile()
Getter for the matching file. |
int |
getMatchingHash()
The hash-code of the matchingString . |
int |
getMatchingLine()
Deprecated. since 1.3.2, 1.4.0 replaced with getMatchingString() . |
String |
getMatchingString()
Getter for the matching String. |
String |
getPattern()
Getter for the pattern. |
Object |
readResolve()
Called after deserialization. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final String FILE_ENCODING
Constructor Detail |
---|
public FoundIndication(hudson.model.AbstractBuild build, String originalPattern, String matchingFile, String matchingString)
build
- the build of this indication.originalPattern
- the original pattern we used to match.matchingFile
- the path to the file in which we found the match.matchingString
- the String that makes up the matching line.public FoundIndication(String pattern, String matchingFile, String matchingString)
pattern
- the pattern we used to match.matchingFile
- the path to the file in which we found the match.matchingString
- the String that makes up the matching line.Method Detail |
---|
public String getMatchingFile()
public String getPattern()
public hudson.model.AbstractBuild getBuild()
public String getMatchingString()
public void convertFromLineNumber(List<String> log)
matchingLine
with matchingString
from the text in the list at
matchingLine
s position. But only if matchingLine
is non null.
log
- the build-log.public Object readResolve()
OldDataConverter
from matchingLine
to matchingString
if matchingLine
is non null.
@Deprecated public int getMatchingLine()
getMatchingString()
.
public int getMatchingHash()
matchingString
.
Convenience method mostly for jelly.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |