|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjetbrains.buildServer.agent.inspections.InspectionInstance
public class InspectionInstance
Concrete defect, warning, error message Encapsulates location, description and various attributes
| Constructor Summary | |
|---|---|
InspectionInstance()
|
|
| Method Summary | |
|---|---|
void |
addAttribute(java.lang.String attributeId,
java.util.Collection<java.lang.String> value)
Adds inspection additional information as map of attribute ids to values, were attribute ids predefined and values given as list of strings to help TeamCity match it by prefix |
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getAttributes()
Get current attributes map |
java.lang.String |
getFilePath()
Gets file path |
java.lang.String |
getInspectionId()
Gets inspection type id |
int |
getLine()
Gets line of file |
java.lang.String |
getMessage()
Gets current instance description |
void |
setFilePath(java.lang.String filePath)
Sets file path inspection instance corresponds to Required |
void |
setInspectionId(java.lang.String inspectionId)
Sets inspection type id. |
void |
setLine(int line)
Sets line of file Optional |
void |
setMessage(java.lang.String message)
Sets current instance description. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InspectionInstance()
| Method Detail |
|---|
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
public java.lang.String getInspectionId()
public void setInspectionId(java.lang.String inspectionId)
Requiredpublic java.lang.String getFilePath()
public void setFilePath(java.lang.String filePath)
public int getLine()
public void setLine(int line)
public void addAttribute(java.lang.String attributeId,
java.util.Collection<java.lang.String> value)
example: PACKAGE => 'com' 'intellij' 'teamcity' 'some-package'public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getAttributes()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||