public class Suppression extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Suppression.Kind
A string that indicates where the suppression is persisted.
|
static class |
Suppression.Status
A string that indicates the review status of the suppression.
|
| Constructor and Description |
|---|
Suppression() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getGuid()
A stable, unique identifer for the suprression in the form of a GUID.
|
String |
getJustification()
A string representing the justification for the suppression.
|
Suppression.Kind |
getKind()
A string that indicates where the suppression is persisted.
|
Location |
getLocation()
A location within a programming artifact.
|
PropertyBag |
getProperties()
Key/value pairs that provide additional information about the object.
|
Suppression.Status |
getStatus()
A string that indicates the review status of the suppression.
|
int |
hashCode() |
void |
setGuid(String guid)
A stable, unique identifer for the suprression in the form of a GUID.
|
void |
setJustification(String justification)
A string representing the justification for the suppression.
|
void |
setKind(Suppression.Kind kind)
A string that indicates where the suppression is persisted.
|
void |
setLocation(Location location)
A location within a programming artifact.
|
void |
setProperties(PropertyBag properties)
Key/value pairs that provide additional information about the object.
|
void |
setStatus(Suppression.Status status)
A string that indicates the review status of the suppression.
|
String |
toString() |
Suppression |
withGuid(String guid) |
Suppression |
withJustification(String justification) |
Suppression |
withKind(Suppression.Kind kind) |
Suppression |
withLocation(Location location) |
Suppression |
withProperties(PropertyBag properties) |
Suppression |
withStatus(Suppression.Status status) |
public String getGuid()
public void setGuid(String guid)
public Suppression withGuid(String guid)
public Suppression.Kind getKind()
public void setKind(Suppression.Kind kind)
public Suppression withKind(Suppression.Kind kind)
public Suppression.Status getStatus()
public void setStatus(Suppression.Status status)
public Suppression withStatus(Suppression.Status status)
public String getJustification()
public void setJustification(String justification)
public Suppression withJustification(String justification)
public Location getLocation()
public void setLocation(Location location)
public Suppression withLocation(Location location)
public PropertyBag getProperties()
public void setProperties(PropertyBag properties)
public Suppression withProperties(PropertyBag properties)
Copyright © 2020 Contrast Security. All rights reserved.