public interface NewIssueLocation
NewIssue.newLocation()
.Modifier and Type | Field and Description |
---|---|
static int |
MESSAGE_MAX_SIZE
Maximum number of characters in the message.
|
Modifier and Type | Method and Description |
---|---|
NewIssueLocation |
at(TextRange location)
Position in the file.
|
NewIssueLocation |
message(java.lang.String message)
Optional, but recommended, plain-text message for this location.
|
NewIssueLocation |
on(InputComponent component)
The
InputComponent the issue location belongs to. |
static final int MESSAGE_MAX_SIZE
NewIssueLocation on(InputComponent component)
InputComponent
the issue location belongs to. Mandatory.NewIssueLocation at(TextRange location)
on(InputComponent)
has been called with an InputFile.
See InputFile.newRange(org.sonar.api.batch.fs.TextPointer, org.sonar.api.batch.fs.TextPointer)
NewIssueLocation message(java.lang.String message)
MESSAGE_MAX_SIZE
characters.