|
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 |
java.lang.Object
oracle.jdeveloper.audit.service.Profile
oracle.jdeveloper.audit.service.DefaultProfile
public class DefaultProfile
Nested Class Summary | |
---|---|
static class |
DefaultProfile.NameScanner Opens a profile file and scans until the profile name and key is found. |
Nested classes/interfaces inherited from class oracle.jdeveloper.audit.service.Profile |
---|
Profile.Instances, Profile.Setter |
Field Summary | |
---|---|
static java.lang.String |
FORMAT |
static java.lang.String |
FORMAT_PREFIX The prefix of the Audit profile file format identifier, declaring that the file is an Audit profile. |
static java.lang.String |
FORMAT_VERSION The current version of the Audit profile file format. |
static java.lang.String |
SEALED_ID |
Constructor Summary | |
---|---|
DefaultProfile(Profile profile) |
|
DefaultProfile(java.lang.String name) Creates a new profile with all registered analyzers and with all beans in their default state, then enables all rules and metrics. |
|
DefaultProfile(java.lang.String name, boolean enabled) Creates a new profile with all registered analyzers and with all beans enable as specified. |
|
DefaultProfile(java.lang.String name, java.lang.Class<? extends Analyzer>... analyzers) Creates a new profile with specific analyzers. |
|
DefaultProfile(java.lang.String name, java.util.List<java.lang.Class<? extends Analyzer>> analyzers) Creates a new profile with a list of analyzers. |
|
DefaultProfile(java.lang.String key, java.lang.String name, java.net.URL url) Creates a new predefined profile with all registered analyzers configured from a profile file. |
|
DefaultProfile(java.lang.String name, java.net.URL url) Creates a new profile with all registered analyzers configured from a profile file. |
|
DefaultProfile(java.net.URL url, boolean seal) Creates a new profile with all registered analyzers configured from a profile file. |
Method Summary | |
---|---|
void |
addChangeListener(javax.swing.event.ChangeListener listener) |
Profile.Instances |
createInstances() Creates a set of analyzer and bean instances from this profile. |
ProfileTransaction |
createTransaction() Creates a transaction for this profile. |
boolean |
equals(java.lang.Object object) |
java.util.Collection<java.lang.Class<? extends Analyzer>> |
getAnalyzerClasses() Gets the analyzer classes from this profile. |
java.lang.String |
getKey() Gets the creation key of this profile, or null if this is a user-created profile. |
java.lang.String |
getName() Gets the name of this profile. |
java.net.URL |
getURL() Gets the URL where the contents of this profile are saved, or null if new. |
int |
hashCode() |
boolean |
isDefault() Gets whether this profile is a default profile. |
void |
removeChangeListener(javax.swing.event.ChangeListener listener) |
void |
save(java.net.URL url) Saves this profile. |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String FORMAT_PREFIX
public static final java.lang.String FORMAT_VERSION
10.1.3 | Boolean identifying profile as predefined replaced by a String key identifying predefined profile. Format identifier added. |
10.1.3-1 | Added support for dynamic property setters. |
11.1.1 | Disassociated setters from analyzers. |
11.1.1-1 | Added qualifying prefix to bean names. |
11.1.1-2 | Added sealed profile support. Uses enabled value of pseudo-rule SEALED_ID to indicate whether profile is sealed. |
public static final java.lang.String FORMAT
public static final java.lang.String SEALED_ID
Constructor Detail |
---|
public DefaultProfile(java.net.URL url, boolean seal)
url
- The url of a profile file.public DefaultProfile(java.lang.String name, boolean enabled)
name
- The name of this profile.public DefaultProfile(java.lang.String name, java.net.URL url)
url
- The url of a profile file.public DefaultProfile(java.lang.String key, java.lang.String name, java.net.URL url)
key
- The creation key of this profile.name
- The name of the profile.url
- The url of a profile file.public DefaultProfile(java.lang.String name, java.lang.Class<? extends Analyzer>... analyzers)
name
- The name of this profile.analyzers
- The single analyzer for this profile.public DefaultProfile(java.lang.String name, java.util.List<java.lang.Class<? extends Analyzer>> analyzers)
name
- The name of this profile.analyzers
- The analyzers for this profile.public DefaultProfile(java.lang.String name)
name
- The name of this profile.public DefaultProfile(Profile profile)
Method Detail |
---|
public void addChangeListener(javax.swing.event.ChangeListener listener)
addChangeListener
in class Profile
public void removeChangeListener(javax.swing.event.ChangeListener listener)
removeChangeListener
in class Profile
public java.lang.String getName()
Profile
getName
in class Profile
public boolean isDefault()
Profile
isDefault
in class Profile
public java.lang.String getKey()
Profile
getKey
in class Profile
public java.net.URL getURL()
Profile
getURL
in class Profile
public java.util.Collection<java.lang.Class<? extends Analyzer>> getAnalyzerClasses()
Profile
getAnalyzerClasses
in class Profile
public ProfileTransaction createTransaction()
Profile
createTransaction
in class Profile
public void save(java.net.URL url) throws java.io.IOException
Profile
save
in class Profile
java.io.IOException
public Profile.Instances createInstances()
Profile
createInstances
in class Profile
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
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 |