org.jenkinsci.plugins.android_lint.parser
Class LintIssue

java.lang.Object
  extended by org.jenkinsci.plugins.android_lint.parser.LintIssue

public class LintIssue
extends Object

Represents a single issue in a Lint XML file.


Constructor Summary
LintIssue()
           
 
Method Summary
 void addLocation(Location location)
           
 String getId()
           
 List<Location> getLocations()
           
 String getMessage()
           
 String getSeverity()
           
 void setId(String id)
           
 void setMessage(String message)
           
 void setSeverity(String severity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LintIssue

public LintIssue()
Method Detail

getId

public String getId()
Returns:
The Lint rule ID.

setId

public void setId(String id)
Parameters:
id - The Lint rule ID.

getSeverity

public String getSeverity()
Returns:
The issue severity.

setSeverity

public void setSeverity(String severity)
Parameters:
severity - The issue severity.

getMessage

public String getMessage()
Returns:
The issue description.

setMessage

public void setMessage(String message)
Parameters:
message - The issue description.

getLocations

public List<Location> getLocations()
Returns:
List of locations the issue was found in.

addLocation

public void addLocation(Location location)
Parameters:
location - Location to add to this issue.


Copyright © 2004-2012. All Rights Reserved.