| Modifier and Type | Method and Description |
|---|---|
Region |
PhysicalLocation.getContextRegion()
A region within an artifact where a result was detected.
|
Region |
Replacement.getDeletedRegion()
A region within an artifact where a result was detected.
|
Region |
PhysicalLocation.getRegion()
A region within an artifact where a result was detected.
|
Region |
Region.withByteLength(Integer byteLength) |
Region |
Region.withByteOffset(Integer byteOffset) |
Region |
Region.withCharLength(Integer charLength) |
Region |
Region.withCharOffset(Integer charOffset) |
Region |
Region.withEndColumn(Integer endColumn) |
Region |
Region.withEndLine(Integer endLine) |
Region |
Region.withMessage(Message message) |
Region |
Region.withProperties(PropertyBag properties) |
Region |
Region.withSnippet(ArtifactContent snippet) |
Region |
Region.withSourceLanguage(String sourceLanguage) |
Region |
Region.withStartColumn(Integer startColumn) |
Region |
Region.withStartLine(Integer startLine) |
| Modifier and Type | Method and Description |
|---|---|
Set<Region> |
Location.getAnnotations()
A set of regions relevant to the location.
|
Set<Region> |
Attachment.getRegions()
An array of regions of interest within the attachment.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PhysicalLocation.setContextRegion(Region contextRegion)
A region within an artifact where a result was detected.
|
void |
Replacement.setDeletedRegion(Region deletedRegion)
A region within an artifact where a result was detected.
|
void |
PhysicalLocation.setRegion(Region region)
A region within an artifact where a result was detected.
|
PhysicalLocation |
PhysicalLocation.withContextRegion(Region contextRegion) |
Replacement |
Replacement.withDeletedRegion(Region deletedRegion) |
PhysicalLocation |
PhysicalLocation.withRegion(Region region) |
| Modifier and Type | Method and Description |
|---|---|
void |
Location.setAnnotations(Set<Region> annotations)
A set of regions relevant to the location.
|
void |
Attachment.setRegions(Set<Region> regions)
An array of regions of interest within the attachment.
|
Location |
Location.withAnnotations(Set<Region> annotations) |
Attachment |
Attachment.withRegions(Set<Region> regions) |
Copyright © 2020 Contrast Security. All rights reserved.