| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.1) E67661-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
  
oracle.jdevimpl.audit.core.DefaultAuditTaskContext
public class DefaultAuditTaskContext
| Constructor Summary | |
|---|---|
DefaultAuditTaskContext(DefaultAuditor auditor, Analyzer analyzer, ModelFactory factory, java.util.concurrent.BlockingQueue<Violation> queue) | 
|
| Method Summary | ||
|---|---|---|
  | 
getModelAdapter(java.lang.Class<T> type, java.net.URL url, Project project, Workspace workspace)Gets the adapter for the model corresponding to a workspace, project, and url.  | 
|
 boolean | 
isCancelled()Gets whether the invoking audit has been cancelled.  | 
|
 ViolationReport | 
report(Rule rule, Location location)Reports a rule violation for a construct.  | 
|
 ViolationReport | 
report(Rule rule, ModelAdapter model, java.lang.Object construct)Reports a rule violation for a construct.  | 
|
 void | 
taskCompleted()Reports that this task has completed or cancelled.  | 
|
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public DefaultAuditTaskContext(DefaultAuditor auditor,
                               Analyzer analyzer,
                               ModelFactory factory,
                               java.util.concurrent.BlockingQueue<Violation> queue)
| Method Detail | 
|---|
public boolean isCancelled()
AuditTaskContextisCancelled in interface AuditTaskContext
public <T extends ModelAdapter> ModelAdapter getModelAdapter(java.lang.Class<T> type,
                                                             java.net.URL url,
                                                             Project project,
                                                             Workspace workspace)
AuditTaskContextgetModelAdapter in interface AuditTaskContext
public ViolationReport report(Rule rule,
                              Location location)
AuditTaskContextreport returns a ViolationReport which allows parameters and other attributes to be added to the violation. See the class overview for more information.report in interface AuditTaskContextrule - The rule violated.location - The Location of the the violating construct.
public ViolationReport report(Rule rule,
                              ModelAdapter model,
                              java.lang.Object construct)
AuditTaskContextreport returns a ViolationReport which allows parameters and other attributes to be added to the violation. See AuditTaskContext.getModelAdapter(Class,java.net.URL,oracle.ide.model.Project,oracle.ide.model.Workspace), and Location.getModel() to obtain a model.
See the class overview for more information.
report in interface AuditTaskContextrule - The rule violated.model - The model containing the violationg construct.construct - The violating construct.public void taskCompleted()
AuditTaskContexttaskCompleted in interface AuditTaskContext
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.1) E67661-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||