|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jdeveloper.audit.transform.Transform
oracle.jdeveloper.audit.java.SetVisibilityTransform
Transform to set the visibility of a class, method, or field.
Constructor Summary | |
SetVisibilityTransform(Visibility visibility)
|
Method Summary | |
void |
apply()
Applies this transform. |
Visibility |
getVisibility()
|
boolean |
isApplicable()
Gets whether applying this transform is likely to succeed. |
boolean |
isApplied()
Gets whether this transform appears to have been already applied (whether because apply was invoked or because another agent caused the same effect). |
void |
setVisibility(Visibility visibility)
Sets the visibility. |
Methods inherited from class oracle.jdeveloper.audit.transform.Transform |
getConstruct, getLocation, label, name, setLocation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SetVisibilityTransform(Visibility visibility)
Method Detail |
public Visibility getVisibility()
public void setVisibility(Visibility visibility)
public boolean isApplicable()
Transform
Transform
implementation returns
true. If a subclass can test for situations where apply is sure to fail,
it can override this method to make the test and return false if it fails.
Note that the Audit framework handles the case of unmodifiable documents.
isApplicable
in class Transform
public void apply()
Transform
Transform.isApplicable()
returns true and Transform.isApplied()
returns false.
apply
in class Transform
public boolean isApplied()
Transform
Transform
implementation returns false.
isApplied
in class Transform
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.