A B C D E F G H I J L M N O P R S T U V W X

A

absolute(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Absolute.
AbstractLogger - Class in patterntesting.runtime.log
This is a common super class for all classes which do a kind of logging.
AbstractLogger(OutputStream) - Constructor for class patterntesting.runtime.log.AbstractLogger
Instantiates a new abstract logger.
AbstractProfileMonitor - Class in patterntesting.runtime.monitor
 
AbstractProfileMonitor() - Constructor for class patterntesting.runtime.monitor.AbstractProfileMonitor
 
AbstractSerializer - Class in patterntesting.runtime.io
This is the common superclass for all Serializer casses in PatternTesting.
AbstractSerializer() - Constructor for class patterntesting.runtime.io.AbstractSerializer
 
acceptsURL(String) - Method in class patterntesting.runtime.monitor.db.ProxyDriver
Retrieves whether the driver thinks that it can open a connection to the given URL.
add(Class<?>, AssertionError) - Method in error patterntesting.runtime.junit.Failures
Adds the given class and error to the internal error colllection.
add(double) - Method in class patterntesting.runtime.monitor.JamonMonitor
 
add(double) - Method in interface patterntesting.runtime.monitor.ProfileMonitor
Normally this method should be synchronized.
add(double) - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
Adds the.
addAsShutdownHook() - Static method in class patterntesting.runtime.monitor.ClasspathMonitor
You can register the instance as shutdown hook.
addAsShutdownHook() - Static method in class patterntesting.runtime.monitor.db.SqlStatistic
You can register the instance as shutdown hook.
addAsShutdownHook() - Static method in class patterntesting.runtime.monitor.ProfileStatistic
You can register the instance as shutdown hook.
addAsShutdownHook(ProfileStatistic) - Static method in class patterntesting.runtime.monitor.ProfileStatistic
Adds the given instance (hook) as shutdown hook.
addBatch() - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Adds the batch.
addBatch(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Adds the batch.
addChild(SimpleProfileMonitor) - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
Adds the child.
addChild(String) - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
Adds the child.
addChildren(List<String>) - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
Adds the children.
addConnection(ProxyConnection) - Static method in class patterntesting.runtime.monitor.db.ConnectionMonitor
Adds the connection.
addFailure(RunNotifier, Throwable, Description) - Method in class patterntesting.runtime.junit.SmokeRunner
This method was inspired from an internal JUnit class (EachTestNotifier#addFailure(Throwable)).
addMeAsShutdownHook() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
To be able to register the instance as shutdown hook via JMX we can't use a static method - this is the reason why this additional method was added.
addMeAsShutdownHook() - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
To be able to register the instance as shutdown hook you can use this (non static) method.
addMonitor(String) - Static method in class patterntesting.runtime.monitor.JamonMonitorFactory
Adds the monitor.
addMonitors(List<String>) - Static method in class patterntesting.runtime.monitor.JamonMonitorFactory
Adds the monitors.
afterLast() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
After last.
AGENT_MBEAN - Static variable in class patterntesting.runtime.monitor.ClasspathDigger
The ClasspathAgent as MBean.
AllowJDBC - Annotation Type in patterntesting.annotation.check.ct
If you have damn JDBC calls in your class via DamnJDBC you can allow some methods these calls be declaring them with @AllowJDBC.
AnnotatedStandardMBean - Class in patterntesting.runtime.jmx
The Class AnnotatedStandardMBean.
AnnotatedStandardMBean(T, Class<T>) - Constructor for class patterntesting.runtime.jmx.AnnotatedStandardMBean
Instance where the MBean interface is implemented by another object.
AnnotatedStandardMBean(Class<?>) - Constructor for class patterntesting.runtime.jmx.AnnotatedStandardMBean
Instance where the MBean interface is implemented by this object.
ArchivEntry - Class in patterntesting.runtime.util
Unfortunately we can't extends URI because this is a final class.
ArchivEntry(File) - Constructor for class patterntesting.runtime.util.ArchivEntry
Instantiates a new archiv entry.
ArchivEntry(String) - Constructor for class patterntesting.runtime.util.ArchivEntry
Instantiates a new archiv entry.
ArchivEntry(URI) - Constructor for class patterntesting.runtime.util.ArchivEntry
Instantiates a new archiv entry.
ArchivEntry(URL) - Constructor for class patterntesting.runtime.util.ArchivEntry
Instantiates a new archiv entry.
ArchivEntry(String, File, String) - Constructor for class patterntesting.runtime.util.ArchivEntry
Instantiates a new archiv entry.
areEnabled() - Static method in class patterntesting.runtime.util.Assertions
If you want to know if the JavaVM was started with "Assertion enabled" (option -ea for SunVM) you can use this method.
areThreadsAllowed() - Static method in class patterntesting.runtime.util.Environment
In some JEE environment like Google's App Engine (GAE) it is not allowed to use multi threading.
assertAll(Class<?>) - Static method in class patterntesting.runtime.junit.ObjectTester
Starts all known checks like checkEquals(..), checks from the SerializableTester (if the given class is serializable) or from other classes.
assertAll(Collection<Class<?>>) - Static method in class patterntesting.runtime.junit.ObjectTester
Check all.
assertAll(Package) - Static method in class patterntesting.runtime.junit.ObjectTester
Starts all known checks for all classes of the given package.
assertAll(Package, Class<?>...) - Static method in class patterntesting.runtime.junit.ObjectTester
Starts all known checks for all classes of the given package except for the "excluded" classes.
assertAllOfPackage(String) - Static method in class patterntesting.runtime.junit.ObjectTester
Starts all known checks for all classes of the given package.
assertAllOfPackage(String, Class<?>...) - Static method in class patterntesting.runtime.junit.ObjectTester
Starts all known checks for all classes of the given package but not for the "excluded" classes.
assertAllOfPackage(String, List<Class<?>>) - Static method in class patterntesting.runtime.junit.ObjectTester
Starts all known checks for all classes of the given package but not for the "excluded" classes.
AssertArg - Class in patterntesting.runtime.util
This utility class is intended to check arguments.
AssertArg() - Constructor for class patterntesting.runtime.util.AssertArg
 
assertCloning(Class<? extends Cloneable>) - Static method in class patterntesting.runtime.junit.CloneableTester
Check cloning.
assertCloning(Cloneable) - Static method in class patterntesting.runtime.junit.CloneableTester
We call the clone method of the given orig paramter.Because the clone method is normally "protected" we use reflection to call it.
assertCloning(Collection<Class<Cloneable>>) - Static method in class patterntesting.runtime.junit.CloneableTester
Check for each class in the given collection if it can be cloned correct.
assertCloning(Package) - Static method in class patterntesting.runtime.junit.CloneableTester
Check for each class in the given package if it can be cloned correct.
assertCloningOfPackage(String) - Static method in class patterntesting.runtime.junit.CloneableTester
Check for each class in the given package if it can be cloned correct.
assertCloningOfPackage(String, Class<? extends Cloneable>...) - Static method in class patterntesting.runtime.junit.CloneableTester
Check for each class in the given package if the clone method is implemented correct.
assertCloningOfPackage(String, List<Class<Cloneable>>) - Static method in class patterntesting.runtime.junit.CloneableTester
Check for each class in the given package if the clone method is implemented correct.
assertCompareTo(Comparable, Comparable) - Static method in class patterntesting.runtime.junit.ComparableTester
The Comparable.compareTo(Object) method should return 0 if the given objects are eqals.
assertCompareTo(Class<? extends Comparable>) - Static method in class patterntesting.runtime.junit.ComparableTester
This method will create two objects of the given class using the default constructor and compares them.
assertCompareTo(Collection<Class<Comparable>>) - Static method in class patterntesting.runtime.junit.ComparableTester
Check for each class in the given collection if the compareTo method works as expected
assertCompareTo(Package) - Static method in class patterntesting.runtime.junit.ComparableTester
Check for each Comparable class in the given package if the compareTo(..) method works as expected.
assertCompareTo(Object, Object) - Static method in class patterntesting.runtime.junit.ObjectTester
Check equality of the given objects by using the compareTo() method.
assertCompareToOfPackage(String) - Static method in class patterntesting.runtime.junit.ComparableTester
Check for each Comparable class in the given package if the compareTo(..) method works as expected.
assertCompareToOfPackage(String, Class<? extends Comparable<?>>...) - Static method in class patterntesting.runtime.junit.ComparableTester
Check for each Comparable class in the given package if the compareTo(..) method works as expected.
assertCompareToOfPackage(String, List<Class<? extends Comparable<?>>>) - Static method in class patterntesting.runtime.junit.ComparableTester
Check for each Comparable class in the given package if the compareTo(..) method works as expected.
assertConnectionsClosed() - Static method in class patterntesting.runtime.monitor.db.ConnectionMonitor
Assert that all connections are closed.
assertContentEquals(File, File) - Static method in class patterntesting.runtime.junit.FileTester
Asserts that the content of two files are equal.
assertContentEquals(File, File, int, int) - Static method in class patterntesting.runtime.junit.FileTester
Asserts that the content of two files are equal.
assertContentEquals(File, File, String) - Static method in class patterntesting.runtime.junit.FileTester
Asserts that the content of two files are equal.
assertContentEquals(File, File, int, int, String) - Static method in class patterntesting.runtime.junit.FileTester
Asserts that the content of two files are equal.
assertContentEquals(File, File, Charset) - Static method in class patterntesting.runtime.junit.FileTester
Asserts that the content of two files are equal.
assertContentEquals(File, File, int, int, Charset) - Static method in class patterntesting.runtime.junit.FileTester
Asserts that the content of two files are equal.
assertContentEquals(File, File, Pattern...) - Static method in class patterntesting.runtime.junit.FileTester
Asserts that the content of two files are equal.
assertContentEquals(File, File, Charset, Pattern...) - Static method in class patterntesting.runtime.junit.FileTester
Asserts that the content of two files are equal.
assertContentEquals(InputStream, InputStream) - Static method in class patterntesting.runtime.junit.IOTester
Asserts that the content of two InputStream are equal.
assertContentEquals(InputStream, InputStream, Charset) - Static method in class patterntesting.runtime.junit.IOTester
Asserts that the content of two InputStream are equal.
assertContentEquals(InputStream, InputStream, int, int) - Static method in class patterntesting.runtime.junit.IOTester
Asserts that the content of two InputStream are equal.
assertContentEquals(InputStream, InputStream, Charset, int, int) - Static method in class patterntesting.runtime.junit.IOTester
Asserts that the content of two InputStream are equal.
assertContentEquals(InputStream, InputStream, Pattern...) - Static method in class patterntesting.runtime.junit.IOTester
Asserts that the content of two Readers are equal.
assertContentEquals(InputStream, InputStream, Charset, Pattern...) - Static method in class patterntesting.runtime.junit.IOTester
Asserts that the content of two Readers are equal.
assertContentEquals(Reader, Reader) - Static method in class patterntesting.runtime.junit.IOTester
Asserts that the content of two Readers are equal.
assertContentEquals(Reader, Reader, int, int) - Static method in class patterntesting.runtime.junit.IOTester
Asserts that the content of two Readers are equal.
assertContentEquals(Reader, Reader, Pattern...) - Static method in class patterntesting.runtime.junit.IOTester
Asserts that the content of two Readers are equal.
assertContentEquals(BufferedReader, BufferedReader) - Static method in class patterntesting.runtime.junit.IOTester
Asserts that the content of two Readers are equal.
assertContentEquals(LineReader, LineReader, int, int) - Static method in class patterntesting.runtime.junit.IOTester
Asserts that the content of two Readers are equal.
assertContentEquals(LineReader, LineReader, Pattern...) - Static method in class patterntesting.runtime.junit.IOTester
Asserts that the content of two Readers are equal.
assertEmpty(String) - Static method in class patterntesting.runtime.junit.StringTester
Check if the given string is null or empty.
assertEqualKeys(Map<?, ?>, Map<?, ?>) - Static method in class patterntesting.runtime.junit.MapTester
Checks if each key in map m1 is equals to that of map m2.
assertEquals(Collection<?>, Collection<?>) - Static method in class patterntesting.runtime.junit.CollectionTester
Checks if each object in collection c1 is equals to that of Collection c2.
assertEquals(Collection<?>, Collection<?>, String) - Static method in class patterntesting.runtime.junit.CollectionTester
Assert equals.
assertEquals(List<?>, List<?>) - Static method in class patterntesting.runtime.junit.CollectionTester
Checks if each object in list l1 is equals to that of list l2.
assertEquals(File, File) - Static method in class patterntesting.runtime.junit.FileTester
Two files are considered equals if the would point to the same file location on the disk.
assertEquals(Map<?, ?>, Map<?, ?>) - Static method in class patterntesting.runtime.junit.MapTester
Checks if each key-value pair in map m1 is equals to that of map m2.
assertEquals(Object, Object) - Static method in class patterntesting.runtime.junit.ObjectTester
Check equality of the given objects.
assertEquals(Serializable) - Static method in class patterntesting.runtime.junit.ObjectTester
The given object will be serialized and deserialized to get a copy of that object.
assertEquals(Cloneable) - Static method in class patterntesting.runtime.junit.ObjectTester
The given object will be cloned to get a copy of that object.
assertEquals(Class<?>) - Static method in class patterntesting.runtime.junit.ObjectTester
This method will create two objects of the given class using the default constructor.
assertEquals(Collection<Class<?>>) - Static method in class patterntesting.runtime.junit.ObjectTester
Check for each class in the given collection if the equals() method is implemented correct.
assertEquals(Package) - Static method in class patterntesting.runtime.junit.ObjectTester
Check for each class in the given package if the equals() method is implemented correct.
assertEquals(Package, Class<?>...) - Static method in class patterntesting.runtime.junit.ObjectTester
Check for each class in the given package if the equals() method is implemented correct.
assertEqualsOfPackage(Package, List<Class<?>>) - Static method in class patterntesting.runtime.junit.ObjectTester
Check for each class in the given package if the equals() method is implemented correct.
assertEqualsOfPackage(String) - Static method in class patterntesting.runtime.junit.ObjectTester
Check for each class in the given package if the equals() method is implemented correct.
assertEqualsOfPackage(String, Class<?>...) - Static method in class patterntesting.runtime.junit.ObjectTester
Check for each class in the given package if the equals() method is implemented correct.
assertEqualsOfPackage(String, List<Class<?>>) - Static method in class patterntesting.runtime.junit.ObjectTester
Check for each class in the given package if the equals() method is implemented correct.
assertEqualsWithClone(Class<?>) - Static method in class patterntesting.runtime.junit.ObjectTester
This method will create two objects of the given class by trying to clone them in different ways.
assertEqualValues(Map<?, ?>, Map<?, ?>) - Static method in class patterntesting.runtime.junit.MapTester
Checks if each value in map m1 is equals to that of map m2.
assertFreeMemory(int) - Static method in class patterntesting.runtime.junit.RuntimeTester
If you need a certain amount of free memory you can assert it with this method here.
Assertions - Class in patterntesting.runtime.util
If you want to know if assertions are enabled (java option "-ea"), you can use this helper class.
assertMaxMemory(int) - Static method in class patterntesting.runtime.junit.RuntimeTester
If you have some tests which needs a certain amount of memory this test is for you.
assertNotEmpty(String) - Static method in class patterntesting.runtime.junit.StringTester
Check if the given string is not null and not empty.
assertSerialization(Serializable) - Static method in class patterntesting.runtime.junit.SerializableTester
Check serialization and deserialization of an object.
assertSerialization(Class<? extends Serializable>) - Static method in class patterntesting.runtime.junit.SerializableTester
This method will create an object of the given class using the default constructor.
assertSerialization(Collection<Class<Serializable>>) - Static method in class patterntesting.runtime.junit.SerializableTester
Check for each class in the given collection if it can be serialized and deserialized.
assertSerialization(Package) - Static method in class patterntesting.runtime.junit.SerializableTester
Check for each class in the given package if it can be serialized and deserialized.
assertSerializationOfPackage(String) - Static method in class patterntesting.runtime.junit.SerializableTester
Check for each class in the given package if it can be serialized and deserialized.
assertToString(Object) - Static method in class patterntesting.runtime.junit.ObjectTester
If a object is only partially initalized it sometimes can happen, that calling the toString() method will result in a NullPointerException.

B

beforeFirst() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Before first.
BetterFileInputStream - Class in patterntesting.runtime.io
Whenever you need a FileInputStream and want a better toString implementation you can use the class BetterFileInputStream.
BetterFileInputStream(String) - Constructor for class patterntesting.runtime.io.BetterFileInputStream
Instantiates a new better file input stream.
BetterFileInputStream(File) - Constructor for class patterntesting.runtime.io.BetterFileInputStream
Instantiates a new better file input stream.
BetterFileOutputStream - Class in patterntesting.runtime.io
Whenever you need a FileOutputStream and want a better toString implementation you can use the class BetterFileOutputStream.
BetterFileOutputStream(String) - Constructor for class patterntesting.runtime.io.BetterFileOutputStream
Instantiates a new better file output stream.
BetterFileOutputStream(File) - Constructor for class patterntesting.runtime.io.BetterFileOutputStream
Instantiates a new better file output stream.
BetterFileOutputStream(String, boolean) - Constructor for class patterntesting.runtime.io.BetterFileOutputStream
Instantiates a new better file output stream.
BetterFileOutputStream(File, boolean) - Constructor for class patterntesting.runtime.io.BetterFileOutputStream
Instantiates a new better file output stream.
BinarySerializer - Class in patterntesting.runtime.io
This is the default serializer which uses the default mechanism proved by the JDK.
BinarySerializer() - Constructor for class patterntesting.runtime.io.BinarySerializer
 
Broken - Annotation Type in patterntesting.runtime.annotation
If you want to mark JUnit tests which does not work for the moment as "broken" you can use this annotation.

C

cancel() - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Cancel.
cancelRowUpdates() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Cancel row updates.
ClasspathDigger - Class in patterntesting.runtime.monitor
This helper class digs into found classloader for information like used classpath and other things.
ClasspathDigger() - Constructor for class patterntesting.runtime.monitor.ClasspathDigger
Instantiates a new classpath digger.
ClasspathDigger(ClassLoader) - Constructor for class patterntesting.runtime.monitor.ClasspathDigger
Instantiates a new classpath digger.
ClasspathHelper - Class in patterntesting.runtime.util
This class contains some helper classes which are used inside ClasspathMonitor and ClasspathDigger.
ClasspathMonitor - Class in patterntesting.runtime.monitor
To avoid classpath problems like double entries of the same class or resource in the classpath there are several methods available.
ClasspathMonitorMBean - Interface in patterntesting.runtime.monitor
All the methods which might help you to find classpath problems are collected in this JMX interface.
ClassTester - Class in patterntesting.runtime.experimental
If you want to test some dependencies to a given class you can use this tester here.
ClassTester(String) - Constructor for class patterntesting.runtime.experimental.ClassTester
Instantiates a new class tester.
classToResource(String) - Static method in class patterntesting.runtime.util.Converter
Converts a classname (e.g.
ClassWalker - Class in patterntesting.runtime.monitor
The Class ClassWalker.
ClassWalker(File) - Constructor for class patterntesting.runtime.monitor.ClassWalker
Instantiates a new class walker.
clearBatch() - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Clear batch.
clearParameters() - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Clear parameters.
clearWarnings() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Clear warnings.
clearWarnings() - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Clear warnings.
CloneableTester - Class in patterntesting.runtime.junit
This tester checks class which implements Clonable and has therefore the clone method implemented.
close() - Method in class patterntesting.runtime.log.AbstractLogger
Closes the stream with the logged objects.
close() - Method in class patterntesting.runtime.log.ObjectRecorder
Closes the stream with the logged objects.
close() - Method in class patterntesting.runtime.log.SequenceGrapher
Closes the stream with the logged objects.
close() - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Close.
close() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Close.
close() - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Close.
closeOnCompletion() - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Close on completion.
CollectionTester - Class in patterntesting.runtime.junit
If you want to assert that the content of two collections are equals use this tester here.
ComparableTester - Class in patterntesting.runtime.junit
This utility class checks classes which implements the Comparable interface.
compare(Object, Object) - Method in class patterntesting.runtime.util.ObjectComparator
Compare.
compareTo(ProfileMonitor) - Method in class patterntesting.runtime.monitor.AbstractProfileMonitor
The ProfileMonitor with the higher number of totals is considered as "greater".
connect(String, Properties) - Method in class patterntesting.runtime.monitor.db.ProxyDriver
Attempts to make a database connection to the given URL.
ConnectionMonitor - Class in patterntesting.runtime.db
Deprecated. use ConnectionMonitor
ConnectionMonitor - Class in patterntesting.runtime.monitor.db
This is the monitor class for the ProxyConnection which monitors the different newInstance() and close() call.
ConnectionMonitor() - Constructor for class patterntesting.runtime.monitor.db.ConnectionMonitor
No need to instantiate it - we provide only some services.
ConnectionMonitorMBean - Interface in patterntesting.runtime.db
Deprecated. use ConnectionMonitorMBean
ConnectionMonitorMBean - Interface in patterntesting.runtime.monitor.db
This is the interface for the ConnectionMonitor for the use of this class as MBean.
ConstructorSignatureImpl - Class in patterntesting.runtime.util.reflect
The Class ConstructorSignatureImpl.
ConstructorSignatureImpl(Constructor<?>) - Constructor for class patterntesting.runtime.util.reflect.ConstructorSignatureImpl
Instantiates a new constructor signature impl.
containsIgnoreCase(String[], String) - Static method in class patterntesting.runtime.util.StringHelper
This helper method look in the given array, if there is a string with the given name (not case sensitive).
Contract - Interface in patterntesting.runtime.dbc
With this Contract interface you can realize Design-by-Contract, also known as DbC.
ContractViolation - Error in patterntesting.runtime.dbc
 
ContractViolation(Object) - Constructor for error patterntesting.runtime.dbc.ContractViolation
 
Converter - Class in patterntesting.runtime.util
The Class Converter to convert objects from one type to another type.
create(Class<? extends Throwable>) - Static method in class patterntesting.runtime.util.ExceptionThrower
Creates any desired exception you want.
createMessage(JoinPoint, Object) - Method in class patterntesting.runtime.log.SequenceGrapher
Logs the creation of an object in the created sequence diagram.
createMessage(Object, Object) - Method in class patterntesting.runtime.log.SequenceGrapher
Logs the creation of an object in the created sequence diagram.
createObjectInputStream(InputStream) - Method in class patterntesting.runtime.io.AbstractSerializer
Creates the ObjectInputStream that deserializes a stream of objects from an InputStream.
createObjectInputStream(InputStream) - Method in class patterntesting.runtime.io.BinarySerializer
Creates the ObjectInputStream that deserializes a stream of objects from an InputStream using the default mechnism of Java.
createObjectInputStream(InputStream) - Method in class patterntesting.runtime.io.XStreamSerializer
Creates the ObjectInputStream that deserializes a stream of objects from an InputStream using XStream.
createObjectOutputStream(OutputStream) - Method in class patterntesting.runtime.io.AbstractSerializer
Creates the ObjectOutputStream that serializees a stream of objects to the OutputStream.
createObjectOutputStream(OutputStream) - Method in class patterntesting.runtime.io.BinarySerializer
Creates the ObjectOutputStream that serializees a stream of objects to the OutputStream using the default mechnism of Java.
createObjectOutputStream(OutputStream) - Method in class patterntesting.runtime.io.XStreamSerializer
Creates the ObjectOutputStream that serializees a stream of objects to the OutputStream using XStream.
createTabularDataSupport(CompositeType, String[]) - Static method in class patterntesting.runtime.jmx.MBeanHelper
Creates a TabularDataSupport object.
createTempLogFile(String, String) - Static method in class patterntesting.runtime.log.AbstractLogger
Creates a file in the temp directory.
createTestDescription(Description, Annotation[]) - Static method in class patterntesting.runtime.junit.internal.DescriptionUtils
Creates the test description.
createTmpdir() - Static method in class patterntesting.runtime.io.FileHelper
Creates a directory in the temp directory.
createTmpdir(String, String) - Static method in class patterntesting.runtime.io.FileHelper
Creates a directory in the temp directory.

D

DamnJDBC - Annotation Type in patterntesting.annotation.check.ct
If you want to forbid JDBC calls use this annotation.
DamnStaticVars - Annotation Type in patterntesting.annotation.check.ct
 
DbC - Class in patterntesting.runtime.dbc
 
debug(String) - Method in class patterntesting.runtime.log.LogRecorder
Debug.
debug(String, Throwable) - Method in class patterntesting.runtime.log.LogRecorder
Debug.
debug(String, Object) - Method in class patterntesting.runtime.log.LogRecorder
Debug.
debug(String, Object...) - Method in class patterntesting.runtime.log.LogRecorder
Debug.
debug(Marker, String) - Method in class patterntesting.runtime.log.LogRecorder
Debug.
debug(String, Object, Object) - Method in class patterntesting.runtime.log.LogRecorder
Debug.
debug(Marker, String, Object) - Method in class patterntesting.runtime.log.LogRecorder
Debug.
debug(Marker, String, Object...) - Method in class patterntesting.runtime.log.LogRecorder
Debug.
debug(Marker, String, Throwable) - Method in class patterntesting.runtime.log.LogRecorder
Debug.
debug(Marker, String, Object, Object) - Method in class patterntesting.runtime.log.LogRecorder
Debug.
debug(String, Object...) - Method in class patterntesting.runtime.log.PerfLogger
Debug.
DelegateTo - Annotation Type in patterntesting.runtime.annotation
If you use @RunWith(ProxyRunner.class) use must tell the ProxyRunner class which class it should use for delegation.
deleteRow() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Delete row.
dependsOn(Class<?>) - Method in class patterntesting.runtime.experimental.ClassTester
Checks if the stored class depends on another class.
dependsOn(String) - Method in class patterntesting.runtime.experimental.ClassTester
Checks if the stored class depends on another class.
dependsOn(String, Class<?>) - Static method in class patterntesting.runtime.experimental.ClassTester
Checks if the given class depends on another class.
describe() - Method in class patterntesting.runtime.junit.internal.SmokeFilter
Describes the kind of test e.g.
describeChild(FrameworkMethod) - Method in class patterntesting.runtime.junit.SmokeRunner
Create a Description of a single test named name in the class clazz.
Description - Annotation Type in patterntesting.runtime.jmx
With this annotation you can add a description to a MBean.
DescriptionUtils - Class in patterntesting.runtime.junit.internal
This class provides some utiltis for the Description class for older versions of JUnit 4.
deserialize(byte[]) - Static method in class patterntesting.runtime.util.Converter
Deserializes the given byte array and returns it as object.
DetailedAssertionError - Error in patterntesting.runtime.exception
This is a kind of better AssertionError which gives you some more details of the given cause.
DetailedAssertionError(Object, Throwable) - Constructor for error patterntesting.runtime.exception.DetailedAssertionError
Instantiates a new detailed assertion error.
disable() - Method in class patterntesting.runtime.monitor.JamonMonitor
Disable.
DISABLE_THREADS - Static variable in class patterntesting.runtime.util.Environment
System property to disable multithreading.
DontLogMe - Annotation Type in patterntesting.runtime.annotation
E.g. the ProfileAspect together with the AbstractProfileAspect logs also the arguments for long running methods.
DontProfileMe - Annotation Type in patterntesting.runtime.annotation
You have marked a class with "@ProfileMe" but don't want to see all methods?
DontTraceMe - Annotation Type in patterntesting.runtime.annotation
If you have marked a class with @TraceMe and you want to exclude some methods or constructors you can mark it with this annotation.
DrawSequenceDiagram - Annotation Type in patterntesting.runtime.annotation
With this annotation you can control the generation of sequence diagrams.
dump(Writer) - Method in class patterntesting.runtime.util.ObjectInspector
Dump the inspected class.
dumpMe() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
This operation dumps the different MBean attributes to a temporary file with the prefix "cpmon" (for ClasspathMonitor) and the extension ".txt".
dumpMe() - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
This operation dumps the different MBean attributes to a temporary file with the prefix "cpmon" (for ClasspathMonitor) and the extension ".txt".
dumpStatistic() - Method in class patterntesting.runtime.monitor.ProfileStatistic
Dump statistic to a file in the temporary directory.
dumpStatistic() - Method in interface patterntesting.runtime.monitor.ProfileStatisticMBean
Dump statistic.
dumpStatisticTo(File) - Method in class patterntesting.runtime.monitor.ProfileStatistic
Dump statistic to the given file

E

enable() - Method in class patterntesting.runtime.monitor.JamonMonitor
 
enabled - Static variable in class patterntesting.runtime.util.Assertions
The Constant enabled.
EnableStreamWarning - Annotation Type in patterntesting.annotation.check.ct
Use this annotation if you want to avoid the use of Stram classes like InputStream or OutputStream.
end(String, Object...) - Method in class patterntesting.runtime.log.PerfLogger
End the log with the given message.
end(int, String, Object...) - Method in class patterntesting.runtime.log.PerfLogger
End the log with the given message.
end(JoinPoint) - Static method in class patterntesting.runtime.log.Trace
Logs the trace with a start sign ("<").
end(JoinPoint, Object) - Static method in class patterntesting.runtime.log.Trace
Logs the trace with a start sign ("<").
end(JoinPoint, String) - Static method in class patterntesting.runtime.log.Trace
Logs the trace with a start sign ("<").
endTimer() - Method in class patterntesting.runtime.junit.internal.ProfiledStatement
The timer should end after the last tearDown() method was called.
enrichedSQLException(ProfileMonitor, String, SQLException) - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
For better error analysis the original SQLException will be enriched with some additional infos.
ensure(boolean) - Static method in class patterntesting.runtime.dbc.DbC
Use this method to describe the condition which must be true when the preconditions were true and your method is finished.
ensure(boolean, Object) - Static method in class patterntesting.runtime.dbc.DbC
Use this method to describe the condition which must be true when the preconditions were true and your method is finished.
Environment - Class in patterntesting.runtime.util
This class provides some utilities for the access to the environment (e.g. the system properties).
equals(File, File) - Static method in class patterntesting.runtime.io.FileHelper
Comparing two files is not so easy as it seems to be.
equals(Object) - Method in class patterntesting.runtime.log.ObjectPlayer
Equals.
equals(Object) - Method in class patterntesting.runtime.monitor.AbstractProfileMonitor
If we impmlement the Comparable.compareTo(Object) method we should also implement/overwrite the Object.equals(Object) method.
equals(AbstractProfileMonitor) - Method in class patterntesting.runtime.monitor.AbstractProfileMonitor
If the Comparable.compareTo(Object) returns 0 the two objects are equals.
equals(Object) - Method in class patterntesting.runtime.monitor.JamonMonitor
Tests if given object is equal.
equals(JamonMonitor) - Method in class patterntesting.runtime.monitor.JamonMonitor
Tests if given object is equal.
equals(Object) - Method in class patterntesting.runtime.util.ArchivEntry
Equals.
equals(ArchivEntry) - Method in class patterntesting.runtime.util.ArchivEntry
If two entries have a different size or not the same byte code they are considered as not equal.
error(String) - Method in class patterntesting.runtime.log.LogRecorder
Error.
error(String, Throwable) - Method in class patterntesting.runtime.log.LogRecorder
Error.
error(String, Object) - Method in class patterntesting.runtime.log.LogRecorder
Error.
error(String, Object...) - Method in class patterntesting.runtime.log.LogRecorder
Error.
error(Marker, String) - Method in class patterntesting.runtime.log.LogRecorder
Error.
error(String, Object, Object) - Method in class patterntesting.runtime.log.LogRecorder
Error.
error(Marker, String, Object) - Method in class patterntesting.runtime.log.LogRecorder
Error.
error(Marker, String, Object...) - Method in class patterntesting.runtime.log.LogRecorder
Error.
error(Marker, String, Throwable) - Method in class patterntesting.runtime.log.LogRecorder
Error.
error(Marker, String, Object, Object) - Method in class patterntesting.runtime.log.LogRecorder
Error.
error(String, Object...) - Method in class patterntesting.runtime.log.PerfLogger
Error.
evaluate() - Method in class patterntesting.runtime.junit.internal.ProfiledStatement
Invokes the test method.
ExceptionThrower - Class in patterntesting.runtime.util
Because we need the functionality of throwing any exception not only in PatternTesting Exception but also here this functionality was shifted to PatternTesting Runtime.
execute(JoinPoint) - Method in class patterntesting.runtime.log.SequenceGrapher
Trys to log the call of the given excecution joinpoint.
execute() - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Execute.
execute(String, int) - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Execute.
execute(String, int[]) - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Execute.
execute(String, String[]) - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Execute.
execute(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Execute.
executeBatch() - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Execute batch.
executeQuery() - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Execute query.
executeQuery(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Execute query.
executeUpdate() - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Execute update.
executeUpdate(String, int) - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Execute update.
executeUpdate(String, int[]) - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Execute update.
executeUpdate(String, String[]) - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Execute update.
executeUpdate(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Execute update.

F

Failures - Error in patterntesting.runtime.junit
For the ObjectTester and other tester classes we need a chance to collect the thrown Assertions and throw it at the end of a combined or complex check.
Failures() - Constructor for error patterntesting.runtime.junit.Failures
 
FileHelper - Class in patterntesting.runtime.io
The Class FileHelper.
FileTester - Class in patterntesting.runtime.junit
The Class FileTester.
find(Signature) - Static method in class patterntesting.runtime.util.StackTraceScanner
Find the given signature on the stack trace.
find(Class<?>, Method) - Static method in class patterntesting.runtime.util.StackTraceScanner
Find the given method on the stack trace.
find(Class<?>, String) - Static method in class patterntesting.runtime.util.StackTraceScanner
Find the given method on the stack trace.
find(String, String) - Static method in class patterntesting.runtime.util.StackTraceScanner
Find the given method on the stack trace.
findClass(String) - Method in class patterntesting.runtime.experimental.XrayClassLoader
Find class.
findColumn(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Find column.
findConstructor(Class<?>) - Static method in class patterntesting.runtime.util.StackTraceScanner
Find the constructor of the given class on the stack trace.
findValue(Object) - Method in class patterntesting.runtime.util.ObjectInspector
Find the value in of the attributes of the inspected object.
fireTestAssumptionFailed(RunNotifier, Description, Exception) - Static method in class patterntesting.runtime.junit.SmokeRunner
In JUnit 4.5 and newer we can use the fireTestAssumptionFailed(..)
first() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
First.
ForceThreadSafeCollection - Annotation Type in patterntesting.annotation.concurrent
With this annotation you can mark classes and methods which sould use thread-safe collection classes (i.e. sychnronized collections) only.

G

getActive() - Method in class patterntesting.runtime.monitor.JamonMonitor
Gets the active.
getActive() - Method in interface patterntesting.runtime.monitor.ProfileMonitor
Gets the active.
getActive() - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
Gets the active.
getAllFields() - Method in class patterntesting.runtime.util.ObjectInspector
Gets all fields of the wrapped object.
getArgAsShortString(Object) - Static method in class patterntesting.runtime.util.JoinPointHelper
Gets the arg as short string.
getArgAsString(Object) - Static method in class patterntesting.runtime.util.JoinPointHelper
Gets the arg as string.
getArgsAsShortString(Object[]) - Static method in class patterntesting.runtime.util.JoinPointHelper
Gets the args as short string.
getArgsAsString(Object[]) - Static method in class patterntesting.runtime.util.JoinPointHelper
Gets the args as string.
getArray(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the array.
getArray(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the array.
getAsciiStream(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the ascii stream.
getAsciiStream(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the ascii stream.
getAsLongString(JoinPoint) - Static method in class patterntesting.runtime.util.JoinPointHelper
Gets the as long string.
getAsShortString(JoinPoint) - Static method in class patterntesting.runtime.util.JoinPointHelper
Gets the as short string.
getAsSignature(Method) - Static method in class patterntesting.runtime.util.SignatureHelper
Gets the as signature.
getAsSignature(Constructor<?>) - Static method in class patterntesting.runtime.util.SignatureHelper
Gets the as signature.
getAsSignature(String) - Static method in class patterntesting.runtime.util.SignatureHelper
Gets the as signature.
getAsString(JoinPoint) - Static method in class patterntesting.runtime.util.JoinPointHelper
Gets the given joinpoint as string.
getAsString(Signature) - Static method in class patterntesting.runtime.util.SignatureHelper
The difference to Signature.toString() is that in case of a methode or constructor the return type is not part of result.
getAsString(String, Signature) - Static method in class patterntesting.runtime.util.SignatureHelper
Gets the as string.
getAttribute(String, String) - Static method in class patterntesting.runtime.jmx.MBeanHelper
Gets the attribute.
getAttribute(ObjectName, String) - Static method in class patterntesting.runtime.jmx.MBeanHelper
Gets the attribute.
getAvg() - Method in class patterntesting.runtime.monitor.JamonMonitor
Gets the average
getAvg() - Method in interface patterntesting.runtime.monitor.ProfileMonitor
Gets the avg.
getAvg() - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
Gets the avg.
getAvgActive() - Method in class patterntesting.runtime.monitor.JamonMonitor
Gets the active average
getAvgActive() - Method in interface patterntesting.runtime.monitor.ProfileMonitor
Gets the avg active.
getAvgActive() - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
Gets the avg active.
getAvgGlobalActive() - Method in class patterntesting.runtime.monitor.JamonMonitor
Gets the global active average
getAvgPrimaryActive() - Method in class patterntesting.runtime.monitor.JamonMonitor
Gets the primary active average.
getBigDecimal(int, int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Deprecated. use StasiResultSet.getBigDecimal(int)
getBigDecimal(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the big decimal.
getBigDecimal(String, int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Deprecated. use StasiResultSet.getBigDecimal(int)
getBigDecimal(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the big decimal.
getBinaryStream(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the binary stream.
getBinaryStream(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the binary stream.
getBlob(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the blob.
getBlob(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the blob.
getBoolean(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the boolean.
getBoolean(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the boolean.
getBootClasspath() - Method in class patterntesting.runtime.monitor.ClasspathDigger
To get the boot classpath the sytem property "sun.boot.class.path" is used to get them.
getBootClasspath() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
To get the boot classpath the sytem property "sun.boot.class.path" is used to get them.
getBootClasspath() - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
Gets the boot classpath.
getBuildTime() - Method in class patterntesting.runtime.jmx.Info
Gets the builds the time of PatternTesting.
getBuildTime() - Method in interface patterntesting.runtime.jmx.InfoMBean
Gets the builds the time of PatternTesting.
getByte(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the byte.
getByte(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the byte.
getBytes(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the bytes.
getBytes(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the bytes.
getBytes() - Method in class patterntesting.runtime.util.ArchivEntry
Gets the bytes.
getCaller() - Method in class patterntesting.runtime.monitor.db.ProxyConnection
Gets the stacktrace of the caller.
getCallerClass() - Static method in class patterntesting.runtime.util.JoinPointHelper
Gets the caller class by examing the stacktrace.
getCallerClass(Class<?>...) - Static method in class patterntesting.runtime.util.JoinPointHelper
Gets the caller class by examing the stacktrace.
getCallerClass(Pattern...) - Static method in class patterntesting.runtime.util.JoinPointHelper
Deprecated. Use StackTraceScanner.getCallerClass(Pattern...) instead
getCallerClass() - Static method in class patterntesting.runtime.util.StackTraceScanner
Gets the caller class by examing the stacktrace.
getCallerClass(Pattern...) - Static method in class patterntesting.runtime.util.StackTraceScanner
Gets the caller class by examing the stacktrace.
getCallerClass(Pattern[], Class<?>...) - Static method in class patterntesting.runtime.util.StackTraceScanner
Gets the caller class by examing the stacktrace.
getCallerOf(Connection) - Static method in class patterntesting.runtime.monitor.db.ConnectionMonitor
Gets the caller of the given connection.
getCallerOf(JoinPoint) - Static method in class patterntesting.runtime.util.JoinPointHelper
Gets the caller of the given joinpoint.
getCallerOf(JoinPoint, Pattern...) - Static method in class patterntesting.runtime.util.JoinPointHelper
Gets the caller of the given joinpoint.
getCallerOf(Signature) - Static method in class patterntesting.runtime.util.StackTraceScanner
Gets the caller of the given signature.
getCallerOf(Class<?>, Method) - Static method in class patterntesting.runtime.util.StackTraceScanner
Gets the caller of the given method.
getCallerOf(Class<?>, String) - Static method in class patterntesting.runtime.util.StackTraceScanner
Gets the caller of the given method.
getCallerOf(String, String) - Static method in class patterntesting.runtime.util.StackTraceScanner
Gets the caller of the given method.
getCallerOf(Signature, Pattern...) - Static method in class patterntesting.runtime.util.StackTraceScanner
Gets the caller of the given signature.
getCallerOf(Class<?>, Method, Pattern...) - Static method in class patterntesting.runtime.util.StackTraceScanner
Gets the caller of the given method.
getCallerOf(Class<?>, String, Pattern...) - Static method in class patterntesting.runtime.util.StackTraceScanner
Gets the caller of the given method.
getCallerOf(String, String, Pattern...) - Static method in class patterntesting.runtime.util.StackTraceScanner
Gets the caller of the given method.
getCallerOfConstructor(Class<?>) - Static method in class patterntesting.runtime.util.StackTraceScanner
Gets the caller of a constructor.
getCallerOfConstructor(Class<?>, Pattern...) - Static method in class patterntesting.runtime.util.StackTraceScanner
Gets the caller of a constructor.
getCallers() - Method in class patterntesting.runtime.monitor.db.ConnectionMonitor
Gets the callers.
getCallers() - Method in interface patterntesting.runtime.monitor.db.ConnectionMonitorMBean
Gets the caller of all connections.
getCallerStackTrace() - Static method in class patterntesting.runtime.util.StackTraceScanner
Gets the caller stack trace of the method or constructor which calls it.
getCallerStackTrace(Pattern...) - Static method in class patterntesting.runtime.util.StackTraceScanner
Gets the caller stack trace of the method or constructor which calls it.
getCallerStackTrace(Pattern[], Class<?>...) - Static method in class patterntesting.runtime.util.StackTraceScanner
Gets the caller stack trace of the method or constructor which calls it.
getCallerStacktraces() - Method in class patterntesting.runtime.monitor.db.ConnectionMonitor
Gets the caller stacktraces of all connections.
getCallerStacktraces() - Method in interface patterntesting.runtime.monitor.db.ConnectionMonitorMBean
Gets the caller stacktraces of all connections.
getCause() - Method in error patterntesting.runtime.exception.DetailedAssertionError
Gets the cause.
getCharacterStream(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the character stream.
getCharacterStream(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the character stream.
getChildren() - Method in class patterntesting.runtime.junit.ProxyRunner
Gets the children.
getChildren() - Method in class patterntesting.runtime.junit.SmokeRunner
Returns the methods that run tests.
getClassAnnotation(JoinPoint, Class<? extends Annotation>) - Static method in class patterntesting.runtime.util.JoinPointHelper
Returns the annotation for the given JoinPoint.
getClasses() - Method in class patterntesting.runtime.monitor.ClassWalker
Walk thru the directories and return all class files as classname, e.g. a file java/lang/String.class should be returned as "java.lang.String".
getClassList(String, Class<T>) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Gets the classes of the given type.
getClassLoader() - Method in class patterntesting.runtime.monitor.ClasspathDigger
Gets the class loader.
getClassLoader() - Static method in class patterntesting.runtime.util.Environment
 
getClassLoaderDetails() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Dumps the internal fields of the classloader (after an idea from "Java ist auch eine Insel").
getClassloaderInfo() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Returns some information about the classloader.
getClassloaderInfo() - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
Returns some information about the classloader.
getClassName() - Method in class patterntesting.runtime.experimental.ClassTester
Gets the class name.
getClasspath() - Method in class patterntesting.runtime.monitor.ClasspathDigger
We can use the system property "java.class.path" to get the classpath.
getClasspath(String) - Static method in class patterntesting.runtime.monitor.ClasspathDigger
Gets the classpath.
getClasspath() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
The classpath is stored in the system property "java.class.path".
getClasspath() - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
Gets the normal classpath which is also available by the system property "java.class.path".
getClasspathClasses() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Scans the classpath for all classes.
getClasspathClasses() - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
Looks in the normal classpath after all classes and returns it as String array.
getClasspathClassList(String) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Gets the classes of a given package name as collection.
getClasspathFromPackages() - Method in class patterntesting.runtime.monitor.ClasspathDigger
Here we use the loaded packages to calculate the classpath.
getClob(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the clob.
getClob(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the clob.
getCloneOf(Cloneable) - Static method in class patterntesting.runtime.junit.CloneableTester
Gets the clone of the given Cloneable object.
getClosedConnections() - Method in class patterntesting.runtime.monitor.db.ConnectionMonitor
Gets the closed connections.
getClosedConnections() - Method in interface patterntesting.runtime.monitor.db.ConnectionMonitorMBean
Gets the closed connections.
getConcreteClassList(String) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Gets a list of concrete classes.
getConcurrency() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the concurrency.
getConnection() - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Gets the connection.
getConnection() - Method in class patterntesting.runtime.monitor.db.ProxyConnection
Gets the wrapped connection.
getConstructor() - Method in class patterntesting.runtime.util.reflect.ConstructorSignatureImpl
 
getCursorName() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the cursor name.
getDate(int, Calendar) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the date.
getDate(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the date.
getDate(String, Calendar) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the date.
getDate(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the date.
getDeclaringType() - Method in class patterntesting.runtime.util.reflect.ConstructorSignatureImpl
Gets the declaring type.
getDeclaringType() - Method in class patterntesting.runtime.util.reflect.MethodSignatureImpl
Gets the declaring type.
getDeclaringTypeName() - Method in class patterntesting.runtime.util.reflect.ConstructorSignatureImpl
Gets the declaring type name.
getDeclaringTypeName() - Method in class patterntesting.runtime.util.reflect.MethodSignatureImpl
Gets the declaring type name.
getDelegateRunner() - Method in class patterntesting.runtime.junit.ProxyRunner
Gets the Runner defined by @DelegateTo.
getDependencies() - Method in class patterntesting.runtime.experimental.ClassTester
Gets the dependencies of the class name.
getDependenciesOf(String) - Static method in class patterntesting.runtime.experimental.ClassTester
Gets the dependencies of the given class name.
getDescription(MBeanOperationInfo) - Method in class patterntesting.runtime.jmx.AnnotatedStandardMBean
Overrides the default description with the content a @Description annotation.
getDescription(MBeanAttributeInfo) - Method in class patterntesting.runtime.jmx.AnnotatedStandardMBean
Gets the description.
getDescription() - Method in class patterntesting.runtime.junit.ProxyRunner
Gets the description.
getDouble(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the double.
getDouble(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the double.
getDoublet(String, int) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Gets the doublet.
getDoublet(Class<?>, int) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Gets the doublet.
getDoublet(String, int) - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
Returns the n'th doublet of the given classname or resource
getDoubletClasspath() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Gets the doublet classpath.
getDoubletClasspath() - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
Looks for each found doublet in which classpath it was found.
getDoubletList() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Gets the doublet list.
getDoubletListParallel() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
This is an experiment: can we tune getDoubleList() by using thread techniques like consumer-/producer-pattern?
getDoubletListSerial() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Looks for each loaded class if it is a doublet or not.
getDoublets() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Gets the doublets.
getDoublets() - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
Looks for each loaded class if it is a doublet or not.
getElapsedTime() - Method in class patterntesting.runtime.log.LogWatch
Gets the elapsed time from the start call.
getEntry() - Method in class patterntesting.runtime.util.ArchivEntry
Gets the entry.
getErrors() - Method in error patterntesting.runtime.junit.Failures
Gets the errors.
getExceptionTypes() - Method in class patterntesting.runtime.util.reflect.ConstructorSignatureImpl
Gets the exception types.
getExceptionTypes() - Method in class patterntesting.runtime.util.reflect.MethodSignatureImpl
Gets the exception types.
getFetchDirection() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the fetch direction.
getFetchDirection() - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Gets the fetch direction.
getFetchSize() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the fetch size.
getFetchSize() - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Gets the fetch size.
getField(Class<?>, String) - Static method in class patterntesting.runtime.util.ReflectionHelper
Tries to get the wanted field.
getFieldValue(Object, String) - Static method in class patterntesting.runtime.util.ReflectionHelper
If it can it returns the value of the given field.
getFile() - Method in class patterntesting.runtime.util.ArchivEntry
Gets the file.
getFilter() - Method in class patterntesting.runtime.junit.SmokeRunner
The ParentRunner allows us no access to the filter.
getFilteredNumber() - Method in class patterntesting.runtime.junit.internal.SmokeFilter
Gets the number of methods which was filtered out.
getFirstAccess() - Method in class patterntesting.runtime.monitor.JamonMonitor
Gets the first access.
getFirstAccess() - Method in interface patterntesting.runtime.monitor.ProfileMonitor
Gets the first access.
getFirstAccess() - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
Gets the first access.
getFirstDoublet(String) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Gets the first doublet.
getFirstDoublet(Class<?>) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Gets the first doublet.
getFirstDoublet(String) - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
Returns the first doublet of the given classname or resource.
getFloat(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the float.
getFloat(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the float.
getFrameworkMethod(Class<?>, String) - Static method in class patterntesting.runtime.junit.internal.JUnitHelper
Returns the given name as FrameworkMethod.
getFreeMemory() - Static method in class patterntesting.runtime.monitor.MemoryGuard
Gets the free memory.
getFreeMemoryAsString() - Static method in class patterntesting.runtime.monitor.MemoryGuard
Gets the free memory as string.
getFreeMemoryInPercent() - Static method in class patterntesting.runtime.monitor.MemoryGuard
Gets the free memory in percent.
getGeneratedKeys() - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Gets the generated keys.
getHits() - Method in class patterntesting.runtime.monitor.JamonMonitor
Gets the hits.
getHits() - Method in interface patterntesting.runtime.monitor.ProfileMonitor
Gets the hits.
getHits() - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
Gets the hits.
getHoldability() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the holdability.
getHomeDir() - Static method in class patterntesting.runtime.io.FileHelper
Gets the home dir.
getIncompatibleClasses() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Incompatible classes are doublets with different byte codes.
getIncompatibleClasses() - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
Incompatible classes are doublets with different serialVersionUID.
getIncompatibleClassList() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Looks for each doublet if it has a different doublets.
getIncompatibleClasspath() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Gets the incompatible classpath.
getIncompatibleClasspath() - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
 
getInetAddresses() - Static method in class patterntesting.runtime.net.Localhost
Returns all local IP addresses.
getInstance() - Static method in class patterntesting.runtime.io.AbstractSerializer
This static method returns an instance of the default serializer.
getInstance() - Static method in class patterntesting.runtime.monitor.ClasspathMonitor
Yes, it is a Singleton because it offers only some services.
getInstance() - Static method in class patterntesting.runtime.monitor.db.ConnectionMonitor
Yes, it is a Singleton because it offers only some services.
getInstance() - Static method in class patterntesting.runtime.monitor.db.SqlStatistic
Gets the single instance of SqlStatistic.
getInstance() - Static method in class patterntesting.runtime.monitor.ProfileStatistic
Gets the single instance of ProfileStatistic.
getInt(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the int.
getInt(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the int.
getJUnit3TestMethods(Class<?>) - Static method in class patterntesting.runtime.junit.SmokeRunner
Here we look after public void methods with "test" as prefix and with no arguments.
getLabel() - Method in class patterntesting.runtime.monitor.JamonMonitor
Gets the label.
getLabel() - Method in interface patterntesting.runtime.monitor.ProfileMonitor
Gets the label.
getLabel() - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
Gets the label.
getLastAccess() - Method in class patterntesting.runtime.monitor.JamonMonitor
Gets the last access.
getLastAccess() - Method in interface patterntesting.runtime.monitor.ProfileMonitor
Gets the last access.
getLastAccess() - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
Gets the last access.
getLastCaller() - Method in class patterntesting.runtime.monitor.db.ConnectionMonitor
Gets the caller which opens the last connection.
getLastCaller() - Method in interface patterntesting.runtime.monitor.db.ConnectionMonitorMBean
Gets the caller which opens the last connection.
getLastCallerStacktrace() - Method in class patterntesting.runtime.monitor.db.ConnectionMonitor
Gets the stacktrace of the caller which opens the last connection.
getLastCallerStacktrace() - Method in interface patterntesting.runtime.monitor.db.ConnectionMonitorMBean
Gets the stacktrace of the caller which opens the last connection.
getLastTime() - Method in class patterntesting.runtime.monitor.AbstractProfileMonitor
Gets the last value as time string.
getLastTime() - Method in interface patterntesting.runtime.monitor.ProfileMonitor
Gets the last value as time string.
getLastValue() - Method in class patterntesting.runtime.monitor.JamonMonitor
Gets the last value.
getLastValue() - Method in interface patterntesting.runtime.monitor.ProfileMonitor
Gets the last value.
getLastValue() - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
Gets the last value.
getLineNumber() - Method in class patterntesting.runtime.io.LineReader
Gets the line number.
getListenerType(String) - Method in class patterntesting.runtime.monitor.JamonMonitor
Gets the listener type.
getLoadedClasses() - Method in class patterntesting.runtime.experimental.XrayClassLoader
Gets the loaded classed of this classloader here.
getLoadedClasses() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
As MBean a string array could be displayed by the 'jconsole'.
getLoadedClasses() - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
Returns the classes which were loaded by the classloader.
getLoadedClassesAsString() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Gets the loaded classes as string.
getLoadedClassList() - Method in class patterntesting.runtime.monitor.ClasspathDigger
Returns a list of classes which were loaded by the given classloader.
getLoadedClassList() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Returns a list of classes which were loaded by the classloader.
getLoadedClassListFromAgent() - Method in class patterntesting.runtime.monitor.ClasspathDigger
Gets the loaded class list from patterntesting-agent.
getLoadedPackageArray() - Method in class patterntesting.runtime.monitor.ClasspathDigger
Returns the packages which were loaded by the classloader.
getLoadedPackageArray() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
This method is used by PatternTesting Samples (in packages.jsp).
getLoadedPackages() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Gets the loaded packages.
getLoadedPackages() - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
Returns the packages which were loaded by the classloader.
getLoadedPackagesAsString() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
If you want to dump all packages you can use this method.
getLocalMavenRepositoryDir() - Static method in class patterntesting.runtime.util.Environment
Normally you'll find the local Maven repository at ~/.m2/repository.
getLogStream() - Method in class patterntesting.runtime.log.AbstractLogger
Gets the log stream.
getLong(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the long.
getLong(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the long.
getMajorVersion() - Method in class patterntesting.runtime.monitor.db.ProxyDriver
Gets the major version
getManifestEntries(Class<?>) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
If a MANIFEST is found for a given class the attributes in this file should be returned as a string array.
getManifestEntries(String) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
If a MANIFEST is found for a given class the attributes in this file should be returned as a string array.
getManifestEntries(String) - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
If a MANIFEST is found for a given class the attributes in this file should be returned as a string array.
getMax() - Method in class patterntesting.runtime.monitor.JamonMonitor
Gets the max.
getMax() - Method in interface patterntesting.runtime.monitor.ProfileMonitor
Gets the max.
getMax() - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
Gets the max.
getMaxActive() - Method in class patterntesting.runtime.monitor.JamonMonitor
Gets the max active.
getMaxActive() - Method in interface patterntesting.runtime.monitor.ProfileMonitor
Gets the max active.
getMaxActive() - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
Gets the max active.
getMaxAvg() - Method in class patterntesting.runtime.monitor.ProfileStatistic
Gets the max avg.
getMaxAvg() - Method in interface patterntesting.runtime.monitor.ProfileStatisticMBean
Gets the max avg.
getMaxAvgLabel() - Method in class patterntesting.runtime.monitor.ProfileStatistic
Gets the max avg label.
getMaxAvgLabel() - Method in interface patterntesting.runtime.monitor.ProfileStatisticMBean
Gets the max avg label.
getMaxAvgStatistic() - Method in class patterntesting.runtime.monitor.ProfileStatistic
Gets the max avg statistic.
getMaxAvgStatistic() - Method in interface patterntesting.runtime.monitor.ProfileStatisticMBean
Gets the max avg statistic.
getMaxFieldSize() - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Gets the max field size.
getMaxHits() - Method in class patterntesting.runtime.monitor.ProfileStatistic
Gets the max hits.
getMaxHits() - Method in interface patterntesting.runtime.monitor.ProfileStatisticMBean
Gets the max hits.
getMaxHitsLabel() - Method in class patterntesting.runtime.monitor.ProfileStatistic
Gets the max hits label.
getMaxHitsLabel() - Method in interface patterntesting.runtime.monitor.ProfileStatisticMBean
Gets the max hits label.
getMaxHitsStatistic() - Method in class patterntesting.runtime.monitor.ProfileStatistic
Gets the max hits statistic.
getMaxHitsStatistic() - Method in interface patterntesting.runtime.monitor.ProfileStatisticMBean
Gets the max hits statistic.
getMaxMax() - Method in class patterntesting.runtime.monitor.ProfileStatistic
Gets the max max.
getMaxMax() - Method in interface patterntesting.runtime.monitor.ProfileStatisticMBean
Gets the max max.
getMaxMaxLabel() - Method in class patterntesting.runtime.monitor.ProfileStatistic
Gets the max max label.
getMaxMaxLabel() - Method in interface patterntesting.runtime.monitor.ProfileStatisticMBean
Gets the max max label.
getMaxMaxStatistic() - Method in class patterntesting.runtime.monitor.ProfileStatistic
Gets the max max statistic.
getMaxMaxStatistic() - Method in interface patterntesting.runtime.monitor.ProfileStatisticMBean
Gets the max max statistic.
getMaxRows() - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Gets the max rows.
getMaxTotal() - Method in class patterntesting.runtime.monitor.ProfileStatistic
Gets the max total.
getMaxTotal() - Method in interface patterntesting.runtime.monitor.ProfileStatisticMBean
Gets the max total.
getMaxTotalLabel() - Method in class patterntesting.runtime.monitor.ProfileStatistic
Gets the max total label.
getMaxTotalLabel() - Method in interface patterntesting.runtime.monitor.ProfileStatisticMBean
Gets the max total label.
getMaxTotalStatistic() - Method in class patterntesting.runtime.monitor.ProfileStatistic
Gets the max total statistic.
getMaxTotalStatistic() - Method in interface patterntesting.runtime.monitor.ProfileStatisticMBean
Gets the max total statistic.
getMBeanName(Object) - Static method in class patterntesting.runtime.jmx.MBeanHelper
Gets an MBean name for the given object.
getMBeanName(Object, int) - Static method in class patterntesting.runtime.jmx.MBeanHelper
Gets an MBean name for the given object.
getMBeanName(Class<?>) - Static method in class patterntesting.runtime.jmx.MBeanHelper
Converts the class name into a MBean name.
getMBeanName(Class<?>, int) - Static method in class patterntesting.runtime.jmx.MBeanHelper
Converts the class name into a MBean name.
getMBeanName() - Method in interface patterntesting.runtime.jmx.MBeanRegistry
Returns the MBean name under which this class was registered.
getMBeanName() - Method in class patterntesting.runtime.monitor.ProfileStatistic
Gets the MBean name of the registered ProfileStatistic bean.
getMemoryAsString(long) - Static method in class patterntesting.runtime.util.Converter
Gets the memory as string.
getMemoryLogMessage() - Static method in class patterntesting.runtime.monitor.MemoryGuard
Gets the memory log message.
getMessage() - Method in error patterntesting.runtime.junit.Failures
Gets the message.
getMetaData() - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Gets the meta data.
getMetaData() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the meta data.
getMethod() - Method in class patterntesting.runtime.util.reflect.MethodSignatureImpl
Gets the method.
getMethod(Class<?>, String, Object...) - Static method in class patterntesting.runtime.util.ReflectionHelper
Gets the method.
getMethod(Class<?>, String, Class<?>...) - Static method in class patterntesting.runtime.util.ReflectionHelper
Gets the method.
getMethodName() - Method in class patterntesting.runtime.junit.internal.ProfiledStatement
May be needed by some subclasses.
getMethodNameOf(Description) - Static method in class patterntesting.runtime.junit.internal.DescriptionUtils
Gets the method name the given description.
getMin() - Method in class patterntesting.runtime.monitor.JamonMonitor
Gets the min.
getMin() - Method in interface patterntesting.runtime.monitor.ProfileMonitor
Gets the min.
getMin() - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
Gets the min.
getMinorVersion() - Method in class patterntesting.runtime.monitor.db.ProxyDriver
Gets the minor version.
getModifiers() - Method in class patterntesting.runtime.util.reflect.ConstructorSignatureImpl
Gets the modifiers.
getModifiers() - Method in class patterntesting.runtime.util.reflect.MethodSignatureImpl
Gets the modifiers.
getMonitor(Signature) - Static method in class patterntesting.runtime.monitor.JamonMonitorFactory
Deprecated. use JamonMonitorFactory.getMonitor(Signature, ProfileMonitor)
getMonitor(Signature, ProfileMonitor) - Static method in class patterntesting.runtime.monitor.JamonMonitorFactory
Gets the monitor.
getMonitor(String, ProfileMonitor) - Static method in class patterntesting.runtime.monitor.JamonMonitorFactory
Gets the monitor.
getMonitor(Signature) - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
We use now the signature without the return value.
getMonitor(String) - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
Gets the monitor.
getMonitoredConnection(Connection) - Static method in class patterntesting.runtime.monitor.db.ConnectionMonitor
If you want to monitor the connection use this method.
getMonitors() - Method in class patterntesting.runtime.monitor.JamonMonitor
Gets the monitors.
getMonitors() - Static method in class patterntesting.runtime.monitor.JamonMonitorFactory
Deprecated. use JamonMonitorFactory.getMonitors(ProfileMonitor)
getMonitors(ProfileMonitor) - Static method in class patterntesting.runtime.monitor.JamonMonitorFactory
Gets the monitors.
getMonitors(String) - Static method in class patterntesting.runtime.monitor.JamonMonitorFactory
Gets the monitors.
getMonitors() - Method in interface patterntesting.runtime.monitor.ProfileMonitor
Gets the monitors.
getMonitors() - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
Gets the monitors.
getMonKey() - Method in class patterntesting.runtime.monitor.JamonMonitor
Gets the mon key.
getMoreResults() - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Gets the more results.
getMoreResults(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Gets the more results.
getName() - Method in class patterntesting.runtime.log.LogRecorder
Gets the name.
getName() - Static method in class patterntesting.runtime.util.Environment
The name of an environment is derived from the classloader.
getName() - Method in class patterntesting.runtime.util.reflect.ConstructorSignatureImpl
Gets the name.
getName() - Method in class patterntesting.runtime.util.reflect.MethodSignatureImpl
Gets the name.
getNanoTime() - Method in class patterntesting.runtime.log.LogWatch
Deprecated. use LogWatch.getTimeInNanos()
getNCharacterStream(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the n character stream.
getNCharacterStream(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the n character stream.
getNClob(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the n clob.
getNClob(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the n clob.
getNoClasses(Class<?>) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Gets the no classes.
getNoClasses(String) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
 
getNoClasses(String) - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
Get the number of different versions of the given class.
getNoResources(String) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
 
getNoResources(String) - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
Get number of resources.
getNString(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the n string.
getNString(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the n string.
getNumberOfRecords() - Method in class patterntesting.runtime.log.LogRecorder
Gets the number of records.
getObject(int, Map<String, Class<?>>) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the object.
getObject(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the object.
getObject(String, Map<String, Class<?>>) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the object.
getObject(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the object.
getObjectInstance(String) - Static method in class patterntesting.runtime.jmx.MBeanHelper
Gets the object instance.
getObjectInstance(ObjectName) - Static method in class patterntesting.runtime.jmx.MBeanHelper
Gets the object instance.
getObjectName() - Method in interface patterntesting.runtime.jmx.MBeanRegistry
Returns the MBean name under which this class was registered.
getOpenConnections() - Method in class patterntesting.runtime.monitor.db.ConnectionMonitor
Gets the number of open connections.
getOpenConnections() - Method in interface patterntesting.runtime.monitor.db.ConnectionMonitorMBean
Gets the number of open connections.
getParameterAnnotations(JoinPoint) - Static method in class patterntesting.runtime.util.JoinPointHelper
Gets the parameter annotations.
getParameterMetaData() - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Gets the parameter meta data.
getParameterNames() - Method in class patterntesting.runtime.util.reflect.ConstructorSignatureImpl
Gets the parameter names.
getParameterNames() - Method in class patterntesting.runtime.util.reflect.MethodSignatureImpl
Gets the parameter names.
getParameterTypes() - Method in class patterntesting.runtime.util.reflect.ConstructorSignatureImpl
Gets the parameter types.
getParameterTypes() - Method in class patterntesting.runtime.util.reflect.MethodSignatureImpl
Gets the parameter types.
getParent(URI, String) - Static method in class patterntesting.runtime.util.ClasspathHelper
Don't use @ProfileMe here!
getParent(URI, Class<?>) - Static method in class patterntesting.runtime.util.ClasspathHelper
Gets the parent of the given class.
getParentLogger() - Method in class patterntesting.runtime.monitor.db.ProxyDriver
Gets the parent logger.
getProfileMonitor(Class<?>, String) - Method in class patterntesting.runtime.monitor.ProfileStatistic
Do you want to look for the monitor of a given method?
getProfileMonitor(Signature) - Method in class patterntesting.runtime.monitor.ProfileStatistic
Do you want to look for the monitor of a given method?
getProfileMonitor(String) - Method in class patterntesting.runtime.monitor.ProfileStatistic
Do you want to look for the monitor of a given method?
getPropertyInfo(String, Properties) - Method in class patterntesting.runtime.monitor.db.ProxyDriver
Gets the property info.
getQueryTimeout() - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Gets the query timeout.
getRange() - Method in class patterntesting.runtime.monitor.JamonMonitor
Gets the range.
getRealDriver(String) - Static method in class patterntesting.runtime.monitor.db.ProxyDriver
Gets the real driver.
getRealDriverName(String) - Static method in class patterntesting.runtime.monitor.db.ProxyDriver
Gets the real driver name of the underlying driver.
getRealURL(String) - Static method in class patterntesting.runtime.monitor.db.ProxyDriver
Gets the real JDBC URL of the underlying driver.
getReason() - Method in class patterntesting.runtime.junit.internal.TestOn
Gets the reason.
getRecord() - Method in class patterntesting.runtime.log.LogRecorder
Gets the record.
getRef(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the ref.
getRef(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the ref.
getResource(String) - Static method in class patterntesting.runtime.monitor.ClasspathMonitor
Gets the resource.
getResources(String) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Gets the resources.
getResultSet() - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Gets the result set.
getResultSetConcurrency() - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Gets the result set concurrency.
getResultSetHoldability() - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Gets the result set holdability.
getResultSetType() - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Gets the result set type.
getReturnType() - Method in class patterntesting.runtime.util.reflect.MethodSignatureImpl
Gets the return type.
getReturnValue(JoinPoint) - Method in class patterntesting.runtime.log.ObjectPlayer
Gets the return value for the given joinpoint.
getRootMonitor() - Method in class patterntesting.runtime.monitor.ProfileStatistic
Gets the root monitor.
getRow() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the row.
getRowId(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the row id.
getRowId(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the row id.
getSerialVersionUID(String) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
 
getSerialVersionUID(Class<?>) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Gets the serial version uid.
getSerialVersionUID(String) - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
 
getShort(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the short.
getShort(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the short.
getSize() - Method in class patterntesting.runtime.util.ArchivEntry
Gets the size.
getSortedMonitors() - Method in class patterntesting.runtime.monitor.ProfileStatistic
Gets the sorted monitors.
getSQLXML(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the sqlxml.
getSQLXML(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the sqlxml.
getStatement() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the statement.
getStatement() - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Gets the statement.
getStatistics() - Method in class patterntesting.runtime.monitor.ProfileStatistic
Gets the statistics.
getStatistics() - Method in interface patterntesting.runtime.monitor.ProfileStatisticMBean
Gets the statistics.
getStdDev() - Method in class patterntesting.runtime.monitor.JamonMonitor
Gets the std dev.
getStreamFor(File) - Static method in class patterntesting.runtime.log.AbstractLogger
Gets the stream for the given log file.
getString(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the string.
getString(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the string.
getSumOfConnections() - Method in class patterntesting.runtime.monitor.db.ConnectionMonitor
Gets the total sum of open and closed connections.
getSumOfConnections() - Method in interface patterntesting.runtime.monitor.db.ConnectionMonitorMBean
Gets the total sum of open and closed connections.
getTestClassOf(Description) - Static method in class patterntesting.runtime.junit.internal.DescriptionUtils
Here we extract the test class from the given descripiton.
getText() - Method in class patterntesting.runtime.log.LogRecorder
Gets the text.
getTime(int, Calendar) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the time.
getTime(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the time.
getTime(String, Calendar) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the time.
getTime(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the time.
getTimeAsString(long) - Static method in class patterntesting.runtime.util.Converter
Gets the time as string with the corresponding unit.
getTimeAsString(double) - Static method in class patterntesting.runtime.util.Converter
Gets the time as string with the corresponding unit.
getTimeAsString(double, Locale) - Static method in class patterntesting.runtime.util.Converter
Gets the time as string with the corresponding unit.
getTimeInMillis() - Method in class patterntesting.runtime.log.LogWatch
Gets the elapsed time from the start call in milli seconds.
getTimeInNanos() - Method in class patterntesting.runtime.log.LogWatch
Gets the elapsed time from the start call in nano seconds.
getTimerResolutionInMillis() - Static method in class patterntesting.runtime.util.ThreadUtil
Gets the timer resolution in millis.
getTimestamp(int, Calendar) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the timestamp.
getTimestamp(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the timestamp.
getTimestamp(String, Calendar) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the timestamp.
getTimestamp(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the timestamp.
getTmpdir() - Static method in class patterntesting.runtime.io.FileHelper
Gets the tmpdir.
getTmpdir(File) - Static method in class patterntesting.runtime.io.FileHelper
Gets the tmpdir.
getTmpdir(String) - Static method in class patterntesting.runtime.io.FileHelper
Gets the tmpdir.
getTotal() - Method in class patterntesting.runtime.monitor.JamonMonitor
Gets the total.
getTotal() - Method in interface patterntesting.runtime.monitor.ProfileMonitor
Gets the total.
getTotal() - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
Gets the total.
getType() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the type.
getType() - Method in class patterntesting.runtime.util.ObjectInspector
Gets the type (class) of the stored object.
getUnicodeStream(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Deprecated. use normal encoding
getUnicodeStream(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Deprecated. use normal encoding
getUninitializedNonStaticFields(Object) - Static method in class patterntesting.runtime.util.ReflectionHelper
To get all uninitialized field you can call this method.
getUnits() - Method in class patterntesting.runtime.monitor.JamonMonitor
Gets the units.
getUnits() - Method in interface patterntesting.runtime.monitor.ProfileMonitor
Gets the units.
getUnits() - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
Gets the units.
getUnusedClasses() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Unused classes are classes which are not loaded but which are found in the classpath.
getUnusedClasses() - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
Returns the classes which are not yet loaded.
getUnusedClasspath() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
The unused classpath is this path which are not used in past.
getUnusedClasspath() - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
The unused classpath is this path which are not used in past.
getUpdateCount() - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Gets the update count.
getURL(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the url.
getURL(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the url.
getUsedClasspath() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
It might be that the used classpath changes during the calculation of it.
getUsedClasspath() - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
Gets the loaded classpath (without the bootclasspath) as URI array.
getUsedClasspathSet() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Gets the loaded classpath (without the bootclasspath) as sorted set.
getVersion() - Method in class patterntesting.runtime.jmx.Info
Gets the version.
getVersion() - Method in interface patterntesting.runtime.jmx.InfoMBean
Gets the version of PatternTesting.
getWarnings() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Gets the warnings.
getWarnings() - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Gets the warnings.
getZipEntry() - Method in class patterntesting.runtime.util.ArchivEntry
Gets the zip entry.
getZipFile() - Method in class patterntesting.runtime.util.ArchivEntry
Gets the zip file.
GuardedBy - Annotation Type in patterntesting.annotation.concurrent
With this annotation you can document the lock which guards the field or method.
GuardInitialization - Annotation Type in patterntesting.runtime.annotation
If your static initialization fails and you get a NoClassDefFoundError use ths anntoation.

H

handleFile(File, int, Collection) - Method in class patterntesting.runtime.monitor.ClassWalker
 
hasEqualsDeclared(Class<?>) - Static method in class patterntesting.runtime.junit.ObjectTester
If you want to know if a class (or one of its super classes, except object) has overwritten the equals method you can use this method here.
hasErrors() - Method in error patterntesting.runtime.junit.Failures
Checks for errors.
hasFiltered() - Method in class patterntesting.runtime.junit.internal.SmokeFilter
Checks if there are some methods filtered out.
hashCode() - Method in class patterntesting.runtime.log.ObjectPlayer
Hash code.
hashCode() - Method in class patterntesting.runtime.monitor.AbstractProfileMonitor
Hash code.
hashCode() - Method in class patterntesting.runtime.monitor.JamonMonitor
Hash code.
hashCode() - Method in class patterntesting.runtime.util.ArchivEntry
Hash code.
hasListeners() - Method in class patterntesting.runtime.monitor.JamonMonitor
Checks for listeners.
hasReason() - Method in class patterntesting.runtime.junit.internal.TestOn
Checks for reason.
hasReturnType(Signature) - Static method in class patterntesting.runtime.util.SignatureHelper
Returns true if the given signature is a MethodSignature and the return value is not of type 'void'.
hasToStringDefaultImpl(Object) - Static method in class patterntesting.runtime.junit.ObjectTester
Normally you should overwrite the toString() method for better logging and debugging.
hasToStringDefaultImpl(Class<?>) - Static method in class patterntesting.runtime.junit.ObjectTester
Normally you should overwrite the toString() method for better logging and debugging.

I

IgnoreForSequenceDiagram - Annotation Type in patterntesting.runtime.annotation
With this annotation you can mark classes or methods which should not part of generated sequence diagram.
Immutable - Annotation Type in patterntesting.annotation.check.ct
 
Info - Class in patterntesting.runtime.jmx
This Info bean is registered as MBean and provides some information about PatternTesting.
Info() - Constructor for class patterntesting.runtime.jmx.Info
Instantiates a new info.
info(String) - Method in class patterntesting.runtime.log.LogRecorder
Info.
info(String, Throwable) - Method in class patterntesting.runtime.log.LogRecorder
Info.
info(String, Object) - Method in class patterntesting.runtime.log.LogRecorder
Info.
info(String, Object...) - Method in class patterntesting.runtime.log.LogRecorder
Info.
info(Marker, String) - Method in class patterntesting.runtime.log.LogRecorder
Info.
info(String, Object, Object) - Method in class patterntesting.runtime.log.LogRecorder
Info.
info(Marker, String, Object) - Method in class patterntesting.runtime.log.LogRecorder
Info.
info(Marker, String, Object...) - Method in class patterntesting.runtime.log.LogRecorder
Info.
info(Marker, String, Throwable) - Method in class patterntesting.runtime.log.LogRecorder
Info.
info(Marker, String, Object, Object) - Method in class patterntesting.runtime.log.LogRecorder
Info.
info(String, Object...) - Method in class patterntesting.runtime.log.PerfLogger
Info.
InfoMBean - Interface in patterntesting.runtime.jmx
This is the interface for the info bean anf for the use of this bean as MBean.
init(Class<?>) - Method in class patterntesting.runtime.monitor.ProfileStatistic
For each constructor and for each method of the given class a ProfileMonitor is initialized.
insertRow() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Insert row.
INTEGRATION_TEST - Static variable in class patterntesting.runtime.util.Environment
System property to enable integration tests
IntegrationTest - Annotation Type in patterntesting.runtime.annotation
This annotation allows you to mark classes which are not really a unit test but a integration test.
integrationTestEnabled - Static variable in class patterntesting.runtime.util.Environment
True if property for integration test is set.
invariant() - Method in interface patterntesting.runtime.dbc.Contract
This method checks if the conditions of the invariants are still true.
invoke(Object, Method, Object[]) - Method in class patterntesting.runtime.monitor.db.ProxyConnection
Invokes the orginal Connection method and puts a wrapper around Statement and PreparedStatement to support monitoring.
invokeMethod(Object, String, Object...) - Static method in class patterntesting.runtime.util.ReflectionHelper
Invoke method.
IOTester - Class in patterntesting.runtime.junit
With the IOTester you can assert if two files have equals content or if two directories have the same structure with equal files.
isActivityTracking() - Method in class patterntesting.runtime.monitor.JamonMonitor
Checks if is activity tracking.
isAfterLast() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Checks if is after last.
isAgentAvailable() - Static method in class patterntesting.runtime.monitor.ClasspathDigger
Checks if the ClasspathAgent is available as MBean.
isArrayType() - Method in class patterntesting.runtime.util.ObjectInspector
Checks if the wrapped object is an array type.
isArrayType(Object) - Static method in class patterntesting.runtime.util.ObjectInspector
Checks if the given object is an array.
isBeforeFirst() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Checks if is before first.
isBroken(String, Broken) - Method in class patterntesting.runtime.junit.internal.SmokeFilter
Checks for a given method if the condition of the given Broken annotations is fulfilled.
isClassloaderSupported() - Method in class patterntesting.runtime.monitor.ClasspathDigger
Checks if is classloader supported.
isClassloaderSupported() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Checks if is classloader supported.
isClassloaderSupported() - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
 
isClosed() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Checks if is closed.
isClosed() - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Checks if is closed.
isCloseOnCompletion() - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Checks if is close on completion.
isComplexType() - Method in class patterntesting.runtime.util.ObjectInspector
Checks if the wrapped object is complex type.
isComplexType(Object) - Static method in class patterntesting.runtime.util.ObjectInspector
Checks if the given object is of complex type.
isDebugEnabled() - Method in class patterntesting.runtime.log.LogRecorder
Checks if is debug enabled.
isDebugEnabled(Marker) - Method in class patterntesting.runtime.log.LogRecorder
Checks if is debug enabled.
isDebugEnabled() - Method in class patterntesting.runtime.log.PerfLogger
Checks if is debug enabled.
isDoublet(String) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Checks if is doublet.
isDoublet(Class<?>) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Is the given class a doublet, i.e. can it be found more than once in the classpath?
isDoublet(String) - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
Is the given classname or resource a doublet, e.g. can it be found several times in the classpath?
isEnabled() - Method in class patterntesting.runtime.monitor.JamonMonitor
Checks if is enabled.
isErrorEnabled() - Method in class patterntesting.runtime.log.LogRecorder
Checks if is error enabled.
isErrorEnabled(Marker) - Method in class patterntesting.runtime.log.LogRecorder
Checks if is error enabled.
isFile() - Method in class patterntesting.runtime.util.ArchivEntry
Checks if is file.
isFirst() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Checks if is first.
isGoogleAppEngine() - Static method in class patterntesting.runtime.util.Environment
If we are in a Google App Engine (GAE) environment we will return true here.
isInfoEnabled() - Method in class patterntesting.runtime.log.LogRecorder
Checks if is info enabled.
isInfoEnabled(Marker) - Method in class patterntesting.runtime.log.LogRecorder
Checks if is info enabled.
isInnerClass(JoinPoint) - Static method in class patterntesting.runtime.util.JoinPointHelper
The Java compiler generates something like OuterClass$InnerClass as name for the inner class.
isInnerClass(Signature) - Static method in class patterntesting.runtime.util.JoinPointHelper
The Java compiler generates something like OuterClass$InnerClass as name for the inner class.
isIterable() - Method in class patterntesting.runtime.util.ObjectInspector
Checks if the type of the wrapped object could be iterated.
isIterable(Object) - Static method in class patterntesting.runtime.util.ObjectInspector
Checks if the type of the given object could be iterated.
isJamonAvailable() - Static method in class patterntesting.runtime.util.Environment
It is only tested for Jamon 2.4 and 2.7 so we look for it
isLast() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Checks if is last.
isLoaded(String) - Method in class patterntesting.runtime.monitor.ClasspathDigger
Checks if the given classname is loaded.
isLoaded(String) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Checks if the given classname is loaded.
isLoaded(String) - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
Is the given classname already loaded?
isMultiThreadingEnabled() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Is multi threading enabled?
isMultiThreadingEnabled() - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
Is multi threading enabled?
isPoolable() - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Checks if is poolable.
isPrimary() - Method in class patterntesting.runtime.monitor.JamonMonitor
Checks if is primary.
isPropertyEnabled(String) - Static method in class patterntesting.runtime.util.Environment
Returns true if the given property is set as System property and the value of it is not false.
isRegistered(String) - Static method in class patterntesting.runtime.jmx.MBeanHelper
Checks if is registered.
isRegistered(Object) - Static method in class patterntesting.runtime.jmx.MBeanHelper
Checks if is registered.
isRegisteredAsMBean() - Method in interface patterntesting.runtime.jmx.MBeanRegistry
Was the object registered as MBean?
isRegisteredAsMBean() - Static method in class patterntesting.runtime.monitor.ClasspathMonitor
If you want to ask JMX if bean is already registered you can ask the MBeanHelper or you can ask this method.
isShutdownHook() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Here you can ask if the ClasspathMonitor was already registeres ad shutdown hook.
isShutdownHook() - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
Here you can ask if the ClasspathMonitor was already registeres ad shutdown hook.
isStatic(Field) - Static method in class patterntesting.runtime.util.ReflectionHelper
Checks if the given field is static.
isTestCaseClass(TestClass) - Static method in class patterntesting.runtime.junit.internal.ProfiledStatement
 
isTraceEnabled() - Method in class patterntesting.runtime.log.LogRecorder
Checks if is trace enabled.
isTraceEnabled(Marker) - Method in class patterntesting.runtime.log.LogRecorder
Checks if is trace enabled.
isValid(Validator) - Static method in class patterntesting.runtime.util.AssertArg
Checks if the argument is valid.
isValid(Object, Validator) - Static method in class patterntesting.runtime.util.AssertArg
Checks if the argument is valid.
isWarnEnabled() - Method in class patterntesting.runtime.log.LogRecorder
Checks if is warn enabled.
isWarnEnabled(Marker) - Method in class patterntesting.runtime.log.LogRecorder
Checks if is warn enabled.
isWeblogicServer() - Static method in class patterntesting.runtime.util.Environment
If we are inside a Weblogic Server (WLS) we will return true here.
isWrapperFor(Class<?>) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Checks if is wrapper for.
isWrapperFor(Class<?>) - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Checks if is wrapper for.

J

jamonAvailable - Static variable in class patterntesting.runtime.monitor.ProfileStatistic
Is JaMon library available?.
JamonMonitor - Class in patterntesting.runtime.monitor
This is a thin wrapper for com.jamonapi.Monitor
JamonMonitor(Monitor) - Constructor for class patterntesting.runtime.monitor.JamonMonitor
Instantiates a new monitor.
JamonMonitorFactory - Class in patterntesting.runtime.monitor
This is a thin wrapper around com.jamonapi.MonitorFactory to keep the ProfileStatistic class clean from com.jamonapi dependencies.
JAVA_VENDOR - Static variable in class patterntesting.runtime.util.Environment
Java vendor (e.g.
JAVA_VERSION - Static variable in class patterntesting.runtime.util.Environment
JDK version (e.g. "1.6.0_17").
jdbcCompliant() - Method in class patterntesting.runtime.monitor.db.ProxyDriver
Jdbc compliant.
JoinPointHelper - Class in patterntesting.runtime.util
The Class JoinPointHelper.
JUnitHelper - Class in patterntesting.runtime.junit.internal
This is a helper class which contains some static helper methods for JUnit.

L

last() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Last.
LazyObjectRecorder - Class in patterntesting.runtime.log
In contradiction to ObjectRecorder this class only records joinpoints and return values if they are different from the last record.
LazyObjectRecorder() - Constructor for class patterntesting.runtime.log.LazyObjectRecorder
Instantiates a new lazy object recorder.
LazyObjectRecorder(File) - Constructor for class patterntesting.runtime.log.LazyObjectRecorder
Instantiates a new lazy object recorder.
LazyObjectRecorder(OutputStream) - Constructor for class patterntesting.runtime.log.LazyObjectRecorder
Instantiates a new lazy object recorder.
LineReader - Class in patterntesting.runtime.io
If extends BufferedReader but provides you the line number in which the reader is reading.
LineReader(Reader) - Constructor for class patterntesting.runtime.io.LineReader
Instantiates a new line reader.
LineReader(Reader, int) - Constructor for class patterntesting.runtime.io.LineReader
Instantiates a new line reader.
load(File) - Method in class patterntesting.runtime.io.AbstractSerializer
Loads a single ojbect from the given file.
load(InputStream) - Method in class patterntesting.runtime.io.AbstractSerializer
Loads a single ojbect from the given stream.
load(File) - Method in class patterntesting.runtime.log.ObjectPlayer
If you want to use an always recored object log you can load it with this method.
load(InputStream) - Method in class patterntesting.runtime.log.ObjectPlayer
If you want to use an always recored object log you can load it with this method.
loadClass(String) - Method in class patterntesting.runtime.experimental.XrayClassLoader
Load class.
loadProperties(String) - Static method in class patterntesting.runtime.util.Environment
Loads the properties from the classpath and provides them as system properties.
loadProperties(InputStream) - Static method in class patterntesting.runtime.util.Environment
Loads the properties from the given InputStream and provides them as system properties.
Localhost - Class in patterntesting.runtime.net
This (static) class represents your local host.
log(JoinPoint, Object) - Method in class patterntesting.runtime.log.LazyObjectRecorder
Both things are logged with this method: the call of a method (joinPoint) and the return value of this method.
log(JoinPoint, Object) - Method in class patterntesting.runtime.log.ObjectRecorder
Both things are logged with this method: the call of a method (joinPoint) and the return value of this method.
log(int, String, Object...) - Method in class patterntesting.runtime.log.PerfLogger
Log.
LOG_LEVEL_DEBUG - Static variable in class patterntesting.runtime.log.SimpleLog
"Debug" level logging.
LOG_LEVEL_ERROR - Static variable in class patterntesting.runtime.log.SimpleLog
"Error" level logging.
LOG_LEVEL_FATAL - Static variable in class patterntesting.runtime.log.SimpleLog
"Fatal" level logging.
LOG_LEVEL_INFO - Static variable in class patterntesting.runtime.log.SimpleLog
"Info" level logging.
LOG_LEVEL_TRACE - Static variable in class patterntesting.runtime.log.SimpleLog
"Trace" level logging.
LOG_LEVEL_WARN - Static variable in class patterntesting.runtime.log.SimpleLog
"Warn" level logging.
logFreeMemory(long) - Static method in class patterntesting.runtime.monitor.MemoryGuard
Every x milliseconds the free memory is checked and printed into the log (according the log level).
logMe() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Logs the different array to the log output.
logMe() - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
Prints the different MBean attributes to the log output.
logMemory() - Static method in class patterntesting.runtime.monitor.MemoryGuard
Log memory.
logMemory(Logger) - Static method in class patterntesting.runtime.monitor.MemoryGuard
Logs a message if free memory falls down below x% of maximal heap size where x is: x < 1%: logs a fatal message 1% <= x < 2%: logs an error 1% <= x < 10%: logs a warning 10% <= x < 20%: logs an info message 20% <= x < 50%: logs debug message x >= 50%: tracing .
LogRecorder - Class in patterntesting.runtime.log
The Class LogRecorder which is able to record log messages.
LogRecorder() - Constructor for class patterntesting.runtime.log.LogRecorder
 
LogRuntimeException - Annotation Type in patterntesting.runtime.annotation
You want to see a RuntimeException in the log if it happens?
logStatement(Statement) - Method in class patterntesting.runtime.junit.SmokeRunner
We will give a subclass (like e.g.
logStatistic() - Method in class patterntesting.runtime.monitor.ProfileStatistic
Log statistic.
logStatistic() - Method in interface patterntesting.runtime.monitor.ProfileStatisticMBean
Log statistic.
LogThrowable - Annotation Type in patterntesting.runtime.annotation
You want to see an Exception or Error in the log if it happens?
LogWatch - Class in patterntesting.runtime.log
The Class LogWatch is a simple stop watch to be able to measure and log code segments which need a little bit longer.
LogWatch() - Constructor for class patterntesting.runtime.log.LogWatch
Instantiates a new log watch.

M

main(String[]) - Static method in class patterntesting.runtime.monitor.ClasspathMonitor
This main method is only for testing the ClasspathMonitor together with the 'jconsole'.
MapTester - Class in patterntesting.runtime.junit
This class asserts (among other things) that two maps are equals.
matches(String[], String[], String[], String[], String[], String[], String[], String[], String[]) - Method in class patterntesting.runtime.junit.internal.TestOn
If the operating system(s) match and one of the other parameters (if they contain values) this method will return true.
matches(String[], String[], String[], String[], String[], String[], String[], String[]) - Method in class patterntesting.runtime.junit.internal.TestOn
If the operating system(s) match and one of the other parameters (if they contain values) this method will return true.
matches(String[]) - Static method in class patterntesting.runtime.net.Localhost
Here we try to get all network addresses to compare it against the given hosts.
matches(String) - Static method in class patterntesting.runtime.net.Localhost
Here we try to get all network addresses to compare it against the given hosts.
matches(Object) - Method in class patterntesting.runtime.util.regex.TypePattern
Matches.
matches(Class<?>) - Method in class patterntesting.runtime.util.regex.TypePattern
Matches.
matches(String) - Method in class patterntesting.runtime.util.regex.TypePattern
Matches.
matchesOneOf(String[]) - Static method in class patterntesting.runtime.util.Environment
Looks if one of the given properties matches a system property.
MayBeNull - Annotation Type in patterntesting.annotation.check.runtime
If one of an argument of a method can be null you can use this annotation to mark it.
MayReturnNull - Annotation Type in patterntesting.annotation.check.runtime
Use this annotation to mark methods which can return null values.
MBeanHelper - Class in patterntesting.runtime.jmx
This class simplifies the use of JMX and MBeans a little bit.
MBeanRegistry - Interface in patterntesting.runtime.jmx
To avoid confusion with the existing MBeanRegistration interface from javax.management this interface is now called MBeanRegistry (although there are too many negative associations with the word "registry").
MemoryGuard - Class in patterntesting.runtime.monitor
The Class MemoryGuard.
message(JoinPoint) - Method in class patterntesting.runtime.log.SequenceGrapher
Logs the call of a method to the generated sequence diagram.
message(Object, JoinPoint) - Method in class patterntesting.runtime.log.SequenceGrapher
Logs the call of a method to the generated sequence diagram.
message(Object, Object, String, Object[]) - Method in class patterntesting.runtime.log.SequenceGrapher
Logs the call of a method to the generated sequence diagram.
methodBlock(FrameworkMethod) - Method in class patterntesting.runtime.junit.SmokeRunner
Creates a RunStatement for the given test method.
MethodSignatureImpl - Class in patterntesting.runtime.util.reflect
There is a class org.aspectj.runtime.reflect.MethodSignatureImpl in aspectjrt.jar.
MethodSignatureImpl(Method) - Constructor for class patterntesting.runtime.util.reflect.MethodSignatureImpl
Instantiates a new method signature impl.
ModelInitializationError - Exception in patterntesting.runtime.junit.internal
This error introduced for the support of JUnit 4.7 because in this version the used constructor is missing.
ModelInitializationError(Throwable) - Constructor for exception patterntesting.runtime.junit.internal.ModelInitializationError
Instantiates a new model initialization error.
moveToCurrentRow() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Move to current row.
moveToInsertRow() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Move to insert row.

N

newInstance(Connection) - Static method in class patterntesting.runtime.monitor.db.ProxyConnection
Creates a new proxy instance for the given connection.
next() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Next.
normalize(File) - Static method in class patterntesting.runtime.io.FileHelper
Normalizes a file, analogous to FilenameUtils.normalize(String).
NotFoundException - Exception in patterntesting.runtime.exception
If you did not find a result and want to avoid 'null" as return value you can throw this exception here.
NotFoundException(Object) - Constructor for exception patterntesting.runtime.exception.NotFoundException
Instantiates a new not found exception.
NotFoundException(String) - Constructor for exception patterntesting.runtime.exception.NotFoundException
Instantiates a new not found exception.
NotFoundException(Throwable) - Constructor for exception patterntesting.runtime.exception.NotFoundException
Instantiates a new not found exception.
NotFoundException(String, Throwable) - Constructor for exception patterntesting.runtime.exception.NotFoundException
Instantiates a new not found exception.
NOTHING_FOUND - Static variable in class patterntesting.runtime.util.ObjectInspector
The value for "nothing found".
NotNull - Annotation Type in patterntesting.annotation.check.runtime
Deprecated. use javax.validation.constraints.NotNull
NotYetImplemented - Annotation Type in patterntesting.runtime.annotation
Eclipse and other tools will generate default implementation for you if you want to implement an interface.
NULL_DATE - Static variable in class patterntesting.runtime.NullConstants
You need a null date and don't want to use null?
NULL_EXCEPTION - Static variable in class patterntesting.runtime.NullConstants
You need a null exception and don't want to use null?
NULL_FILE - Static variable in class patterntesting.runtime.NullConstants
You need a null file and don't want to use null?
NULL_OBJECT - Static variable in class patterntesting.runtime.NullConstants
If you have a method with a list of arguments where some arguments are optional you can provide the method with different signatures (good idea, but not always feasible) admit null arguments and handle it in the methode (not a good idea because it can happen accidentally) use this special NULL_OBJECT object to mark an argument as optional Unfortunately this works only for object as argument.
NULL_STRING - Static variable in class patterntesting.runtime.NullConstants
You need a null string and don't want to use null?
NULL_THROWABLE - Static variable in class patterntesting.runtime.NullConstants
You need a null throwable and don't want to use null?
NullArgsAllowed - Annotation Type in patterntesting.annotation.check.runtime
Use this annotation to mark methods which are allowed to have null values as argument.
NullConstants - Class in patterntesting.runtime
This class contains some constants (like a NULL_STRING) as constant.

O

ObjectComparator - Class in patterntesting.runtime.util
Compares two objects using their string representation.
ObjectComparator() - Constructor for class patterntesting.runtime.util.ObjectComparator
 
ObjectInspector - Class in patterntesting.runtime.util
This class lets you examine an object and dump its internal attributes.
ObjectInspector(Object) - Constructor for class patterntesting.runtime.util.ObjectInspector
Instantiates a new object inspector.
ObjectPlayer - Class in patterntesting.runtime.log
This is the counterpart to ObjectRecorder class.
ObjectPlayer(File) - Constructor for class patterntesting.runtime.log.ObjectPlayer
Instantiates a new object player.
ObjectRecorder - Class in patterntesting.runtime.log
This class allows you to record objects.
ObjectRecorder() - Constructor for class patterntesting.runtime.log.ObjectRecorder
Instantiates a new object recorder.
ObjectRecorder(File) - Constructor for class patterntesting.runtime.log.ObjectRecorder
Instantiates a new object logger.
ObjectRecorder(OutputStream) - Constructor for class patterntesting.runtime.log.ObjectRecorder
Instantiates a new object logger to the given stream.
ObjectTester - Class in patterntesting.runtime.junit
This is a utility class to check some important methods of a class like the.
OnlyForTesting - Annotation Type in patterntesting.annotation.check.ct
With this annotation you can mark methods which should be only called for testing but *never* from any other methods.
OS_ARCH - Static variable in class patterntesting.runtime.util.Environment
architecture (e.g.
OS_NAME - Static variable in class patterntesting.runtime.util.Environment
operating system (e.g.
OS_VERSION - Static variable in class patterntesting.runtime.util.Environment
os version (e.g. "10.6.2").

P

packageToResource(String) - Static method in class patterntesting.runtime.util.Converter
Converts a package name (e.g.
patterntesting.annotation.check.ct - package patterntesting.annotation.check.ct
This package contains the annotations for PatternTesting Check-CT.
patterntesting.annotation.check.runtime - package patterntesting.annotation.check.runtime
This package contains the annotations for PatternTesting Check-RT.
patterntesting.annotation.concurrent - package patterntesting.annotation.concurrent
This package contains the annotations for PatternTesting Concurrent.
patterntesting.annotation.exception - package patterntesting.annotation.exception
This package contains the annotations for PatternTesting Exception.
patterntesting.runtime - package patterntesting.runtime
This is the top level package of PatternTesting Runtime.
patterntesting.runtime.annotation - package patterntesting.runtime.annotation
This package contains the annotations for PatternTesting Runtime itself.
patterntesting.runtime.db - package patterntesting.runtime.db
This package contains classes which are usefull for the work with databases.
patterntesting.runtime.dbc - package patterntesting.runtime.dbc
This package is reserved for "Design By Contract" (DbC).
patterntesting.runtime.exception - package patterntesting.runtime.exception
 
patterntesting.runtime.experimental - package patterntesting.runtime.experimental
This is an experimental package.
patterntesting.runtime.io - package patterntesting.runtime.io
This package contains some IO helpers and some "better" implementations.
patterntesting.runtime.jmx - package patterntesting.runtime.jmx
This is the package for JMX support.
patterntesting.runtime.junit - package patterntesting.runtime.junit
Here you find the SmokeRunner for JUnit.
patterntesting.runtime.junit.internal - package patterntesting.runtime.junit.internal
These are classes for internal use.
patterntesting.runtime.log - package patterntesting.runtime.log
Here you find some support for logging.
patterntesting.runtime.monitor - package patterntesting.runtime.monitor
This package provides some monitors like the ClasspathMonitor or ProfileMonitor.
patterntesting.runtime.monitor.db - package patterntesting.runtime.monitor.db
This package contains classes which are usefull for monitoring databases.
patterntesting.runtime.monitor.db.internal - package patterntesting.runtime.monitor.db.internal
 
patterntesting.runtime.net - package patterntesting.runtime.net
Contains some network support.
patterntesting.runtime.util - package patterntesting.runtime.util
This is the package for some utility classes.
patterntesting.runtime.util.reflect - package patterntesting.runtime.util.reflect
This is the package for some reflection utilities.
patterntesting.runtime.util.regex - package patterntesting.runtime.util.regex
 
PerfLogger - Class in patterntesting.runtime.log
This class is a kind of performance logger to be able to log the execution times of methods or code segments which may need a little bit longer.
PerfLogger() - Constructor for class patterntesting.runtime.log.PerfLogger
Instantiates a new perf logger.
PerfLogger(Class<?>) - Constructor for class patterntesting.runtime.log.PerfLogger
Instantiates a new perf logger.
PerfLogger(Logger) - Constructor for class patterntesting.runtime.log.PerfLogger
Instantiates a new perf logger.
previous() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Previous.
ProfiledStatement - Class in patterntesting.runtime.junit.internal
The ProfiledStatement measures also the time the different setUp() and tearDown() methods need.
ProfiledStatement(TestClass, FrameworkMethod) - Constructor for class patterntesting.runtime.junit.internal.ProfiledStatement
The default constructor for this class if the call of the frameworkMethod is ok.
ProfileMe - Annotation Type in patterntesting.runtime.annotation
You want to measure a method or constructor?
ProfileMonitor - Interface in patterntesting.runtime.monitor
The Interface ProfileMonitor.
ProfileStatistic - Class in patterntesting.runtime.monitor
This is constructed as a thin layer around com.jamonapi.MonitorFactory for the needs of patterntesting.
ProfileStatistic(String) - Constructor for class patterntesting.runtime.monitor.ProfileStatistic
Instantiates a new profile statistic.
ProfileStatisticMBean - Interface in patterntesting.runtime.monitor
The Interface ProfileStatisticMBean.
provoke(Class<? extends Throwable>) - Static method in class patterntesting.runtime.util.ExceptionThrower
Be careful - you can provoke any Exception with the method without the need to declare it with a throws statement.
provoke(Test) - Static method in class patterntesting.runtime.util.ExceptionThrower
This method throws the expected exception wrapped into the Test annotation.
ProxyConnection - Class in patterntesting.runtime.db
Deprecated. use ProxyConnection
ProxyConnection(Connection) - Constructor for class patterntesting.runtime.db.ProxyConnection
Deprecated. Instantiates a new proxy connection.
ProxyConnection - Class in patterntesting.runtime.monitor.db
This is a dynamic proxy for a JDBC connection which monitors together with the ConnectionMonitor the different newInstance() and close() call.
ProxyConnection(Connection) - Constructor for class patterntesting.runtime.monitor.db.ProxyConnection
Instantiates a new proxy connection.
ProxyDriver - Class in patterntesting.runtime.db
Deprecated. use ProxyDriver
ProxyDriver() - Constructor for class patterntesting.runtime.db.ProxyDriver
Deprecated.  
ProxyDriver - Class in patterntesting.runtime.monitor.db
This JDBC driver acts like a proxy between PatternTesting and the real JDBC driver to be able to monitor JDBC access.
ProxyDriver() - Constructor for class patterntesting.runtime.monitor.db.ProxyDriver
 
ProxyRunner - Class in patterntesting.runtime.junit
This is a JUnit runner which delegates the call one (or perhaps several) other JUnit runners.
ProxyRunner(Class<?>) - Constructor for class patterntesting.runtime.junit.ProxyRunner
Instantiates a new proxy runner.
PublicForTesting - Annotation Type in patterntesting.annotation.check.runtime
With this annotation you can mark methods which are public for testing but which should *never* be called from outside, but only from test methods or from the class itself.

R

read() - Method in class patterntesting.runtime.io.LineReader
Read.
read(char[], int, int) - Method in class patterntesting.runtime.io.LineReader
Read.
readLine() - Method in class patterntesting.runtime.io.LineReader
Read line.
ReflectionHelper - Class in patterntesting.runtime.util
This class is a helper class to access some fields via reflection.
refreshRow() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Refresh row.
register() - Static method in class patterntesting.runtime.monitor.db.ProxyDriver
Registers the driver as JDBC driver.
registerAsMBean() - Method in interface patterntesting.runtime.jmx.MBeanRegistry
Registers the MBean as "a.b.c:type=Xxx" (where "a.b.c" is the package name and "Xxx" the classname).
registerAsMBean(String) - Method in interface patterntesting.runtime.jmx.MBeanRegistry
Register the MBean with the given name.
registerAsMBean(ObjectName) - Method in interface patterntesting.runtime.jmx.MBeanRegistry
Register the MBean with the given object name.
registerAsMBean() - Static method in class patterntesting.runtime.monitor.ClasspathMonitor
Register as m bean.
registerMBean(Object) - Static method in class patterntesting.runtime.jmx.MBeanHelper
Register the given object as MBean.
registerMBean(String, Object) - Static method in class patterntesting.runtime.jmx.MBeanHelper
Register the given object as MBean.
registerMBean(ObjectName, Object) - Static method in class patterntesting.runtime.jmx.MBeanHelper
Register m bean.
relative(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Relative.
removeAsShutdownHook() - Static method in class patterntesting.runtime.monitor.ClasspathMonitor
If you have registered the instance you can now de-register it.
removeConnection(ProxyConnection) - Static method in class patterntesting.runtime.monitor.db.ConnectionMonitor
Removes the connection.
removeMeAsShutdownHook() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
If you want to unregister the instance as shutdown hook you can use this (not static) method.
removeMeAsShutdownHook() - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
If you want to unregister the instance as shutdown hook you can use this method.
require(boolean) - Static method in class patterntesting.runtime.dbc.DbC
Use this method to describe the condition which must be true when your method is called.
require(boolean, Object) - Static method in class patterntesting.runtime.dbc.DbC
Use this method to describe the condition which must be true when your method is called.
reset() - Method in class patterntesting.runtime.io.LineReader
Reset.
reset() - Method in class patterntesting.runtime.log.LogWatch
Reset.
reset() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Resets the doubletList and maybe later other things.
reset() - Method in class patterntesting.runtime.monitor.db.SqlStatistic
To start a new statistic call this method.
reset() - Method in class patterntesting.runtime.monitor.JamonMonitor
Reset.
reset() - Static method in class patterntesting.runtime.monitor.JamonMonitorFactory
Deprecated. use JamonMonitorFactory.reset(ProfileMonitor)
reset(ProfileMonitor) - Static method in class patterntesting.runtime.monitor.JamonMonitorFactory
Reset.
reset(String) - Static method in class patterntesting.runtime.monitor.JamonMonitorFactory
Reset.
reset() - Method in interface patterntesting.runtime.monitor.ProfileMonitor
Reset.
reset() - Method in class patterntesting.runtime.monitor.ProfileStatistic
We can't reset all ProfileMonitors - we must keep the empty monitors with 0 hits to see which methods or constructors are never called.
reset() - Method in interface patterntesting.runtime.monitor.ProfileStatisticMBean
Reset.
reset() - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
Reset.
resetRootMonitor() - Method in class patterntesting.runtime.monitor.ProfileStatistic
Resets the root monitor.
resourceToClass(String) - Static method in class patterntesting.runtime.util.Converter
Converts a resource (e.g.
returnMessage(JoinPoint) - Method in class patterntesting.runtime.log.SequenceGrapher
Logs the return arrow from the last call to the generated sequence diagram.
returnMessage(JoinPoint, Object) - Method in class patterntesting.runtime.log.SequenceGrapher
Logs the return arrow from the last call to the generated sequence diagram.
returnMessage(Object, Object) - Method in class patterntesting.runtime.log.SequenceGrapher
Return message.
rowDeleted() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Row deleted.
rowInserted() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Row inserted.
rowUpdated() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Row updated.
run(RunNotifier) - Method in class patterntesting.runtime.junit.ProxyRunner
Here we decide if the whole class is to be run.
run(RunNotifier) - Method in class patterntesting.runtime.junit.SmokeSuite
Run.
run() - Method in class patterntesting.runtime.log.AbstractLogger
This method is called at shutdown to close the open stream.
run() - Method in class patterntesting.runtime.log.ObjectRecorder
This method is called at shutdown to close the open stream.
run() - Method in class patterntesting.runtime.log.SequenceGrapher
This method is called at shutdown to close the open writer.
run() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
This method is called when the ClasspathMonitor is registered as shutdown hook.
run() - Method in class patterntesting.runtime.monitor.ProfileStatistic
This method is called when the PerformanceMonitor is registered as shutdown hook.
RUN_SMOKE_TESTS - Static variable in class patterntesting.runtime.util.Environment
System property for annotation SmokeTest.
RUN_TESTS_PARALLEL - Static variable in class patterntesting.runtime.util.Environment
System property for annotation RunTestsParallel.
RunBackground - Annotation Type in patterntesting.annotation.concurrent
With this annotation you can mark methods which should run in background (as separate thread).
runChild(FrameworkMethod, RunNotifier) - Method in class patterntesting.runtime.junit.ProxyRunner
Run child.
runChild(FrameworkMethod, RunNotifier) - Method in class patterntesting.runtime.junit.SmokeRunner
Runs the test corresponding to child, which can be assumed to be an element of the list returned by ParentRunner.getChildren().
runnerForClass(Class<?>) - Method in class patterntesting.runtime.junit.internal.SmokeBuilder
Returs a Runner for class.
RunParallel - Annotation Type in patterntesting.annotation.concurrent
Mark methods or constructors which should be run parallel in different threads with this annotation.
RunTestOn - Annotation Type in patterntesting.runtime.annotation
You have a test which should be run only on Linux or another operationg system?
RuntimeTester - Class in patterntesting.runtime.junit
This is a tester to do some runtime checking like memory checks and other stuff.

S

save(Object, File) - Method in class patterntesting.runtime.io.AbstractSerializer
Saves a single object to the given file.
save(Object, OutputStream) - Method in class patterntesting.runtime.io.AbstractSerializer
Saves a single object to the given stream.
save(String, Object) - Method in class patterntesting.runtime.log.ObjectRecorder
Saves the given joinPoint / returnValue pair to the log stream.
SequenceGrapher - Class in patterntesting.runtime.log
This class supports the creation of simple sequence diagrams as desribed in the user manual of UML Graph.
SequenceGrapher() - Constructor for class patterntesting.runtime.log.SequenceGrapher
Instantiates a new SequenceGrapher.
SequenceGrapher(File) - Constructor for class patterntesting.runtime.log.SequenceGrapher
Instantiates a new SequenceGrapher.
SequenceGrapher(File, String) - Constructor for class patterntesting.runtime.log.SequenceGrapher
Instantiates a new sequence grapher.
SequenceGrapher(OutputStream) - Constructor for class patterntesting.runtime.log.SequenceGrapher
Instantiates a new object logger to the given stream.
SequenceGrapher(OutputStream, String) - Constructor for class patterntesting.runtime.log.SequenceGrapher
/** Instantiates a new sequence grapher.
SerializableTester - Class in patterntesting.runtime.junit
This is a utility class to check the serializable nature of classes.
serialize(Serializable) - Static method in class patterntesting.runtime.util.Converter
Serializes the given object and returns it as byte array.
setAccessStats(long) - Method in class patterntesting.runtime.monitor.JamonMonitor
Sets the access stats.
setActive(double) - Method in class patterntesting.runtime.monitor.JamonMonitor
Sets the active.
setActivityTracking(boolean) - Method in class patterntesting.runtime.monitor.JamonMonitor
Sets the activity tracking.
setArray(int, Array) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the array.
setAsciiStream(int, InputStream, int) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the ascii stream.
setAsciiStream(int, InputStream, long) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the ascii stream.
setAsciiStream(int, InputStream) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the ascii stream.
setBigDecimal(int, BigDecimal) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the big decimal.
setBinaryStream(int, InputStream, int) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the binary stream.
setBinaryStream(int, InputStream, long) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the binary stream.
setBinaryStream(int, InputStream) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the binary stream.
setBlob(int, Blob) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the blob.
setBlob(int, InputStream, long) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the blob.
setBlob(int, InputStream) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the blob.
setBoolean(int, boolean) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the boolean.
setByte(int, byte) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the byte.
setBytes(int, byte[]) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the bytes.
setCharacterStream(int, Reader, int) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the character stream.
setCharacterStream(int, Reader, long) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the character stream.
setCharacterStream(int, Reader) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the character stream.
setClob(int, Clob) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the clob.
setClob(int, Reader, long) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the clob.
setClob(int, Reader) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the clob.
setCursorName(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Sets the cursor name.
setDate(int, Date, Calendar) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the date.
setDate(int, Date) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the date.
setDouble(int, double) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the double.
setEscapeProcessing(boolean) - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Sets the escape processing.
setExcludeFilter(String[]) - Method in class patterntesting.runtime.log.SequenceGrapher
Sets the exclude filter.
setFetchDirection(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Sets the fetch direction.
setFetchDirection(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Sets the fetch direction.
setFetchSize(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Sets the fetch size.
setFetchSize(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Sets the fetch size.
setFirstAccess(Date) - Method in class patterntesting.runtime.monitor.JamonMonitor
Sets the first access.
setFloat(int, float) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the float.
setHits(double) - Method in class patterntesting.runtime.monitor.JamonMonitor
Sets the hits.
setInt(int, int) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the int.
setLastAccess(Date) - Method in class patterntesting.runtime.monitor.JamonMonitor
Sets the last access.
setLastValue(double) - Method in class patterntesting.runtime.monitor.JamonMonitor
Sets the last value.
setLong(int, long) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the long.
setMax(double) - Method in class patterntesting.runtime.monitor.JamonMonitor
Sets the max.
setMaxActive(double) - Method in class patterntesting.runtime.monitor.JamonMonitor
Sets the max active.
setMaxFieldSize(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Sets the max field size.
setMaxRows(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Sets the max rows.
setMin(double) - Method in class patterntesting.runtime.monitor.JamonMonitor
Sets the min.
setMultiThreadingEnabled(boolean) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Here you can enable or disable the (experimental) multi threading mode to see if it is really faster on a mult-core machine.
setMultiThreadingEnabled(boolean) - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
Here you can enable or disable the multi threading mode.
setNCharacterStream(int, Reader, long) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the n character stream.
setNCharacterStream(int, Reader) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the n character stream.
setNClob(int, NClob) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the n clob.
setNClob(int, Reader, long) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the n clob.
setNClob(int, Reader) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the n clob.
setNString(int, String) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the n string.
setNull(int, int, String) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the null.
setNull(int, int) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the null.
setObject(int, Object, int, int) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the object.
setObject(int, Object, int) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the object.
setObject(int, Object) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the object.
setOsArch(String) - Method in class patterntesting.runtime.junit.internal.TestOn
For testing you can set the OS architector.
setOsName(String) - Method in class patterntesting.runtime.junit.internal.SmokeFilter
For testing you can set the OS name.
setOsName(String) - Method in class patterntesting.runtime.junit.internal.TestOn
For testing you can set the OS name.
setPoolable(boolean) - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Sets the poolable.
setPrimary(boolean) - Method in class patterntesting.runtime.monitor.JamonMonitor
Sets the primary.
setQueryTimeout(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Sets the query timeout.
setRef(int, Ref) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the ref.
setRowId(int, RowId) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the row id.
setShort(int, short) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the short.
setSQLXML(int, SQLXML) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the sqlxml.
setString(int, String) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the string.
setTime(int, Time, Calendar) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the time.
setTime(int, Time) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the time.
setTimestamp(int, Timestamp, Calendar) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the timestamp.
setTimestamp(int, Timestamp) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the timestamp.
setToday(Date) - Method in class patterntesting.runtime.junit.internal.SmokeFilter
For testing (e.g. to check the past) you can set the today's date.
setTotal(double) - Method in class patterntesting.runtime.monitor.JamonMonitor
Sets the total.
setTotalActive(double) - Method in class patterntesting.runtime.monitor.JamonMonitor
Sets the total active.
setUnicodeStream(int, InputStream, int) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the unicode stream.
setURL(int, URL) - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Sets the url.
setUserName(String) - Method in class patterntesting.runtime.junit.internal.SmokeFilter
For testing you can set the user name.
setUserName(String) - Method in class patterntesting.runtime.junit.internal.TestOn
For testing you can set the user name.
shouldBeIgnored(Description) - Method in class patterntesting.runtime.junit.internal.SmokeFilter
Should be ignored.
shouldBeIgnored(FrameworkMethod) - Method in class patterntesting.runtime.junit.SmokeRunner
Here we handle annotations like @Ignore where the execution of the test method should be ignored.
shouldBeRun(FrameworkMethod) - Method in class patterntesting.runtime.junit.SmokeRunner
Should be run.
shouldRun(Description) - Method in class patterntesting.runtime.junit.internal.SmokeFilter
Handles the different annotations like Broken, RunTestOn, SkipTestOn, IntegrationTest or SmokeTest.
SignatureHelper - Class in patterntesting.runtime.util
The Class SignatureHelper.
SimpleLog - Class in patterntesting.runtime.log
Before the switch from commons-logging to SLF4J we used the constants from SimpleLog in some log annotations and log aspects.
SimpleProfileMonitor - Class in patterntesting.runtime.monitor
The Class SimpleProfileMonitor.
SimpleProfileMonitor() - Constructor for class patterntesting.runtime.monitor.SimpleProfileMonitor
Instantiates a new simple profile monitor.
SimpleProfileMonitor(String) - Constructor for class patterntesting.runtime.monitor.SimpleProfileMonitor
Instantiates a new simple profile monitor.
SimpleProfileMonitor(Signature, SimpleProfileMonitor) - Constructor for class patterntesting.runtime.monitor.SimpleProfileMonitor
Instantiates a new simple profile monitor.
SimpleProfileMonitor(String, SimpleProfileMonitor) - Constructor for class patterntesting.runtime.monitor.SimpleProfileMonitor
Instantiates a new simple profile monitor.
skip(long) - Method in class patterntesting.runtime.io.LineReader
Skip.
skipLines(int) - Method in class patterntesting.runtime.io.LineReader
Skip lines.
SkipTestOn - Annotation Type in patterntesting.runtime.annotation
You have a test which should be skipped on Linux or another operationg system?
sleep() - Static method in class patterntesting.runtime.util.ThreadUtil
Sleep.
sleep(long) - Static method in class patterntesting.runtime.util.ThreadUtil
Sleep.
sleep(long, int) - Static method in class patterntesting.runtime.util.ThreadUtil
Sleep.
sleep(int, TimeUnit) - Static method in class patterntesting.runtime.util.ThreadUtil
Using now also the constants MINUTES, HOURS and DAYS which are new with Java 6.
SmokeBuilder - Class in patterntesting.runtime.junit.internal
This builder returns a SmokeRunner for the test class.
SmokeBuilder(RunnerBuilder) - Constructor for class patterntesting.runtime.junit.internal.SmokeBuilder
Instantiates a new smoke builder.
SmokeFilter - Class in patterntesting.runtime.junit.internal
This filter handles the different annotations like Broken, RunTestOn, SkipTestOn, IntegrationTest or SmokeTest.
SmokeFilter() - Constructor for class patterntesting.runtime.junit.internal.SmokeFilter
 
SmokeRunner - Class in patterntesting.runtime.junit
This is the eXtended Runner for JUnit 4 which handles the SmokeTest and other annotations.
SmokeRunner(Class<?>) - Constructor for class patterntesting.runtime.junit.SmokeRunner
Creates a SmokeRunner to run klass methods in parallel.
SmokeSuite - Class in patterntesting.runtime.junit
Suite implementation which understand the same annotations like the SmokeRunner class.
SmokeSuite(Class<?>, List<Runner>) - Constructor for class patterntesting.runtime.junit.SmokeSuite
Instantiates a new smoke suite.
SmokeSuite(Class<?>, RunnerBuilder) - Constructor for class patterntesting.runtime.junit.SmokeSuite
Instantiates a new smoke suite.
SmokeSuite(RunnerBuilder, Class<?>, Class<?>[]) - Constructor for class patterntesting.runtime.junit.SmokeSuite
Instantiates a new smoke suite.
SmokeSuite(RunnerBuilder, Class<?>[]) - Constructor for class patterntesting.runtime.junit.SmokeSuite
Instantiates a new smoke suite.
SmokeSuite(Class<?>, Class<?>[]) - Constructor for class patterntesting.runtime.junit.SmokeSuite
Instantiates a new smoke suite.
SmokeTest - Annotation Type in patterntesting.runtime.annotation
For fast CI build it is helpful to mark important JUnit tests and test method as SmokeTest.
SmokeTest - Class in patterntesting.runtime
This tests checks some preconditions for PatternTesting Runtime.
SmokeTest() - Constructor for class patterntesting.runtime.SmokeTest
 
smokeTestEnabled - Static variable in class patterntesting.runtime.util.Environment
True if SmokeTest property is set.
SqlStatistic - Class in patterntesting.runtime.monitor.db
This class monitors and measures SQL statements.
SqlStatisticMBean - Interface in patterntesting.runtime.monitor.db
The Interface SqlStatisticMBean.
StackTraceScanner - Class in patterntesting.runtime.util
This class allows you to scan the stacktrace for different stuff.
start() - Method in class patterntesting.runtime.log.LogWatch
Start.
start(String, Object...) - Method in class patterntesting.runtime.log.PerfLogger
Start the log for the given message.
start(int, String, Object...) - Method in class patterntesting.runtime.log.PerfLogger
Start the log for the given message.
start(JoinPoint) - Static method in class patterntesting.runtime.log.Trace
Logs the trace with a start sign (">").
start(String) - Static method in class patterntesting.runtime.monitor.db.SqlStatistic
Start.
start() - Method in class patterntesting.runtime.monitor.JamonMonitor
Start.
start(String) - Static method in class patterntesting.runtime.monitor.JamonMonitorFactory
Deprecated. use JamonMonitorFactory.start(String, ProfileMonitor)
start(String, ProfileMonitor) - Static method in class patterntesting.runtime.monitor.JamonMonitorFactory
Start.
start(String, String) - Static method in class patterntesting.runtime.monitor.JamonMonitorFactory
Start.
start() - Method in interface patterntesting.runtime.monitor.ProfileMonitor
Start.
start(Signature) - Static method in class patterntesting.runtime.monitor.ProfileStatistic
Start.
start() - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
Start.
startAftersTimer() - Method in class patterntesting.runtime.junit.internal.ProfiledStatement
Here we start the timer when the first tearDown() method was called.
startProfileMonitorFor(Signature) - Method in class patterntesting.runtime.monitor.ProfileStatistic
Start profile monitor for the given signature.
startProfileMonitorFor(String) - Method in class patterntesting.runtime.monitor.ProfileStatistic
Start profile monitor for the given signature.
startTestTimer() - Method in class patterntesting.runtime.junit.internal.ProfiledStatement
Here we start the timer when the test method was called.
startTimer() - Method in class patterntesting.runtime.junit.internal.ProfiledStatement
Here we start the timer when the first setUp() method was called.
StasiPreparedStatement - Class in patterntesting.runtime.monitor.db.internal
A simple wrapper for PreparedStatement to be able to find resource problems while reading and writing to the database.
StasiPreparedStatement(PreparedStatement, Object...) - Constructor for class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
Instantiates a new stasi prepared statement.
StasiResultSet - Class in patterntesting.runtime.monitor.db.internal
A simple wrapper for ResultSet to be able to find resource problems while iterating through a ResultSet.
StasiResultSet(ResultSet) - Constructor for class patterntesting.runtime.monitor.db.internal.StasiResultSet
Instantiates a new stasi result set.
StasiStatement - Class in patterntesting.runtime.monitor.db.internal
A simple wrapper for Statement to be able to find resource problems while reading and writing to the database.
StasiStatement(Statement) - Constructor for class patterntesting.runtime.monitor.db.internal.StasiStatement
Instantiates a new proxy statement.
stop() - Method in class patterntesting.runtime.log.LogWatch
Stop.
stop(ProfileMonitor, String) - Method in class patterntesting.runtime.log.PerfLogger
Deprecated. moved to SqlStatistic class
stop(ProfileMonitor, String, Object) - Method in class patterntesting.runtime.log.PerfLogger
Deprecated. moved to SqlStatistic class
stop(ProfileMonitor, String) - Static method in class patterntesting.runtime.monitor.db.SqlStatistic
Stops the given 'mon' and logs the given command with the needed time if debug is enabled.
stop(ProfileMonitor, String, Object) - Static method in class patterntesting.runtime.monitor.db.SqlStatistic
Stops the given 'mon' and logs the given command with the needed time if debug is enabled.
stop() - Method in class patterntesting.runtime.monitor.JamonMonitor
Stop.
stop() - Method in interface patterntesting.runtime.monitor.ProfileMonitor
Stop.
stop() - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
Stop.
StringHelper - Class in patterntesting.runtime.util
This class contains some useful helper methods for Strings.
StringTester - Class in patterntesting.runtime.junit
This tester provides some special assert methods for strings to simplify JUnit testing.
SuppressEncodingWarning - Annotation Type in patterntesting.annotation.check.ct
Use this annotation to suppress warnings about undefined encodings.
SuppressExceptionWarning - Annotation Type in patterntesting.annotation.check.ct
You can use this annotation to suppress warnings about declaring an unspecified Exception or Throwable for methods or constructors.
SuppressIllegalArgumentExceptionWarning - Annotation Type in patterntesting.annotation.check.ct
If you want to suppress the warning that an IllegalArgumentException is thrown you can use this annotation here.
SuppressJUnitWarning - Annotation Type in patterntesting.annotation.check.ct
If PatternTesting reports a warning about the improber use of JUnit you can suppress the warning with this annotation.
SuppressLoggerWarning - Annotation Type in patterntesting.annotation.check.runtime
Use this annotation to suppress the warnings of the LoggerAspect in "patterntesting.check.runtime".
SuppressStackTraceWarning - Annotation Type in patterntesting.annotation.check.ct
With this annotation you can suppress the warning that e.printStacktrace() is used.
SuppressStreamWarning - Annotation Type in patterntesting.annotation.check.ct
Deprecated. no longer supported
SuppressSystemOutWarning - Annotation Type in patterntesting.annotation.check.ct
With this annotation you can suppress the warning that System.out or System.err is used.
Synchronized - Annotation Type in patterntesting.annotation.concurrent
Instead of synchronized methods you can mark these methods as "@Synchronized".

T

testCommonsIO() - Method in class patterntesting.runtime.SmokeTest
For the ClasspathMonitor and ClassWalker we need the commons-io lib.
TestException - Annotation Type in patterntesting.annotation.exception
With this annotation you can mark classes or methods which should be able to throw an exception on demand (for testing).
TestOn - Class in patterntesting.runtime.junit.internal
This is a local helper class for the RunTestOn and SkipTestOn annotation.
TestOn() - Constructor for class patterntesting.runtime.junit.internal.TestOn
 
TestThread - Annotation Type in patterntesting.annotation.concurrent
Mark methods for thread testing with this annotation.
ThreadSafe - Annotation Type in patterntesting.annotation.concurrent
If a class is developped "tread-safe" you can use this annotation to document it.
ThreadUtil - Class in patterntesting.runtime.util
The Class ThreadUtil.
throwing(JoinPoint, Throwable) - Static method in class patterntesting.runtime.log.Trace
Logs the thrown exception.
toAbsolutePath(URI) - Static method in class patterntesting.runtime.util.Converter
Converts an URI into a file and returns it as absolute pathname.
toCsvHeadline() - Method in class patterntesting.runtime.monitor.JamonMonitor
 
toCsvHeadline() - Method in interface patterntesting.runtime.monitor.ProfileMonitor
To csv headline.
toCsvHeadline() - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
To csv headline.
toCsvString() - Method in class patterntesting.runtime.monitor.JamonMonitor
 
toCsvString() - Method in interface patterntesting.runtime.monitor.ProfileMonitor
To csv string.
toCsvString() - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
To csv string.
toDate(String) - Static method in class patterntesting.runtime.util.Converter
Converts a string to a date by trying different date patterns.
toDate(String, String) - Static method in class patterntesting.runtime.util.Converter
Converts a string to a date with the help of the given pattern.
toFile(URI) - Static method in class patterntesting.runtime.util.Converter
Converts an URI into a file.
toFile(String) - Static method in class patterntesting.runtime.util.Converter
Converts an URI into a file.
toLongString(Object) - Static method in class patterntesting.runtime.util.Converter
Converts an object into a long representation as the normal toString method.
toLongString(Map<?, ?>) - Static method in class patterntesting.runtime.util.Converter
If you want to print the system properties as key-value pairs (e.g.
toLongString(Object[]) - Static method in class patterntesting.runtime.util.Converter
If you want to print each element of an array into a single line you can use this method here.
toLongString(StackTraceElement[]) - Static method in class patterntesting.runtime.util.Converter
This implementation prints the stacktrace in a similar way as the printStacktrace method of Throwable does it.
toLongString() - Method in class patterntesting.runtime.util.ObjectInspector
To long string.
toLongString() - Method in class patterntesting.runtime.util.reflect.ConstructorSignatureImpl
To long string.
toLongString() - Method in class patterntesting.runtime.util.reflect.MethodSignatureImpl
To long string.
toResource(Class<?>) - Static method in class patterntesting.runtime.util.Converter
To resource.
toResource(Package) - Static method in class patterntesting.runtime.util.Converter
To resource.
toShortString() - Method in class patterntesting.runtime.monitor.JamonMonitor
 
toShortString() - Method in interface patterntesting.runtime.monitor.ProfileMonitor
To short string.
toShortString() - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
To short string.
toShortString(Object) - Static method in class patterntesting.runtime.util.Converter
Converts an object to its toString representation.
toShortString(Number) - Static method in class patterntesting.runtime.util.Converter
To short string.
toShortString(Object[]) - Static method in class patterntesting.runtime.util.Converter
To short string.
toShortString() - Method in class patterntesting.runtime.util.reflect.ConstructorSignatureImpl
To short string.
toShortString() - Method in class patterntesting.runtime.util.reflect.MethodSignatureImpl
To short string.
toShortString(Field) - Static method in class patterntesting.runtime.util.ReflectionHelper
To short string.
toShortString(Collection<Field>) - Static method in class patterntesting.runtime.util.ReflectionHelper
To short string.
toSortedSet(Enumeration<?>) - Static method in class patterntesting.runtime.util.Converter
Converts an Enumeration into a SortedSet.
toString() - Method in class patterntesting.runtime.io.BetterFileInputStream
This toString implementation reports the name of the input file which is much more helpful than the default implementation of Object.toString(), especially for logging and debugging.
toString() - Method in class patterntesting.runtime.io.BetterFileOutputStream
This toString implementation reports the name of the output file which is much more helpful than the default implementation of Object.toString(), especially for logging and debugging.
toString() - Method in class patterntesting.runtime.junit.internal.ProfiledStatement
Returns the name of the method with the measured times.
toString() - Method in class patterntesting.runtime.junit.internal.SmokeFilter
Prints the description of this filter.
toString() - Method in class patterntesting.runtime.log.AbstractLogger
To string.
toString() - Method in class patterntesting.runtime.log.LogRecorder
To string.
toString() - Method in class patterntesting.runtime.log.LogWatch
To string.
toString() - Method in class patterntesting.runtime.log.ObjectPlayer
To string.
toString() - Method in class patterntesting.runtime.monitor.ClasspathDigger
Puts also the classloader in the toString representation.
toString() - Method in class patterntesting.runtime.monitor.ClasspathMonitor
We don't want to use the toString() implementation of the Thread class so we use our own one.
toString() - Method in class patterntesting.runtime.monitor.db.ConnectionMonitor
To string.
toString() - Method in class patterntesting.runtime.monitor.db.internal.StasiPreparedStatement
We want to return the real SQL as string represenation.
toString() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
A toString implementation which supports and logging.
toString() - Method in class patterntesting.runtime.monitor.db.ProxyConnection
To string.
toString() - Method in class patterntesting.runtime.monitor.db.ProxyDriver
Better toString implementation which supports logging and debugging.
toString() - Method in class patterntesting.runtime.monitor.JamonMonitor
To string.
toString() - Method in class patterntesting.runtime.monitor.ProfileStatistic
To string.
toString() - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
To string.
toString() - Method in class patterntesting.runtime.util.ArchivEntry
To string.
toString(Object) - Static method in class patterntesting.runtime.util.Converter
Converts an object into its string representation.
toString(Enumeration<?>) - Static method in class patterntesting.runtime.util.Converter
To string.
toString(Object[]) - Static method in class patterntesting.runtime.util.Converter
An empty array or null is mapped to "" (empty string).
toString(Date, String) - Static method in class patterntesting.runtime.util.Converter
Converts a date to string using the default locale.
toString(Date, String, Locale) - Static method in class patterntesting.runtime.util.Converter
Converts a date to string using the default locale.
toString() - Method in class patterntesting.runtime.util.ObjectInspector
Dumps all attributes of the inspected object in the form attribute=value.
toString() - Method in class patterntesting.runtime.util.reflect.ConstructorSignatureImpl
To string.
toString() - Method in class patterntesting.runtime.util.reflect.MethodSignatureImpl
To string.
toString() - Method in class patterntesting.runtime.util.regex.TypePattern
To string.
toStringArray(Object[]) - Static method in class patterntesting.runtime.util.Converter
Each object inside the array is converted into its toString() representation.
toStringArray(Set<? extends Object>) - Static method in class patterntesting.runtime.util.Converter
Each object inside the Set is converted into its toString() representation.
toURI() - Method in class patterntesting.runtime.util.ArchivEntry
To uri.
toURI(URL) - Static method in class patterntesting.runtime.util.Converter
If a URL contains illegal characters for an URI (like blanks) this should be automatically converted (e.g. to "%20")
toURI(String) - Static method in class patterntesting.runtime.util.Converter
If a URL contains illegal characters for an URI (like blanks) this should be automatically converted (e.g. to "%20")
trace(String) - Method in class patterntesting.runtime.log.LogRecorder
Trace.
trace(String, Throwable) - Method in class patterntesting.runtime.log.LogRecorder
Trace.
trace(String, Object) - Method in class patterntesting.runtime.log.LogRecorder
Trace.
trace(String, Object...) - Method in class patterntesting.runtime.log.LogRecorder
Trace.
trace(Marker, String) - Method in class patterntesting.runtime.log.LogRecorder
Trace.
trace(String, Object, Object) - Method in class patterntesting.runtime.log.LogRecorder
Trace.
trace(Marker, String, Object) - Method in class patterntesting.runtime.log.LogRecorder
Trace.
trace(Marker, String, Object...) - Method in class patterntesting.runtime.log.LogRecorder
Trace.
trace(Marker, String, Throwable) - Method in class patterntesting.runtime.log.LogRecorder
Trace.
trace(Marker, String, Object, Object) - Method in class patterntesting.runtime.log.LogRecorder
Trace.
trace(String, Object...) - Method in class patterntesting.runtime.log.PerfLogger
Trace.
Trace - Class in patterntesting.runtime.log
This class works together with the (Abstract)TraceAspect to provide some kind of tracing information.
trace(JoinPoint) - Static method in class patterntesting.runtime.log.Trace
Logs the trace with a "|" sign.
TraceMe - Annotation Type in patterntesting.runtime.annotation
You want to trace a method or class because you don't want (or can't) call the debugger?
TypePattern - Class in patterntesting.runtime.util.regex
A type pattern which matches patterns like "java..*" (all tpyes of the JDK).
TypePattern(String) - Constructor for class patterntesting.runtime.util.regex.TypePattern
Instantiates a new type pattern.

U

Unit - Annotation Type in patterntesting.runtime.jmx
This annotation can be used inside MBean interfaces to document the unit of an attribute.
unregisterAsMBean() - Method in interface patterntesting.runtime.jmx.MBeanRegistry
Unregisters the MBean from the MBean server.
unregisterMBean(String) - Static method in class patterntesting.runtime.jmx.MBeanHelper
Unregister m bean.
UnsupportedOperation - Annotation Type in patterntesting.runtime.annotation
This is similar to the @NotYetImplemented annotation.
unwrap(Class<T>) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Unwrap.
unwrap(Class<T>) - Method in class patterntesting.runtime.monitor.db.internal.StasiStatement
Unwrap.
updateArray(int, Array) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update array.
updateArray(String, Array) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update array.
updateAsciiStream(int, InputStream, int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update ascii stream.
updateAsciiStream(int, InputStream, long) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update ascii stream.
updateAsciiStream(int, InputStream) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update ascii stream.
updateAsciiStream(String, InputStream, int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update ascii stream.
updateAsciiStream(String, InputStream, long) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update ascii stream.
updateAsciiStream(String, InputStream) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update ascii stream.
updateBigDecimal(int, BigDecimal) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update big decimal.
updateBigDecimal(String, BigDecimal) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update big decimal.
updateBinaryStream(int, InputStream, int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update binary stream.
updateBinaryStream(int, InputStream, long) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update binary stream.
updateBinaryStream(int, InputStream) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update binary stream.
updateBinaryStream(String, InputStream, int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update binary stream.
updateBinaryStream(String, InputStream, long) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update binary stream.
updateBinaryStream(String, InputStream) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update binary stream.
updateBlob(int, Blob) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update blob.
updateBlob(int, InputStream, long) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update blob.
updateBlob(int, InputStream) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update blob.
updateBlob(String, Blob) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update blob.
updateBlob(String, InputStream, long) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update blob.
updateBlob(String, InputStream) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update blob.
updateBoolean(int, boolean) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update boolean.
updateBoolean(String, boolean) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update boolean.
updateByte(int, byte) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update byte.
updateByte(String, byte) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update byte.
updateBytes(int, byte[]) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update bytes.
updateBytes(String, byte[]) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update bytes.
updateCharacterStream(int, Reader, int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update character stream.
updateCharacterStream(int, Reader, long) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update character stream.
updateCharacterStream(int, Reader) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update character stream.
updateCharacterStream(String, Reader, int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update character stream.
updateCharacterStream(String, Reader, long) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update character stream.
updateCharacterStream(String, Reader) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update character stream.
updateClob(int, Clob) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update clob.
updateClob(int, Reader, long) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update clob.
updateClob(int, Reader) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update clob.
updateClob(String, Clob) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update clob.
updateClob(String, Reader, long) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update clob.
updateClob(String, Reader) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update clob.
updateDate(int, Date) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update date.
updateDate(String, Date) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update date.
updateDouble(int, double) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update double.
updateDouble(String, double) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update double.
updateFloat(int, float) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update float.
updateFloat(String, float) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update float.
updateInt(int, int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update int.
updateInt(String, int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update int.
updateLong(int, long) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update long.
updateLong(String, long) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update long.
updateNCharacterStream(int, Reader, long) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update n character stream.
updateNCharacterStream(int, Reader) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update n character stream.
updateNCharacterStream(String, Reader, long) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update n character stream.
updateNCharacterStream(String, Reader) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update n character stream.
updateNClob(int, NClob) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update n clob.
updateNClob(int, Reader, long) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update n clob.
updateNClob(int, Reader) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update n clob.
updateNClob(String, NClob) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update n clob.
updateNClob(String, Reader, long) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update n clob.
updateNClob(String, Reader) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update n clob.
updateNString(int, String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update n string.
updateNString(String, String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update n string.
updateNull(int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update null.
updateNull(String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update null.
updateObject(int, Object, int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update object.
updateObject(int, Object) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update object.
updateObject(String, Object, int) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update object.
updateObject(String, Object) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update object.
updateRef(int, Ref) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update ref.
updateRef(String, Ref) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update ref.
updateRow() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update row.
updateRowId(int, RowId) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update row id.
updateRowId(String, RowId) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update row id.
updateShort(int, short) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update short.
updateShort(String, short) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update short.
updateSQLXML(int, SQLXML) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update sqlxml.
updateSQLXML(String, SQLXML) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update sqlxml.
updateString(int, String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update string.
updateString(String, String) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update string.
updateTime(int, Time) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update time.
updateTime(String, Time) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update time.
updateTimestamp(int, Timestamp) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update timestamp.
updateTimestamp(String, Timestamp) - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Update timestamp.
USER_NAME - Static variable in class patterntesting.runtime.util.Environment
User (e.g.

V

ValueNotFoundException - Exception in patterntesting.runtime.util
The Class ValueNotFoundException.
ValueNotFoundException(String) - Constructor for exception patterntesting.runtime.util.ValueNotFoundException
Instantiates a new value not found exception.
ValueNotFoundException(Object) - Constructor for exception patterntesting.runtime.util.ValueNotFoundException
Instantiates a new value not found exception.

W

warn(String) - Method in class patterntesting.runtime.log.LogRecorder
Warn.
warn(String, Throwable) - Method in class patterntesting.runtime.log.LogRecorder
Warn.
warn(String, Object) - Method in class patterntesting.runtime.log.LogRecorder
Warn.
warn(String, Object...) - Method in class patterntesting.runtime.log.LogRecorder
Warn.
warn(Marker, String) - Method in class patterntesting.runtime.log.LogRecorder
Warn.
warn(String, Object, Object) - Method in class patterntesting.runtime.log.LogRecorder
Warn.
warn(Marker, String, Object) - Method in class patterntesting.runtime.log.LogRecorder
Warn.
warn(Marker, String, Object...) - Method in class patterntesting.runtime.log.LogRecorder
Warn.
warn(Marker, String, Throwable) - Method in class patterntesting.runtime.log.LogRecorder
Warn.
warn(Marker, String, Object, Object) - Method in class patterntesting.runtime.log.LogRecorder
Warn.
warn(String, Object...) - Method in class patterntesting.runtime.log.PerfLogger
Warn.
wasNull() - Method in class patterntesting.runtime.monitor.db.internal.StasiResultSet
Was null.
whichClass(String) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Which class.
whichClass(Class<?>) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Where is the given class found in the classpath?
whichClass(String) - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
Looks if the given classname can be found in the classpath.
whichClassJar(Class<?>) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Which class jar.
whichClassJar(String) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Which class jar.
whichClassPath(String) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Returns the jar file or path where the given classname was found.
whichClassPath(Class<?>) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Returns the jar file or path where the given class was found.
whichClassPath(Package) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Which class path.
whichResource(String) - Method in class patterntesting.runtime.monitor.ClasspathDigger
Returns the URI of the given resource and the given classloader.
whichResource(String, ClassLoader) - Static method in class patterntesting.runtime.monitor.ClasspathDigger
Returns the URI of the given resource and the given classloader.
whichResource(String) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Which resource.
whichResource(String) - Method in interface patterntesting.runtime.monitor.ClasspathMonitorMBean
Looks if the given resource can be found in the classpath.
whichResourceJar(String) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Which resource jar.
whichResourceJar(URI) - Static method in class patterntesting.runtime.monitor.ClasspathMonitor
Which resource jar.
whichResourcePath(String) - Method in class patterntesting.runtime.monitor.ClasspathMonitor
Returns the jar file or path where the given resource was found.
withAfterClasses(Statement) - Method in class patterntesting.runtime.junit.SmokeRunner
Checks the annotation of the method marked as "@AfterClass" and add (or filters out) the afterClass method (needed to solve.
withBeforeClasses(Statement) - Method in class patterntesting.runtime.junit.SmokeRunner
Checks the annotation of the method marked as "@BeforeClass" and add (or filters out) the beforeClass method (needed to solve.

X

XrayClassLoader - Class in patterntesting.runtime.experimental
If we want to load a class and see what happens if another class (needed by the original class) is missing we need a class loader where we can control the classpath and other things.
XrayClassLoader() - Constructor for class patterntesting.runtime.experimental.XrayClassLoader
 
XStreamSerializer - Class in patterntesting.runtime.io
This is a thin wrapper around the XStream class and xstream library.
XStreamSerializer() - Constructor for class patterntesting.runtime.io.XStreamSerializer
 

A B C D E F G H I J L M N O P R S T U V W X

Copyright © 2002–2014 PatternTesting Team. All rights reserved.