Package | Description |
---|---|
oracle.jdeveloper.audit.analyzer |
The base classes for writing analyzers.
|
oracle.jdeveloper.audit.model |
The base classes for defining the Audit object model.
|
oracle.jdeveloper.audit.service |
The API classes for invoking Audit programatically, and a few Audit common
API classes.
|
oracle.jdeveloper.audit.transform |
The base classes for defining transformations on the Audit object
model.
|
oracle.jdevimpl.audit.core | |
oracle.jdevimpl.audit.log | |
oracle.jdevimpl.audit.model |
Modifier and Type | Method and Description |
---|---|
<T extends ModelAdapter> |
AuditContext.getModel(java.lang.Class<T> type,
java.net.URL url)
Gets the model adapter for the model corresponding to a URL in the
workspace and project currently being traversed.
|
<T extends ModelAdapter> |
AuditTaskContext.getModel(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.
|
<T extends ModelAdapter> |
AuditContext.getModel(java.lang.Class<T> type,
java.net.URL url,
Project project,
Workspace workspace)
Gets the model adapter for the model corresponding to a workspace, project,
and url.
|
<T extends ModelAdapter> |
AuditContext.getModelAdapter(java.lang.Class<T> type,
java.net.URL url)
Deprecated.
|
<T extends ModelAdapter> |
AuditTaskContext.getModelAdapter(java.lang.Class<T> type,
java.net.URL url,
Project project,
Workspace workspace)
Deprecated.
|
<T extends ModelAdapter> |
AuditContext.getModelAdapter(java.lang.Class<T> type,
java.net.URL url,
Project project,
Workspace workspace)
|
Modifier and Type | Method and Description |
---|---|
ModelAdapter |
AuditContext.getModel()
Gets the model adapter for the model currently being traversed.
|
<T extends ModelAdapter> |
AuditContext.getModel(java.lang.Class<T> type,
java.net.URL url)
Gets the model adapter for the model corresponding to a URL in the
workspace and project currently being traversed.
|
<T extends ModelAdapter> |
AuditTaskContext.getModel(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.
|
<T extends ModelAdapter> |
AuditContext.getModel(java.lang.Class<T> type,
java.net.URL url,
Project project,
Workspace workspace)
Gets the model adapter for the model corresponding to a workspace, project,
and url.
|
ModelAdapter |
AuditContext.getModelAdapter()
Deprecated.
|
<T extends ModelAdapter> |
AuditContext.getModelAdapter(java.lang.Class<T> type,
java.net.URL url)
Deprecated.
|
<T extends ModelAdapter> |
AuditTaskContext.getModelAdapter(java.lang.Class<T> type,
java.net.URL url,
Project project,
Workspace workspace)
Deprecated.
|
<T extends ModelAdapter> |
AuditContext.getModelAdapter(java.lang.Class<T> type,
java.net.URL url,
Project project,
Workspace workspace)
|
Modifier and Type | Method and Description |
---|---|
void |
ViolationReport.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 |
IssueReport.addConstructParameter(java.lang.String name,
ModelAdapter model,
java.lang.Object construct)
Adds a construct in a model as a parameter to the issue.
|
IssueReport |
AuditTaskContext.report(Rule rule,
ModelAdapter model,
java.lang.Object construct)
Reports a rule violation for a construct.
|
IssueReport |
AuditContext.report(Rule rule,
ModelAdapter model,
java.lang.Object construct)
Deprecated.
Violations reported on a model other than the one currently
being traversed are ignored.
|
Modifier and Type | Class and Description |
---|---|
class |
ContainerModelAdapter
An abstract
ModelAdapter which adapts an Element which
contains elements. |
class |
FileModelAdapter
An abstract
ModelAdapter which adapts a file (text or binary) node. |
class |
TextFileModelAdapter
An abstract
ModelAdapter adapter which adapts a text file node. |
Modifier and Type | Method and Description |
---|---|
<T extends ModelAdapter> |
ModelFactory.getModelAdapter(java.lang.Class<T> type,
java.net.URL url,
Project project,
Workspace workspace)
Gets the model adapter of a type corresponding to a URL, or null if none.
|
Modifier and Type | Method and Description |
---|---|
ModelAdapter |
ModelType.createModelAdapter(ModelAdapter model,
java.util.Collection<Location> fragments)
Creates a fragmentary model for this model type corresponding to fragments
produced by a model of a different model type.
|
abstract ModelAdapter |
ModelType.createModelAdapter(ModelFactory factory,
Element element,
java.net.URL url,
ContainerModelAdapter directory,
ContainerModelAdapter project,
ContainerModelAdapter workspace)
Creates a model for this model type corresponding to a workspace,
project, package, element, and URL.
|
ModelAdapter |
Location.getModel()
Gets the model containing this location.
|
<T extends ModelAdapter> |
ModelFactory.getModelAdapter(java.lang.Class<T> type,
java.net.URL url,
Project project,
Workspace workspace)
Gets the model adapter of a type corresponding to a URL, or null if none.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ModelAdapter> |
ModelFactory.getContainedModelAdapters(Element element,
java.net.URL url,
ContainerModelAdapter container)
Gets the models in a container corresponding to an
Element . |
java.util.Collection<ModelAdapter> |
ModelFactory.getModelAdapters(Element element,
java.net.URL url,
Project project,
Workspace workspace)
Gets the models corresponding to an
Element or URL . |
Modifier and Type | Method and Description |
---|---|
boolean |
ContainerModelAdapter.addContainedModel(ModelAdapter model)
Adds a model to the set contained by this model.
|
void |
ContainerModelAdapter.addEmbeddedModel(ModelAdapter embeddedModel,
ModelAdapter baseModel)
Adds an embedded model to the set contained by this model.
|
protected static int |
ModelAdapter.compareSiblings(ModelAdapter d1,
ModelAdapter d2) |
abstract boolean |
ModelAdapter.contains(ModelAdapter that)
Gets whether this model contains a model.
|
boolean |
FileModelAdapter.contains(ModelAdapter that) |
ModelAdapter |
ModelType.createModelAdapter(ModelAdapter model,
java.util.Collection<Location> fragments)
Creates a fragmentary model for this model type corresponding to fragments
produced by a model of a different model type.
|
Constructor and Description |
---|
Location(ModelAdapter model)
Creates a location within a model.
|
Modifier and Type | Method and Description |
---|---|
void |
AuditListener.modelEntered(Auditor auditor,
ModelAdapter model)
Reports an Auditor model entered event.
|
void |
AuditListener.modelExited(Auditor auditor,
ModelAdapter model)
Reports an Auditor model exited event.
|
void |
TransformerListener.modelSaved(ModelAdapter model)
Reports that a model was saved.
|
void |
TransformerListener.modelWritable(ModelAdapter model)
Reports that a model was made writable.
|
boolean |
TransformerListener.saveFailed(java.lang.Throwable exception,
ModelAdapter model,
java.lang.String label)
Reports that saving a model failed.
|
Modifier and Type | Method and Description |
---|---|
ModelAdapter |
TransformSequenceContext.getModel()
Gets the model to be transformed.
|
ModelAdapter |
TransformContext.getModel()
Gets the model to be transformed.
|
abstract ModelAdapter |
TransformAdapter.Region.getModel() |
ModelAdapter |
TransformAdapter.LocationRegion.getModel() |
ModelAdapter |
TransformAdapter.ConstructRegion.getModel() |
ModelAdapter |
TransformContext.getModelAdapter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
TransformAdapter.addHighlight(ModelAdapter model,
java.lang.Object construct)
Adds a highlight region for a construct for this context.
|
void |
TransformAdapter.addRemovedHighlight(ModelAdapter model,
java.lang.Object construct)
Adds a highlight region for an about-to-be-removed construct in the model
for this context.
|
boolean |
TransformAdapter.isTransformable(ModelAdapter model)
Gets whether a model is transformable by this transform adapter.
|
void |
TransformContext.setSelection(ModelAdapter model,
java.lang.Object construct,
boolean before,
boolean after)
Deprecated.
Use {@link #setSelection(ModelAdapter, Object, int, int)
|
void |
TransformContext.setSelection(ModelAdapter model,
java.lang.Object construct,
int margin,
int endMargin)
Sets the post-application caret and selection relative to a construct in a
specified model.
|
void |
TransformAdapter.setSelection(ModelAdapter model,
java.lang.Object construct,
int margin,
int endMargin)
Sets the selection to be set after a transform is applied.
|
Constructor and Description |
---|
TransformAdapter.ConstructRegion(ModelAdapter model,
java.lang.Object construct) |
TransformSequenceContext(TransformAdapter adapter,
ModelAdapter model)
Creates a transform sequence context for a series of transforms.
|
Modifier and Type | Method and Description |
---|---|
<T extends ModelAdapter> |
DefaultAuditContext.getModel(java.lang.Class<T> type,
java.net.URL url) |
<T extends ModelAdapter> |
DefaultAuditTaskContext.getModel(java.lang.Class<T> type,
java.net.URL url,
Project project,
Workspace workspace) |
<T extends ModelAdapter> |
DefaultAuditContext.getModel(java.lang.Class<T> type,
java.net.URL url,
Project project,
Workspace workspace) |
<T extends ModelAdapter> |
DefaultAuditContext.getModelAdapter(java.lang.Class<T> type,
java.net.URL url) |
<T extends ModelAdapter> |
DefaultAuditTaskContext.getModelAdapter(java.lang.Class<T> type,
java.net.URL url,
Project project,
Workspace workspace) |
<T extends ModelAdapter> |
DefaultAuditContext.getModelAdapter(java.lang.Class<T> type,
java.net.URL url,
Project project,
Workspace workspace) |
Modifier and Type | Method and Description |
---|---|
ModelAdapter |
DefaultAuditContext.getModel() |
<T extends ModelAdapter> |
DefaultAuditContext.getModel(java.lang.Class<T> type,
java.net.URL url) |
<T extends ModelAdapter> |
DefaultAuditTaskContext.getModel(java.lang.Class<T> type,
java.net.URL url,
Project project,
Workspace workspace) |
<T extends ModelAdapter> |
DefaultAuditContext.getModel(java.lang.Class<T> type,
java.net.URL url,
Project project,
Workspace workspace) |
ModelAdapter |
DefaultAuditContext.getModelAdapter() |
<T extends ModelAdapter> |
DefaultAuditContext.getModelAdapter(java.lang.Class<T> type,
java.net.URL url) |
<T extends ModelAdapter> |
DefaultAuditTaskContext.getModelAdapter(java.lang.Class<T> type,
java.net.URL url,
Project project,
Workspace workspace) |
<T extends ModelAdapter> |
DefaultAuditContext.getModelAdapter(java.lang.Class<T> type,
java.net.URL url,
Project project,
Workspace workspace) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultAuditModel.modelEntered(Auditor auditor,
ModelAdapter model) |
void |
DefaultAuditModel.modelExited(Auditor auditor,
ModelAdapter model) |
IssueReport |
DefaultAuditTaskContext.report(Rule rule,
ModelAdapter model,
java.lang.Object construct) |
IssueReport |
DefaultAuditContext.report(Rule rule,
ModelAdapter model,
java.lang.Object construct) |
Modifier and Type | Method and Description |
---|---|
void |
AuditLogPanel.modelSaved(ModelAdapter model) |
void |
AuditLogPanel.modelWritable(ModelAdapter model) |
boolean |
AuditLogPanel.saveFailed(java.lang.Throwable exception,
ModelAdapter model,
java.lang.String label) |
Modifier and Type | Class and Description |
---|---|
class |
DirectoryModelAdapter
A
ModelAdapter which adapts the Audit framework to a directory in a
content set. |
class |
ProjectModelAdapter
A
ModelAdapter which adapts the Audit framework to the (vestigial)
model of a Project node. |
class |
RootModelAdapter
A
ModelAdapter which adapts the Audit framework to the (vestigial)
model of the singleton Workspaces node. |
class |
UnauditableFileModelAdapter |
class |
WorkspaceModelAdapter
A
ModelAdapter which adapts the Audit framework to the (vestigial)
model of a Workspace node. |
Modifier and Type | Method and Description |
---|---|
<T extends ModelAdapter> |
DefaultModelFactory.getModelAdapter(java.lang.Class<T> type,
java.net.URL url,
Project project,
Workspace workspace) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ModelAdapter> |
DefaultModelFactory.getContainedModelAdapters(Element element,
java.net.URL url,
ContainerModelAdapter container) |
java.util.Collection<ModelAdapter> |
DefaultModelFactory.getModelAdapters(Element element,
java.net.URL url,
Project project,
Workspace workspace) |
Modifier and Type | Method and Description |
---|---|
boolean |
WorkspaceModelAdapter.contains(ModelAdapter that) |
boolean |
RootModelAdapter.contains(ModelAdapter that) |
boolean |
ProjectModelAdapter.contains(ModelAdapter that) |
boolean |
DirectoryModelAdapter.contains(ModelAdapter that) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultModelFactory.addModelAdapters(java.util.Collection<ModelAdapter> models,
Element element,
java.net.URL url,
Project project,
Workspace workspace)
If the URL is not supplied, then the
Element must have been
supplied and is used to determine the URL(s). |
void |
DefaultModelFactory.getOrCreateModelAdapters(java.util.Collection<ModelAdapter> models,
Element element,
java.net.URL url,
Project project,
Workspace workspace)
The workspace/project/URL key is computed.
|