|
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.NameScannerOpens 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_PREFIXThe prefix of the Audit profile file format identifier, declaring that the file is an Audit profile. |
static java.lang.String |
FORMAT_VERSIONThe 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 Profilepublic void removeChangeListener(javax.swing.event.ChangeListener listener)
removeChangeListener in class Profilepublic java.lang.String getName()
ProfilegetName in class Profilepublic boolean isDefault()
ProfileisDefault in class Profilepublic java.lang.String getKey()
ProfilegetKey in class Profilepublic java.net.URL getURL()
ProfilegetURL in class Profilepublic java.util.Collection<java.lang.Class<? extends Analyzer>> getAnalyzerClasses()
ProfilegetAnalyzerClasses in class Profilepublic ProfileTransaction createTransaction()
ProfilecreateTransaction in class Profile
public void save(java.net.URL url)
throws java.io.IOException
Profilesave in class Profilejava.io.IOExceptionpublic Profile.Instances createInstances()
ProfilecreateInstances in class Profilepublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic 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 | |||||||||