public interface SuppressionReport
AuditContext only allow a client to specify the type, id, count, and location properties of an suppression. To allow a client to specify additional properties, the AuditContext report methods return an instance of this interface to the client.| Modifier and Type | Method and Description |
|---|---|
void |
addConstructParameter(java.lang.String name, java.lang.Object construct)
Adds a construct as a parameter to the violation.
|
void |
addParameter(java.lang.String name, java.lang.Object value)
Adds a parameter to the suppression.
|
void addParameter(java.lang.String name,
java.lang.Object value)
void addConstructParameter(java.lang.String name,
java.lang.Object construct)
Locations to track constructs over time. This method is convenience method for:
addParameter(name, context.getModel().getLocation(construct));
Parameters:name - the name of the parameter.construct - the construct that is the intended parameter value.addParameter(java.lang.String, java.lang.Object)