public class Configuration extends Object
Modifier and Type | Field and Description |
---|---|
List<Class<org.objectweb.asm.ClassVisitor>> |
classAdapters
The class adapters that the system will chain.
|
Set<String> |
excludedPackages
Patterns in class names that are excluded from enhancement.
|
Set<String> |
includedPackages
Packages that are included in the enhancement.
|
Logger |
logger
The LOGGER for the class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
excluded(String string)
Checks to see if the class is included in the classes that can be enhanced, so for example java.lang is excluded.
|
String |
getClassPath()
Access to the classpath of the system.
|
static Configuration |
getConfiguration()
System wide access to the configuration.
|
String |
getProperty(String name)
Access to the system properties.
|
long |
getReportInterval() |
long |
getSnapshotInterval() |
double |
getTimeUnitDenominator() |
boolean |
included(String string)
Checks to see that the class name is included in the packages that are to be included.
|
public Logger logger
public Set<String> excludedPackages
public static Configuration getConfiguration()
public boolean included(String string)
string
- the string to check for pattern inclusionpublic boolean excluded(String string)
string
- the string that is to be checked for exclusionpublic String getProperty(String name)
name
- the name of the propertypublic String getClassPath()
public long getSnapshotInterval()
public long getReportInterval()
public double getTimeUnitDenominator()
Copyright © 2016–2020. All rights reserved.