|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ikokoon.serenity.Configuration
public class Configuration
The configuration object holds the parameters for the processing, some from the system parameters that can be set by the user and some internal like packages to be excluded always for example java.lang.
| Field Summary | |
|---|---|
java.util.List<java.lang.Class<org.objectweb.asm.ClassVisitor>> |
classAdapters
The class adapters that the system will chain. |
java.util.Set<java.lang.String> |
excludedPackages
Patterns in class names that are excluded from enhancement. |
java.util.Set<java.lang.String> |
includedPackages
Packages that are included in the enhancement. |
org.apache.log4j.Logger |
logger
The logger for the class. |
| Method Summary | |
|---|---|
boolean |
excluded(java.lang.String string)
Checks to see if the class is included in the classes that can be enhanced, so for example java.lang is excluded. |
java.lang.String |
getClassPath()
Access to the classpath of the system. |
static Configuration |
getConfiguration()
System wide access to the configuration. |
java.lang.String |
getProperty(java.lang.String name)
Access to the system properties. |
boolean |
included(java.lang.String string)
Checks to see that the class name is included in the packages that are to be included. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public org.apache.log4j.Logger logger
public java.util.Set<java.lang.String> includedPackages
public java.util.Set<java.lang.String> excludedPackages
public java.util.List<java.lang.Class<org.objectweb.asm.ClassVisitor>> classAdapters
| Method Detail |
|---|
public static Configuration getConfiguration()
public boolean included(java.lang.String string)
string - the string to check for pattern inclusion
public boolean excluded(java.lang.String string)
string - the string that is to be checked for exclusion
public java.lang.String getProperty(java.lang.String name)
name - the name of the property
public java.lang.String getClassPath()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||