|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuditTaskContext
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. |
Method Detail |
---|
void taskCompleted()
boolean isCancelled()
<T extends ModelAdapter> ModelAdapter getModelAdapter(java.lang.Class<T> type, java.net.URL url, Project project, Workspace workspace)
ViolationReport report(Rule rule, ModelAdapter model, java.lang.Object construct)
report
returns a ViolationReport
which allows parameters and other attributes to be added to the violation. See 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.
rule
- The rule violated.model
- The model containing the violationg construct.construct
- The violating construct.ViolationReport report(Rule rule, Location location)
report
returns a ViolationReport
which allows parameters and other attributes to be added to the violation. See the class overview
for more information.rule
- The rule violated.location
- The Location
of the the violating construct.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |