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.project | |
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.markers | |
oracle.jdevimpl.audit.model |
Modifier and Type | Method and Description |
---|---|
Location |
AuditContext.getLocation()
Gets the location of the construct currently being traversed.
|
Location |
AuditContext.getLocation(java.lang.Object construct)
Gets the location of a construct in the model currently being traversed.
|
Modifier and Type | Method and Description |
---|---|
void |
AuditContext.produceFragment(java.lang.Class<? extends ModelType> fragmentType, Location location)
Produces a fragment of another model type from a construct in the model currently being traversed.
|
IssueReport |
AuditTaskContext.report(Rule rule, Location location)
Reports a rule violation for a construct.
|
ViolationReport |
AuditContextCompatibility.report(Rule rule, Location location)
Deprecated.
|
IssueReport |
AuditContext.report(Rule rule, Location location)
Reports an issue for a location in the model currently being traversed (i.e., location.getModel() == context.getModel()).
|
SuppressionReport |
AuditContext.report(SuppressionScheme scheme, java.lang.String name, int count, Location location)
Reports a suppression for the scope of a location in the model currently being traversed.
|
void |
ViolationReport.setFocusLocation(Location location)
Deprecated.
Sets the location at the focus of the violation.
|
void |
IssueReport.setFocusLocation(Location location)
Sets the location at the focus of the violation.
|
void |
ViolationReport.setTransformFocusLocation(Transform transform, Location location)
Deprecated.
Sets the focus location of a transform for this violation.
|
void |
IssueReport.setTransformFocusLocation(Transform transform, Location location)
Sets the focus location of a transform for this violation.
|
Modifier and Type | Method and Description |
---|---|
Location |
Location.getBeginning()
Gets a zero length location at the beginning of this location.
|
abstract Location[] |
ModelAdapter.getElementLocations(Element element)
Gets the locations of the constructs in this model corresponding to an IDE element.
|
Location[] |
ContainerModelAdapter.getElementLocations(Element element) |
Location |
Location.getEnd()
Gets a zero length location at the end of this location.
|
Location |
ModelAdapter.getEndLocation()
Gets a location greater than any location in this model.
|
Location |
TextFileModelAdapter.getFocusLocation(Location location) |
Location |
ModelAdapter.getFocusLocation(Location location)
Gets the focus location for a location in this model.
|
Location |
ModelAdapter.getFocusLocation(java.lang.Object construct, Location location)
Gets the focus location for a construct in this model.
|
Location |
ModelAdapter.getLocation()
Gets a location less than or equal to any location in this model.
|
Location |
Location.getLocation()
Gets this location in fulfillment of the
Located interface. |
Location |
Located.getLocation()
Gets the location of this object.
|
Location |
TextFileModelAdapter.getLocation(int offset, int length) |
Location |
ModelAdapter.getLocation(int offset, int length)
Gets a location in this model.
|
abstract Location |
ModelAdapter.getLocation(java.lang.Object construct)
Gets the location for a construct in this model, or null if the object is not a construct in this model.
|
Location |
ContainerModelAdapter.getLocation(java.lang.Object construct) |
Location |
ModelFactory.getModelRoot()
Gets the location of the root object of the aggregated Audit object model.
|
Location |
Location.intersection(Location that)
Gets the intersection of this location with a location, or null if they do not intersect.
|
Modifier and Type | Method and Description |
---|---|
int |
Location.compareTo(Location that)
A Location which encloses another will always sort first.
|
boolean |
ModelAdapter.contains(Location location)
Gets whether this model contains a location.
|
boolean |
Location.contains(Location that)
Gets whether this location contains a location.
|
boolean |
ModelAdapter.contains(java.lang.Object construct, Location location)
Gets whether a construct in this model contains a location.
|
java.lang.String |
TextFileModelAdapter.contextDescription(Location location)
Gets a description of a location of this model.
|
java.lang.String |
ModelAdapter.contextDescription(Location location)
Gets a description of a location of this model.
|
boolean |
TextFileModelAdapter.edit(Location location)
Edits a location in this model using an editor suitable for the model and location.
|
boolean |
ModelAdapter.edit(Location location)
Edits a location in this model using an editor suitable for the model and location.
|
java.lang.Object |
ModelAdapter.getConstruct(Location location)
Gets the innermost construct containing a location in this model.
|
java.lang.Object |
ContainerModelAdapter.getConstruct(Location location) |
java.lang.Object |
ModelAdapter.getConstruct(Location location, java.lang.Object parentConstruct)
Gets the outermost construct containing a location within a specified construct in this model.
|
Location |
TextFileModelAdapter.getFocusLocation(Location location) |
Location |
ModelAdapter.getFocusLocation(Location location)
Gets the focus location for a location in this model.
|
Location |
ModelAdapter.getFocusLocation(java.lang.Object construct, Location location)
Gets the focus location for a construct in this model.
|
oracle.ide.navigation.NavigationPoint |
ModelAdapter.getNavigationPoint(Location location)
Obtain a navigation point which will navigate to the location.
|
javax.swing.Icon |
ModelAdapter.icon(Location location)
Gets the icon for a location of this model.
|
Location |
Location.intersection(Location that)
Gets the intersection of this location with a location, or null if they do not intersect.
|
boolean |
Location.intersects(Location that)
Gets whether this location intersects with a location.
|
boolean |
TextFileModelAdapter.isEditable(Location location)
Gets whether a location in this model is editable.
|
boolean |
ModelAdapter.isEditable(Location location)
Gets whether a location in this model is editable.
|
boolean |
TextFileModelAdapter.isModified(Location location) |
boolean |
ModelAdapter.isModified(Location location)
Gets whether a region of this model has been modified since this model adapter was created.
|
java.lang.Object |
ModelAdapter.label(Location location)
Gets the label for a location of this model.
|
java.lang.Object |
ModelAdapter.summary(Location location)
Gets the summary for a location of this model.
|
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.
|
Modifier and Type | Method and Description |
---|---|
TransformContext |
ProjectTransformAdapter.createContext(Transform transform, Violation violation, Location location) |
Constructor and Description |
---|
ProjectTransformContext(TransformAdapter adapter, Transform transform, Violation violation, Location location) |
Modifier and Type | Method and Description |
---|---|
Location |
Violation.getFocusLocation()
Gets the focus location of the violation, or null if none.
|
Location |
AuditModel.getFocusLocation(java.lang.Object row)
Gets the focus
Location of an object represented by a row in this model. |
Location |
Violation.getLocation()
Gets the location of the violating construct.
|
Location |
AuditModel.getLocation(java.lang.Object row)
Gets the
Location of an object represented by a row of this model. |
Location |
Suppression.getScope()
Gets the scope of this suppression.
|
Location |
Violation.getTransformFocusLocation(int index)
Gets the applicable location of a transform of this violation, or null if none.
|
static Location |
ViolationHelper.unpackFocusLocation(long bits, java.lang.Object[] objects, Location location) |
static Location |
ViolationHelper.unpackTransformFocusLocation(long bits, java.lang.Object[] objects, int index) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Location> |
AuditModel.getLocations()
Gets the locations audited to create this model.
|
Modifier and Type | Method and Description |
---|---|
void |
AuditListener.auditStarted(Auditor auditor, java.util.List<Metric> columns, java.util.List<Location> locations, Location root, java.lang.Class type)
Reports an Auditor audit started event.
|
void |
AuditListener.locationEntered(Auditor auditor, Location location, java.lang.Class type)
Reports an Auditor location entered event.
|
void |
AuditListener.locationExited(Auditor auditor, Location location)
Reports an Auditor location exited event.
|
static Location |
ViolationHelper.unpackFocusLocation(long bits, java.lang.Object[] objects, Location location) |
void |
AuditListener.valueReported(Auditor auditor, Location location, Metric metric, java.lang.Object newValue)
Reports an Auditor value reported event.
|
Modifier and Type | Method and Description |
---|---|
void |
AuditModelListener.auditStarted(AuditModel model, java.util.List<Metric> columns, java.util.List<Location> locations, java.lang.Object root, java.lang.Class type)
Reports that an audit has started on this model.
|
void |
AuditListener.auditStarted(Auditor auditor, java.util.List<Metric> columns, java.util.List<Location> locations, Location root, java.lang.Class type)
Reports an Auditor audit started event.
|
Modifier and Type | Method and Description |
---|---|
Location |
TransformContext.getFocusLocation()
Gets the focus location of the violation, or null if none.
|
Location |
TransformContext.getLocation()
Gets the location to be transformed.
|
abstract Location |
TransformAdapter.Region.getLocation() |
Location |
TransformAdapter.LocationRegion.getLocation() |
Location |
TransformAdapter.ConstructRegion.getLocation() |
Location |
TransformAdapter.getSelection()
Gets the selection set by the apply method of a transform, or null if none.
|
Location |
TransformContext.getTransformFocusLocation(int index)
Gets the applicable location of a transform of the violation, or null if none.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Location> |
TransformAdapter.getHighlightRegions(TransformContext context)
Gets the highlight regions set by the apply method of a transform for its model, or an empty list if none.
|
abstract java.util.List<Location> |
TransformAdapter.Region.getLocations() |
java.util.List<Location> |
TransformAdapter.LocationRegion.getLocations() |
java.util.List<Location> |
TransformAdapter.ConstructRegion.getLocations() |
Modifier and Type | Method and Description |
---|---|
abstract TransformContext |
TransformAdapter.createContext(Transform transform, Violation violation, Location location)
Creates a context for a transform over a violation.
|
TransformContext |
TextTransformAdapter.createContext(Transform transform, Violation violation, Location location) |
TransformContext |
NullTransformAdapter.createContext(Transform transform, Violation violation, Location location) |
boolean |
TransformAdapter.isTransformable(Location location)
Gets whether a location is transformable by this transform adapter.
|
boolean |
NullTransformAdapter.isTransformable(Location location) |
void |
TextTransformContext.setSelection(Location location) |
void |
TransformAdapter.setSelection(Location location, int margin, int endMargin)
Sets the selection to be set after a transform is applied.
|
Constructor and Description |
---|
NullTransformContext(NullTransformAdapter adapter, Transform transform, Violation violation, Location location) |
TextTransformContext(TextTransformAdapter adapter, Transform transform, Violation violation, Location location) |
TransformAdapter.LocationRegion(Location location) |
TransformContext(TransformAdapter adapter, Transform transform, Violation violation, Location location)
Creates a transform context for a transform to be applied to a violation.
|
Modifier and Type | Method and Description |
---|---|
Location |
DefaultAuditModel.getFocusLocation(java.lang.Object row) |
Location |
DefaultAuditContext.getLocation() |
Location |
DefaultAuditModel.getLocation(java.lang.Object row) |
Location |
DefaultAuditContext.getLocation(java.lang.Object construct) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Location> |
DefaultAuditModel.getLocations() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultAuditModel.auditStarted(Auditor auditor, java.util.List<Metric> columns, java.util.List<Location> locations, Location root, java.lang.Class type) |
DefaultAuditContext |
DefaultAuditContext.enterContext(ModelAdapter model, Location location, java.lang.Object construct, java.lang.Class<?> presentationType, boolean isRoot) |
void |
DefaultAuditModel.locationEntered(Auditor auditor, Location location, java.lang.Class type) |
void |
DefaultAuditModel.locationExited(Auditor auditor, Location location) |
void |
DefaultAuditContext.produceFragment(java.lang.Class<? extends ModelType> fragmentType, Location location) |
IssueReport |
DefaultAuditTaskContext.report(Rule rule, Location location) |
IssueReport |
DefaultAuditContext.report(Rule rule, Location location) |
SuppressionReport |
DefaultAuditContext.report(SuppressionScheme scheme, java.lang.String name, int count, Location location) |
void |
DefaultAuditModel.valueReported(Auditor auditor, Location location, Metric metric, java.lang.Object newValue) |
Modifier and Type | Method and Description |
---|---|
void |
SeverityColumn.auditStarted(AuditModel model, java.util.List<Metric> columns, java.util.List<Location> locations, java.lang.Object root, java.lang.Class type) |
void |
CountColumn.auditStarted(AuditModel model, java.util.List<Metric> columns, java.util.List<Location> locations, java.lang.Object root, java.lang.Class type) |
void |
DefaultAuditModel.auditStarted(Auditor auditor, java.util.List<Metric> columns, java.util.List<Location> locations, Location root, java.lang.Class type) |
protected void |
AbstractAuditModel.fireAuditStarted(java.util.List<Metric> columns, java.util.List<Location> locations, java.lang.Object root, java.lang.Class type) |
Modifier and Type | Method and Description |
---|---|
void |
AuditTreeTableModel.auditStarted(AuditModel model, java.util.List<Metric> columns, java.util.List<Location> locations, java.lang.Object root, java.lang.Class type) |
void |
AuditLogPage.auditStarted(AuditModel model, java.util.List<Metric> columns, java.util.List<Location> locations, java.lang.Object root, java.lang.Class type) |
Constructor and Description |
---|
AuditMarkerNavigationPoint(Context context, Location location) |
Modifier and Type | Method and Description |
---|---|
Location[] |
UnauditableFileModelAdapter.getElementLocations(Element element) |
Location[] |
DirectoryModelAdapter.getElementLocations(Element element) |
Location |
UnauditableFileModelAdapter.getLocation(java.lang.Object construct) |
Location |
DefaultModelFactory.getModelRoot() |
Modifier and Type | Method and Description |
---|---|
boolean |
RootModelAdapter.contains(Location location) |
boolean |
WorkspaceModelAdapter.contains(java.lang.Object construct, Location location) |
boolean |
RootModelAdapter.contains(java.lang.Object construct, Location location) |
boolean |
ProjectModelAdapter.contains(java.lang.Object construct, Location location) |
boolean |
DirectoryModelAdapter.contains(java.lang.Object construct, Location location) |