IssueReportpublic interface ViolationReport
AuditContext only allow a client
 to specify the rule and location properties of a violation. To allow a
 client to specify additional properties--variation, parameters, transforms,
 recommended transforms, focus location, and related location--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,
                     ModelAdapter model,
                     java.lang.Object construct)
Deprecated.  
Adds a parameter to the issue, where the parameter is a construct in a
 specified model. 
 | 
void | 
addConstructParameter(java.lang.String name,
                     java.lang.Object construct)
Deprecated.  
Adds a parameter to the issue, where the parameter is a construct in the
 model of the issue. 
 | 
void | 
addParameter(java.lang.String name,
            java.lang.Object value)
Deprecated.  
Adds a parameter to the issue. 
 | 
void | 
hideAllTransforms()
Deprecated.  
Hides all the tranforms for this violation. 
 | 
void | 
hideTransform(Transform transform)
Deprecated.  
Hides a transform for this violation. 
 | 
void | 
setDefaultTransform(Transform transform)
Deprecated.  
Sets the default transform for this violation. 
 | 
void | 
setFocusLocation(Location location)
Deprecated.  
Sets the focus location of the issue. 
 | 
void | 
setFocusLocation(java.lang.Object construct)
Deprecated.  
Sets the focus location of the issue to the location of a construct in the
 model of the issue. 
 | 
void | 
setVariation(java.lang.String name)
Deprecated.  
Sets the name of the rule variation which applies to this violation. 
 | 
void | 
showTransform(Transform transform)
Deprecated.  
Shows a transform for this violation. 
 | 
void addParameter(java.lang.String name,
                  java.lang.Object value)
Locations to track constructs
 over time. This method attempts to detect if the parameter is a construct
 in the model with the issue and substitutes a Location if so.name - the name of the parametervalue - the value of the parameteraddConstructParameter(java.lang.String, java.lang.Object)void addConstructParameter(java.lang.String name,
                           java.lang.Object construct)
Locations
 to track constructs over time. This method is more or less a convenience
 method for:
 
   addParameter(name, context.getModel().getLocation(construct));
 
name - the name of the parameter.construct - the construct that is the intended parameter value.java.lang.IllegalArgumentException - if the construct is not a construct in
                                  the model of the issue.addParameter(java.lang.String, java.lang.Object)void addConstructParameter(java.lang.String name,
                           ModelAdapter model,
                           java.lang.Object construct)
Locations
 to track constructs over time. This method is more or less a convenience
 method for:
 
   model.beginRead(true);
   try
   {
     addParameter(name, model.getLocation(construct));
   }
   finally
   {
     model.endRead(true);
   }
 
 It should be noted that the above implementation presents a deadlock
 hazard which the actual implementation avoids.name - the name of the parameter.model - the model containing the constructconstruct - the construct that is the intended parameter value.java.lang.IllegalArgumentException - if the construct is not a construct in
                                  the model with the issue.addParameter(java.lang.String, java.lang.Object)void setFocusLocation(java.lang.Object construct)
ModelAdapter.getFocusLocation(java.lang.Object, oracle.jdeveloper.audit.model.Location) if not null, otherwise it uses the location
 of the issue.void setFocusLocation(Location location)
ModelAdapter.getFocusLocation(java.lang.Object, oracle.jdeveloper.audit.model.Location) if not null, otherwise it uses the
 location of the issue.void setVariation(java.lang.String name)
name - The name of the variation: one of the names returned by
              Rule.variations().void hideAllTransforms()
void showTransform(Transform transform)
void hideTransform(Transform transform)
void setDefaultTransform(Transform transform)