|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.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. |
| 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,
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. |
|
| 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. |
public static final java.lang.String FORMAT
| Constructor Detail |
|---|
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()
Profile
getName in class Profilepublic boolean isDefault()
Profile
isDefault in class Profilepublic java.lang.String getKey()
Profile
getKey in class Profilepublic java.net.URL getURL()
Profile
getURL in class Profilepublic java.util.Collection<java.lang.Class<? extends Analyzer>> getAnalyzerClasses()
Profile
getAnalyzerClasses in class Profilepublic ProfileTransaction createTransaction()
Profile
createTransaction in class Profile
public void save(java.net.URL url)
throws java.io.IOException
Profile
save in class Profilejava.io.IOExceptionpublic Profile.Instances createInstances()
Profile
createInstances 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.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||