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

A

AbstractDigger - Class in patterntesting.runtime.monitor.internal
The Class AbstractDigger was extracted from ClasspathDigger and ResourcepathDigger.
AbstractDigger() - Constructor for class patterntesting.runtime.monitor.internal.AbstractDigger
 
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
The Class AbstractProfileMonitor.
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
 
AbstractTester - Class in patterntesting.runtime.junit
This is the common superclass for some tester classes defined in this package.
AbstractTester() - Constructor for class patterntesting.runtime.junit.AbstractTester
Utility class - no need to instantiate it.
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
Adds the.
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.db.SqlStatistic
Deprecated.
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.
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
Deprecated.
Adds the connection to the list of open connections.
addMonitor(String) - Method in class patterntesting.runtime.monitor.ProfileMonitorFactory
Adds the monitor.
addMonitors(List<String>) - Method in class patterntesting.runtime.monitor.JamonMonitorFactory
Adds the monitors.
addMonitors(List<String>) - Method in class patterntesting.runtime.monitor.ProfileMonitorFactory
Adds the monitors.
addMonitors(List<String>) - Method in class patterntesting.runtime.monitor.SimpleProfileMonitorFactory
Adds the monitors.
addStatement(DrawStatement) - Method in class patterntesting.runtime.log.internal.SequenceDiagramWriter
Adds a statement.
addStatements(Collection<DrawStatement>) - Method in class patterntesting.runtime.log.internal.SequenceDiagramWriter
Adds the statements.
AGENT_MBEAN - Static variable in class patterntesting.runtime.monitor.internal.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.
and(StringConverter...) - Method in class patterntesting.runtime.util.StringConverter
With this method you can combine several converters.
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(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.
ArrayTester - Class in patterntesting.runtime.junit
If you want to assert that the content of two arrays are equals use this tester here.
assertAll(Class<? extends T>) - 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<? extends T>>) - 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, Pattern...) - 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.
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<? extends 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.
assertCloning(Package, Pattern...) - 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, Pattern...) - 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<? extends 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(Package, Pattern...) - 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, Pattern...) - 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
Deprecated.
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, StringConverter) - Static method in class patterntesting.runtime.junit.FileTester
Asserts that the content of two files are equal.
assertContentEquals(File, File, Charset, StringConverter) - Static method in class patterntesting.runtime.junit.FileTester
Asserts that the content of two files are equal.
assertContentEquals(File, File, StringConverter, Pattern...) - Static method in class patterntesting.runtime.junit.FileTester
Asserts that the content of two files are equal.
assertContentEquals(File, File, Charset, StringConverter, Pattern...) - 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(Reader, Reader, StringConverter) - 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.
assertContentEquals(Reader, Reader, StringConverter, Pattern[]) - Static method in class patterntesting.runtime.junit.IOTester
Asserts that the content of two Readers are equal.
assertContentEquals(LineReader, LineReader, StringConverter, 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(Object[], Object[]) - Static method in class patterntesting.runtime.junit.ArrayTester
Checks if each object in array a1 is equals to that of array a2.
assertEquals(byte[], byte[]) - Static method in class patterntesting.runtime.junit.ArrayTester
Checks if each object in array a1 is equals to that of array a2.
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<? extends T>>) - 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.
assertEquals(Package, Pattern...) - 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, Pattern...) - Static method in class patterntesting.runtime.junit.ObjectTester
Check for each class in the given package if the equals() method is implemented correct.
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.
assertExists(URI) - Static method in class patterntesting.runtime.junit.NetworkTester
Asserts, that the given URI exists and is reachable.
assertExists(URL) - Static method in class patterntesting.runtime.junit.NetworkTester
Asserts, that the given URL exists and is reachable.
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.
assertImmutable(Class<? extends Object>) - Static method in class patterntesting.runtime.junit.ImmutableTester
Assert that a class is immutable.
assertImmutable(Package) - Static method in class patterntesting.runtime.junit.ImmutableTester
Check for each class with the Immutable annotation if it is really (strict) Immutable and has on non-final field.
assertImmutable(Package, Class<?>...) - Static method in class patterntesting.runtime.junit.ImmutableTester
Check for each class with the Immutable annotation if it is really (strict) Immutable and has on non-final field.
assertImmutable(Collection<Class<? extends Object>>) - Static method in class patterntesting.runtime.junit.ImmutableTester
Checks for each class in the given collection if it is immutable.
assertImmutableOfPackage(String) - Static method in class patterntesting.runtime.junit.ImmutableTester
Check for each class with the Immutable annotation if it is really (strict) Immutable and has on non-final field.
assertImmutableOfPackage(String, Class<?>...) - Static method in class patterntesting.runtime.junit.ImmutableTester
Check for each class with the Immutable annotation if it is really (strict) Immutable and has on non-final field.
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.
assertNoFinalTransientAttribute(Class<? extends Serializable>) - Static method in class patterntesting.runtime.junit.SerializableTester
Serializable classes must not have final transient attributes.
assertNotEmpty(String) - Static method in class patterntesting.runtime.junit.StringTester
Check if the given string is not null and not empty.
assertNotEquals(Object, Object) - Static method in class patterntesting.runtime.junit.ObjectTester
Checks if the two given objects are really not equals.
assertOffline(String) - Static method in class patterntesting.runtime.junit.NetworkTester
Asserts, that the given host is offline.
assertOffline(String, int, TimeUnit) - Static method in class patterntesting.runtime.junit.NetworkTester
Asserts, that the given host is offline.
assertOffline(String, int) - Static method in class patterntesting.runtime.junit.NetworkTester
Asserts, that the port of the given host is offline.
assertOffline(InetSocketAddress) - Static method in class patterntesting.runtime.junit.NetworkTester
Asserts, that the socket address is offline.
assertOffline(InetAddress) - Static method in class patterntesting.runtime.junit.NetworkTester
Asserts, that the given host is offline.
assertOffline(InetAddress, int, TimeUnit) - Static method in class patterntesting.runtime.junit.NetworkTester
Asserts, that the given host is offline.
assertOffline(InetAddress, int) - Static method in class patterntesting.runtime.junit.NetworkTester
Asserts, that the port of the given host is offline.
assertOnline(String) - Static method in class patterntesting.runtime.junit.NetworkTester
Asserts, that the given host is online.
assertOnline(String, int, TimeUnit) - Static method in class patterntesting.runtime.junit.NetworkTester
Asserts, that the given host is online.
assertOnline(String, int) - Static method in class patterntesting.runtime.junit.NetworkTester
Asserts, that the given host is online at the given port.
assertOnline(InetSocketAddress) - Static method in class patterntesting.runtime.junit.NetworkTester
Asserts, that the socket address is online.
assertOnline(InetAddress) - Static method in class patterntesting.runtime.junit.NetworkTester
Asserts, that the given host is online.
assertOnline(InetAddress, int, TimeUnit) - Static method in class patterntesting.runtime.junit.NetworkTester
Asserts, that the given host is online.
assertOnline(InetAddress, int) - Static method in class patterntesting.runtime.junit.NetworkTester
Asserts, that the given host is online at the given port.
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

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

ClassloaderException - Exception in patterntesting.runtime.exception
If you have some problems with the ClassLoader you can use this exception here for throwing.
ClassloaderException(ClassLoader, String, Throwable) - Constructor for exception patterntesting.runtime.exception.ClassloaderException
Instantiates a new classloader exception.
ClassloaderType - Enum in patterntesting.runtime.monitor
This enum type can detect if a classloader is a Tomcat, WebLogic or Websphere classloader.
ClasspathDigger - Class in patterntesting.runtime.monitor.internal
This helper class digs into the classloader for information like used classpath and other things.
ClasspathDigger() - Constructor for class patterntesting.runtime.monitor.internal.ClasspathDigger
Instantiates a new classpath digger.
ClasspathDigger(ClassLoader) - Constructor for class patterntesting.runtime.monitor.internal.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
Deprecated.
replaced by clazzfish.monitor.ClasspathMonitor
ClasspathMonitor() - Constructor for class patterntesting.runtime.monitor.ClasspathMonitor
Deprecated.
Instantiates a new classpath monitor.
ClassTester - Class in patterntesting.runtime.junit
This tester examines classes.
ClassTester(String) - Constructor for class patterntesting.runtime.junit.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.internal
The Class ClassWalker.
ClassWalker(File) - Constructor for class patterntesting.runtime.monitor.internal.ClassWalker
Instantiates a new class walker.
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.io.FileInputStreamReader
Close.
close() - Method in class patterntesting.runtime.log.AbstractLogger
Closes the stream with the logged objects.
close() - Method in class patterntesting.runtime.log.internal.SequenceDiagramWriter
Close quietly.
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.
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".
ConnectionMonitor - Class in patterntesting.runtime.monitor.db
Deprecated.
since 2.0, use ConnectionMonitor
ConnectionMonitor() - Constructor for class patterntesting.runtime.monitor.db.ConnectionMonitor
Deprecated.
No need to instantiate it - we provide only some services.
ConnectionMonitorMBean - Interface in patterntesting.runtime.monitor.db
Deprecated.
since 2.0, use ConnectionMonitorMBean
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.
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
The Class ContractViolation.
ContractViolation(Object) - Constructor for error patterntesting.runtime.dbc.ContractViolation
Instantiates a new contract violation.
convert(String) - Method in class patterntesting.runtime.util.StringConverter
This is the method for conversion.
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, JoinPoint.StaticPart) - 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.
createOutputStream() - Method in class patterntesting.runtime.io.ExtendedFile
Creates the output stream of the file.
createOutputStreamFor(File) - Static method in class patterntesting.runtime.io.ExtendedFile
Creates the output stream of the file.
createTabularDataSupport(CompositeType, String[]) - Static method in class patterntesting.runtime.jmx.MBeanHelper
Creates a TabularDataSupport object.
createTargetName(Object) - Static method in class patterntesting.runtime.log.internal.DrawStatement
Creates the target name depending on the given object.
createTempLogFile(String, String) - Static method in class patterntesting.runtime.log.AbstractLogger
Creates a file in the temp directory.
createTmpdir(String, String) - Static method in class patterntesting.runtime.io.ExtendedFile
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
The Interface DamnStaticVars.
DbC - Class in patterntesting.runtime.dbc
The Class DbC.
debug(String, Object...) - Method in class patterntesting.runtime.log.PerfLogger
Debug.
dependsOn(Class<?>) - Method in class patterntesting.runtime.junit.ClassTester
Checks if the stored class depends on another class.
dependsOn(String) - Method in class patterntesting.runtime.junit.ClassTester
Checks if the stored class depends on another class.
dependsOn(String, Class<?>) - Static method in class patterntesting.runtime.junit.ClassTester
Checks if the given class depends on another class.
Description - Annotation Type in patterntesting.runtime.jmx
With this annotation you can add a description to a MBean.
deserialize(Serializable) - Static method in class patterntesting.runtime.junit.SerializableTester
Serialiazes and deserializes the given object.
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.
DetailedInvalidClassException - Exception in patterntesting.runtime.exception
The problem with the InvalidClassException is that a constructor with a cause is missing.
DetailedInvalidClassException(String, Throwable) - Constructor for exception patterntesting.runtime.exception.DetailedInvalidClassException
Instantiates a new detailed invalid class exception.
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.
DoubletDigger - Class in patterntesting.runtime.monitor.internal
The DoubletDigger looks for classes which appears more than once in the classpath.
DoubletDigger(ClasspathDigger) - Constructor for class patterntesting.runtime.monitor.internal.DoubletDigger
Instantiates a new doublet digger.
DrawSequenceDiagram - Annotation Type in patterntesting.runtime.annotation
With this annotation you can control the generation of sequence diagrams.
DrawStatement - Class in patterntesting.runtime.log.internal
Internal class for caching the different draw statements.
DrawStatement(DrawType, String, JoinPoint.StaticPart) - Constructor for class patterntesting.runtime.log.internal.DrawStatement
Instantiates a new draw statement of type 'PLACE_HOLDER'.
DrawStatement(DrawType, String, String) - Constructor for class patterntesting.runtime.log.internal.DrawStatement
Instantiates a new draw statement of type 'ACTOR' or 'OBJECT'.
DrawStatement(String, Object, String, JoinPoint.StaticPart) - Constructor for class patterntesting.runtime.log.internal.DrawStatement
Instantiates a new draw statement.
DrawStatement(String, String, JoinPoint.StaticPart, Object[]) - Constructor for class patterntesting.runtime.log.internal.DrawStatement
Instantiates a new draw statement.
DrawStatement(String, String, Object, JoinPoint.StaticPart) - Constructor for class patterntesting.runtime.log.internal.DrawStatement
Instantiates a new draw statement.
DrawType - Enum in patterntesting.runtime.log.internal
The different types of drawings.
dumpStatistic() - Method in class patterntesting.runtime.monitor.db.SqlStatistic
Deprecated.
Dump statistic.
dumpStatistic(String) - Method in class patterntesting.runtime.monitor.db.SqlStatistic
Deprecated.
This operation dumps the statistic to the given file.
dumpStatistic() - Method in class patterntesting.runtime.monitor.ProfileStatistic
Dump statistic to a file in the temporary directory.
dumpStatistic(String) - Method in class patterntesting.runtime.monitor.ProfileStatistic
This operation dumps the statistic to the given file.
dumpStatistic() - Method in interface patterntesting.runtime.monitor.ProfileStatisticMBean
Dump statistic.
dumpStatistic(String) - Method in interface patterntesting.runtime.monitor.ProfileStatisticMBean
This operation dumps the statistic to the given file.
dumpStatisticTo(File) - Method in class patterntesting.runtime.monitor.ProfileStatistic
Dump statistic to the given file.

E

ECHO - Static variable in class patterntesting.runtime.util.StringConverter
This converter echoes only the input string.
enable() - Method in class patterntesting.runtime.monitor.JamonMonitor
Enable.
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 ("<").
endsWith(File) - Method in class patterntesting.runtime.io.ExtendedFile
With this method you can ask if a file ends with the given extension.
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.
Environment() - Constructor for class patterntesting.runtime.util.Environment
To be able to use different "environment" this class can now be sub-classed.
equals(Object) - Method in class patterntesting.runtime.io.ExtendedFile
Comparing two files is not so easy as it seems to be.
equals(Object) - Method in class patterntesting.runtime.io.FileInputStreamReader
Equals.
equals(Object) - Method in class patterntesting.runtime.log.internal.DrawStatement
Equals.
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(Object) - Method in class patterntesting.runtime.monitor.JamonMonitor
Tests if given object is equal.
equals(Object) - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
Only two monitors of the same instance can be equals.
equals(Object) - Method in class patterntesting.runtime.util.ArchivEntry
If two entries with the same resource or class name have a different size or not the same byte code they are considered as not equal.
error(String, Object...) - Method in class patterntesting.runtime.log.PerfLogger
Error.
evaluateExecutionCondition(ExtensionContext) - Method in class patterntesting.runtime.junit.extension.IntegrationTestExtension
 
evaluateExecutionCondition(ExtensionContext) - Method in class patterntesting.runtime.junit.extension.SmokeTestExtension
 
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.
exists(URI) - Static method in class patterntesting.runtime.junit.NetworkTester
Checks, if the given URI exists and is reachable.
exists(URL) - Static method in class patterntesting.runtime.junit.NetworkTester
Checks, if the given URL exists and is reachable.
ExtendedFile - Class in patterntesting.runtime.io
This is the extended version of the File class.
ExtendedFile(File) - Constructor for class patterntesting.runtime.io.ExtendedFile
Instantiates a new extended file.
ExtendedFile(String) - Constructor for class patterntesting.runtime.io.ExtendedFile
Instantiates a new extended file.
ExtendedFile(File, String) - Constructor for class patterntesting.runtime.io.ExtendedFile
Instantiates a new extended file.
ExtendedFile(String, String) - Constructor for class patterntesting.runtime.io.ExtendedFile
Instantiates a new extended file.
ExtendedFile(URI) - Constructor for class patterntesting.runtime.io.ExtendedFile
Instantiates a new extended file.
ExtendedFile(File, File) - Constructor for class patterntesting.runtime.io.ExtendedFile
Instantiates a new extended file.

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
 
FileInputStreamReader - Class in patterntesting.runtime.io
The Class FileInputStreamReader.
FileInputStreamReader(File, Charset) - Constructor for class patterntesting.runtime.io.FileInputStreamReader
Instantiates a new file input stream reader.
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.junit.internal.XrayClassLoader
Find class.
findConstructor(Class<?>) - Static method in class patterntesting.runtime.util.StackTraceScanner
Find the constructor of the given class on the stack trace.
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.
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.
getArgs() - Method in class patterntesting.runtime.log.internal.DrawStatement
Gets the args.
getArgsAsShortString(Object[]) - Static method in class patterntesting.runtime.util.JoinPointHelper
Gets the args as short string.
getArgsAsString() - Method in class patterntesting.runtime.log.internal.DrawStatement
Gets the args as string.
getArgsAsString(Object[]) - Static method in class patterntesting.runtime.util.JoinPointHelper
Gets the args as string.
getAsLongString(JoinPoint) - Static method in class patterntesting.runtime.util.JoinPointHelper
Gets the as long string.
getAsObjectName(String) - Static method in class patterntesting.runtime.jmx.MBeanHelper
Gets a class as ObjectName.
getAsObjectName(Class<?>) - Static method in class patterntesting.runtime.jmx.MBeanHelper
Gets a class as ObjectName.
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.
getBaseDir(File) - Method in class patterntesting.runtime.io.ExtendedFile
Returns the base of the given file.
getBootClasspath() - Method in class patterntesting.runtime.monitor.internal.ClasspathDigger
To get the boot classpath the sytem property "sun.boot.class.path" is used to get them.
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.
getBytes() - Method in class patterntesting.runtime.util.ArchivEntry
Gets the bytes.
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() - 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
Deprecated.
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.
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.
getCause() - Method in error patterntesting.runtime.exception.DetailedAssertionError
Gets the cause.
getCause() - Method in exception patterntesting.runtime.exception.NotFoundException
Gets the stored cause.
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.internal.ClasspathDigger
Digs into the classpath and returns the found classes.
getClasses() - Method in class patterntesting.runtime.monitor.internal.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".
getClassLoader() - Method in class patterntesting.runtime.monitor.internal.ClasspathDigger
Gets the class loader.
getClassLoader() - Static method in class patterntesting.runtime.util.Environment
Gets the class loader.
getClassName() - Method in class patterntesting.runtime.junit.ClassTester
Gets the class name.
getClasspath() - Method in class patterntesting.runtime.monitor.internal.ClasspathDigger
We can use the system property "java.class.path" to get the classpath.
getClasspath(String) - Static method in class patterntesting.runtime.monitor.internal.ClasspathDigger
Gets the classpath.
getClasspathFrom(ClassLoader) - Method in enum patterntesting.runtime.monitor.ClassloaderType
Gets the classpath from.
getClasspathFromPackages() - Method in class patterntesting.runtime.monitor.internal.ClasspathDigger
Here we use the loaded packages to calculate the classpath.
getCloneOf(Cloneable) - Static method in class patterntesting.runtime.junit.CloneableTester
Gets the clone of the given Cloneable object.
getConstructor() - Method in class patterntesting.runtime.util.reflect.ConstructorSignatureImpl
Gets the constructor.
getCurrentClassloaderType() - Static method in enum patterntesting.runtime.monitor.ClassloaderType
Looks, what type of classloader the current thread is using.
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.
getDependencies() - Method in class patterntesting.runtime.junit.ClassTester
Gets the dependencies of the class name.
getDependenciesOf(String) - Static method in class patterntesting.runtime.junit.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 of a @Description annotation.
getDescription(MBeanAttributeInfo) - Method in class patterntesting.runtime.jmx.AnnotatedStandardMBean
Gets the description.
getDoublet(String, int) - Method in class patterntesting.runtime.monitor.internal.DoubletDigger
Gets the doublet.
getDoublet(Class<?>, int) - Method in class patterntesting.runtime.monitor.internal.DoubletDigger
Gets the doublet.
getDoubletClasses() - Method in class patterntesting.runtime.monitor.internal.DoubletDigger
Gets the doublets.
getDoubletClassList() - Method in class patterntesting.runtime.monitor.internal.DoubletDigger
Gets the doublet list.
getDoubletListParallel() - Method in class patterntesting.runtime.monitor.internal.DoubletDigger
This was an experiment in v0.9.7: can we tune getDoubleList() by using thread techniques like consumer-/producer-pattern?
getDoubletListSerial() - Method in class patterntesting.runtime.monitor.internal.DoubletDigger
Looks for each loaded class if it is a doublet or not.
getDoubletResourceList() - Method in class patterntesting.runtime.monitor.internal.DoubletDigger
Gets the doublet list.
getDoubletResources() - Method in class patterntesting.runtime.monitor.internal.DoubletDigger
Gets the doublet resources.
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.
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.
getFileArchiv() - Method in class patterntesting.runtime.util.ArchivEntry
Gets the file archiv.
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.
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.
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.
getId(Object) - Static method in class patterntesting.runtime.util.ReflectionHelper
Gets the id of the given object.
getIncompatibleResourcepathURIs() - Method in class patterntesting.runtime.monitor.ResourcepathMonitor
Deprecated.
Gets the classpath which contains incompatible resources.
getInetAddresses() - Static method in class patterntesting.runtime.net.Localhost
Returns all local IP addresses.
getInfos() - Method in class patterntesting.runtime.jmx.Info
Gets the properties, but sorted and as map.
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
Deprecated.
Yes, it is a Singleton because it offers only some services.
getInstance() - Static method in class patterntesting.runtime.monitor.db.ConnectionMonitor
Deprecated.
Yes, it is a Singleton because it offers only some services.
getInstance() - Static method in class patterntesting.runtime.monitor.db.SqlStatistic
Deprecated.
Gets the single instance of SqlStatistic.
getInstance() - Static method in class patterntesting.runtime.monitor.ProfileStatistic
Gets the single instance of ProfileStatistic.
getInstance() - Static method in class patterntesting.runtime.monitor.ResourcepathMonitor
Deprecated.
Yes, it is a Singleton because it offers only some services.
getJavaVendor() - Method in class patterntesting.runtime.util.Environment
Gets the java vendor.
getJavaVendor() - Method in class patterntesting.runtime.util.TestEnvironment
Gets the java vendor.
getJavaVersion() - Method in class patterntesting.runtime.util.Environment
Gets the java version.
getJavaVersion() - Method in class patterntesting.runtime.util.TestEnvironment
Gets the java version.
getJpInfo() - Method in class patterntesting.runtime.log.internal.DrawStatement
Gets the jp info.
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.
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.
getLevel() - Method in class patterntesting.runtime.log.LogRecorder
 
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.junit.internal.XrayClassLoader
Gets the loaded classed of this classloader here.
getLoadedClasses() - Method in class patterntesting.runtime.monitor.internal.ClasspathDigger
Returns a list of classes which were loaded by the given classloader.
getLoadedClassListFromAgent() - Method in class patterntesting.runtime.monitor.internal.ClasspathDigger
Gets the loaded class list from patterntesting-agent.
getLoadedPackageArray() - Method in class patterntesting.runtime.monitor.internal.ClasspathDigger
Returns the packages which were loaded by the classloader.
getLoadedResources() - Method in class patterntesting.runtime.monitor.internal.ClasspathDigger
Asks the classloader for the resources which it already loaded - either directly or because the corresponding package was already loaded.
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.
getManifest() - Method in class patterntesting.runtime.jmx.Info
Gets the manifest.
getManifestURI() - Method in class patterntesting.runtime.jmx.Info
Gets the manifest uri.
getManifestURI() - Method in interface patterntesting.runtime.jmx.InfoMBean
Gets the manifest URI.
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.
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.
getMaxNumMonitors() - Method in class patterntesting.runtime.monitor.JamonMonitorFactory
Gets the max num monitors.
getMaxNumMonitors(ProfileMonitor) - Static method in class patterntesting.runtime.monitor.JamonMonitorFactory
Gets the max num monintors.
getMaxNumMonitors() - Method in class patterntesting.runtime.monitor.ProfileMonitorFactory
Gets the max num monitors.
getMaxNumMonitors() - Method in class patterntesting.runtime.monitor.SimpleProfileMonitorFactory
Gets the max num monitors.
getMaxSize() - Method in class patterntesting.runtime.monitor.ProfileStatistic
Gets the max size.
getMaxSize() - Method in interface patterntesting.runtime.monitor.ProfileStatisticMBean
Gets the max size.
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(String) - Static method in class patterntesting.runtime.jmx.MBeanHelper
Because it is not so easy to construct a correct 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.
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.
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.
getModificationDate() - Method in class patterntesting.runtime.io.Resource
Gets the modification date of the resource.
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(String) - Method in class patterntesting.runtime.monitor.JamonMonitorFactory
Gets the monitor.
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(String) - Method in class patterntesting.runtime.monitor.ProfileMonitorFactory
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.
getMonitor(String) - Method in class patterntesting.runtime.monitor.SimpleProfileMonitorFactory
Gets the monitor.
getMonitoredConnection(Connection) - Static method in class patterntesting.runtime.monitor.db.ConnectionMonitor
Deprecated.
If you want to monitor the connection use this method.
getMonitors() - Method in class patterntesting.runtime.monitor.JamonMonitor
Gets the monitors.
getMonitors() - Method in class patterntesting.runtime.monitor.JamonMonitorFactory
Gets the monitors.
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.ProfileMonitorFactory
Gets the monitors (unsorted).
getMonitors() - Method in class patterntesting.runtime.monitor.ProfileStatistic
Gets the monitors (unsorted).
getMonitors() - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
Gets the monitors.
getMonitors() - Method in class patterntesting.runtime.monitor.SimpleProfileMonitorFactory
Gets the monitors.
getMonKey() - Method in class patterntesting.runtime.monitor.JamonMonitor
Gets the mon key.
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.
getNumberOfMonitors() - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
Gets the number of monitors.
getNumberOfRecords() - Method in class patterntesting.runtime.log.LogRecorder
Gets the number of records.
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.
getOsArch() - Method in class patterntesting.runtime.util.Environment
Gets the os arch.
getOsArch() - Method in class patterntesting.runtime.util.TestEnvironment
Gets the os arch.
getOsName() - Method in class patterntesting.runtime.util.Environment
Gets the os name.
getOsName() - Method in class patterntesting.runtime.util.TestEnvironment
Gets the os name.
getOsVersion() - Method in class patterntesting.runtime.util.Environment
Gets the os version.
getOsVersion() - Method in class patterntesting.runtime.util.TestEnvironment
Gets the os version.
getPackageArray() - Method in class patterntesting.runtime.monitor.internal.ClasspathDigger
Get all packages found in the classpath.
getPackages() - Method in class patterntesting.runtime.monitor.internal.ResourceWalker
Walk thru the directories and return it as packages.
getParameterAnnotations(JoinPoint) - Static method in class patterntesting.runtime.util.JoinPointHelper
Gets the parameter annotations.
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.
getParentExtendedFile() - Method in class patterntesting.runtime.io.ExtendedFile
Gets the parent as ExtendedFile.
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?
getProperties() - Method in class patterntesting.runtime.jmx.Info
Gets the properties.
getRange() - Method in class patterntesting.runtime.monitor.JamonMonitor
Gets the range.
getRealDriver(String) - Static method in class patterntesting.runtime.monitor.db.ProxyDriver
Deprecated.
Gets the real driver.
getRealDriverName(String) - Static method in class patterntesting.runtime.monitor.db.ProxyDriver
Deprecated.
Gets the real driver name of the underlying driver.
getRealURL(String) - Static method in class patterntesting.runtime.monitor.db.ProxyDriver
Deprecated.
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.
getResourcepathSet(Collection<String>) - Method in class patterntesting.runtime.monitor.internal.ClasspathDigger
Gets the resourcepathes which belongs to the given collection of resources.
getResources(String) - Method in class patterntesting.runtime.monitor.internal.AbstractDigger
Gets the resources of the given name.
getResources(String) - Method in class patterntesting.runtime.monitor.internal.ClasspathDigger
Gets the resources of the given name.
getResources() - Method in class patterntesting.runtime.monitor.internal.ResourcepathDigger
Digs into the classpath and returns the found resources.
getResources() - Method in class patterntesting.runtime.monitor.internal.ResourceWalker
Walk thru the directories and return all found file resources.
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.ProfileMonitorFactory
Gets the root monitor.
getRootMonitor() - Method in class patterntesting.runtime.monitor.ProfileStatistic
Gets the root monitor.
getSender() - Method in class patterntesting.runtime.log.internal.DrawStatement
Gets the sender.
getSize() - Method in class patterntesting.runtime.util.ArchivEntry
Gets the size.
getSizeOf(Class<Serializable>) - Static method in class patterntesting.runtime.junit.SerializableTester
Gets the size of of a newly created object of the given clazz.
getSizeOf(Serializable) - Static method in class patterntesting.runtime.junit.SerializableTester
Gets the size of the given object - this is the number of bytes the given object needs for serialization.
getSortedMonitors() - Method in class patterntesting.runtime.monitor.ProfileStatistic
Gets the sorted monitors.
getStatements() - Method in class patterntesting.runtime.log.internal.SequenceDiagramWriter
Gets the statements.
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.
getTarget() - Method in class patterntesting.runtime.log.internal.DrawStatement
Gets the target.
getText() - Method in class patterntesting.runtime.log.LogRecorder
Gets the text.
getTimeAsString(double) - Static method in class patterntesting.runtime.log.LogWatch
Gets the time as string with the corresponding unit.
getTimeAsString(double, Locale) - Static method in class patterntesting.runtime.log.LogWatch
Gets the time as string with the corresponding unit.
getTimeAsString(long) - Static method in class patterntesting.runtime.log.LogWatch
Gets the time as string with the corresponding unit.
getTimeAsString(long, Locale) - Static method in class patterntesting.runtime.log.LogWatch
Gets the time as string with the corresponding unit.
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.
getTmpdir(String) - Static method in class patterntesting.runtime.io.ExtendedFile
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.log.internal.DrawStatement
Gets the type.
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.
getUserName() - Method in class patterntesting.runtime.util.Environment
Gets the user name.
getUserName() - Method in class patterntesting.runtime.util.TestEnvironment
Gets the user name.
getVersion() - Method in class patterntesting.runtime.jmx.Info
Gets the version.
getVersion() - Method in interface patterntesting.runtime.jmx.InfoMBean
Gets the version of PatternTesting.
getWriter() - Method in class patterntesting.runtime.log.internal.SequenceDiagramWriter
Gets the writer.
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

handleDirectory(File, int, Collection<String>) - Method in class patterntesting.runtime.monitor.internal.ResourceWalker
Overridable callback method invoked to determine if a directory should be processed.
handleFile(File, int, Collection<String>) - Method in class patterntesting.runtime.monitor.internal.ResourceWalker
Handle file.
hasActor(String) - Method in class patterntesting.runtime.log.internal.DrawStatement
If the given name is part of any stored actor in this statement 'true' will be returned.
hasEntry() - Method in class patterntesting.runtime.util.ArchivEntry
Checks for entry.
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.
hasField(Object, String) - Static method in class patterntesting.runtime.util.ReflectionHelper
Returns true if the given object have a field with the given name.
hasField(Class<?>, String) - Static method in class patterntesting.runtime.util.ReflectionHelper
Returns true if the given class have a field with the given name.
hashCode() - Method in class patterntesting.runtime.io.ExtendedFile
Hash code.
hashCode() - Method in class patterntesting.runtime.io.FileInputStreamReader
Hash code.
hashCode() - Method in class patterntesting.runtime.log.internal.DrawStatement
Hash code.
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.monitor.SimpleProfileMonitor
Hash code.
hashCode() - Method in class patterntesting.runtime.util.ArchivEntry
Hash code.
hasId(Object) - Static method in class patterntesting.runtime.util.ReflectionHelper
Checks if the given object has something which looks like an id.
hasId(Class<?>) - Static method in class patterntesting.runtime.util.ReflectionHelper
Checks if the given class has something which looks like an id attribute.
hasListeners() - Method in class patterntesting.runtime.monitor.JamonMonitor
Checks for listeners.
hasMessage() - Method in class patterntesting.runtime.log.internal.DrawStatement
Checks for message.
hasMessageToLeft() - Method in class patterntesting.runtime.log.internal.DrawStatement
A message points to left, if the given senderName was created after the given targetName.
hasMessageToRight() - Method in class patterntesting.runtime.log.internal.DrawStatement
Checks for message to right.
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'.
hasSameSignatureAs(JoinPoint.StaticPart) - Method in class patterntesting.runtime.log.internal.DrawStatement
Checks if the given parameter has the same origin and source location as the DrawStatement.
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

IGNORE_WHITESPACES - Static variable in class patterntesting.runtime.util.StringConverter
Use this converter if you want to ignore white spaces.
IgnoreForSequenceDiagram - Annotation Type in patterntesting.runtime.annotation
With this annotation you can mark classes or methods which should not part of generated sequence diagram.
ImmutableTester - Class in patterntesting.runtime.junit
This is a utility class to test if a class is really (strict) Immuable.
ImmutableTester() - Constructor for class patterntesting.runtime.junit.ImmutableTester
 
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(Class<?>) - Constructor for class patterntesting.runtime.jmx.Info
Instantiates a new builds the 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.
INSTANCE - Static variable in class patterntesting.runtime.util.Environment
The only instance of this class.
INTEGRATION_TEST - Static variable in class patterntesting.runtime.util.Environment
System property to enable integration tests.
INTEGRATION_TEST_ENABLED - Static variable in class patterntesting.runtime.util.Environment
True if property for integration test is set.
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.
IntegrationTestExtension - Class in patterntesting.runtime.junit.extension
Use this IntegrationTestExtension if you want to disable your integration tests for the normal test run.
IntegrationTestExtension() - Constructor for class patterntesting.runtime.junit.extension.IntegrationTestExtension
 
invariant() - Method in interface patterntesting.runtime.dbc.Contract
This method checks if the conditions of the invariants are still true.
invokeMethod(Object, String, Object...) - Static method in class patterntesting.runtime.util.ReflectionHelper
Invoke method.
IORuntimeException - Exception in patterntesting.runtime.io
If you want to throw an IOException as unchecked exception you can use this exception here.
IORuntimeException(String) - Constructor for exception patterntesting.runtime.io.IORuntimeException
Instantiates a new IO runtime exception.
IORuntimeException(Throwable) - Constructor for exception patterntesting.runtime.io.IORuntimeException
Instantiates a new IO runtime exception.
IORuntimeException(String, Throwable) - Constructor for exception patterntesting.runtime.io.IORuntimeException
Instantiates a new IO runtime exception.
IORuntimeException(String, Throwable, boolean, boolean) - Constructor for exception patterntesting.runtime.io.IORuntimeException
Instantiates a new IO runtime exception.
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.
isAgentAvailable() - Static method in class patterntesting.runtime.monitor.internal.ClasspathDigger
Checks if the ClasspathAgent is available as MBean.
isClassloaderSupported() - Method in class patterntesting.runtime.monitor.internal.ClasspathDigger
Checks if is classloader supported.
isDebugEnabled() - Method in class patterntesting.runtime.log.PerfLogger
Checks if is debug enabled.
isDoublet(Class<?>) - Method in class patterntesting.runtime.monitor.internal.DoubletDigger
Is the given class a doublet, i.e. can it be found more than once in the classpath?
isDoublet(String) - Method in class patterntesting.runtime.monitor.internal.DoubletDigger
Checks if is doublet.
isEnabled(Level, Marker, Message, Throwable) - Method in class patterntesting.runtime.log.LogRecorder
 
isEnabled(Level, Marker, CharSequence, Throwable) - Method in class patterntesting.runtime.log.LogRecorder
 
isEnabled(Level, Marker, Object, Throwable) - Method in class patterntesting.runtime.log.LogRecorder
 
isEnabled(Level, Marker, String, Throwable) - Method in class patterntesting.runtime.log.LogRecorder
This check returns true for all levels.
isEnabled(Level, Marker, String) - Method in class patterntesting.runtime.log.LogRecorder
 
isEnabled(Level, Marker, String, Object...) - Method in class patterntesting.runtime.log.LogRecorder
 
isEnabled(Level, Marker, String, Object) - Method in class patterntesting.runtime.log.LogRecorder
 
isEnabled(Level, Marker, String, Object, Object) - Method in class patterntesting.runtime.log.LogRecorder
 
isEnabled(Level, Marker, String, Object, Object, Object) - Method in class patterntesting.runtime.log.LogRecorder
 
isEnabled(Level, Marker, String, Object, Object, Object, Object) - Method in class patterntesting.runtime.log.LogRecorder
 
isEnabled(Level, Marker, String, Object, Object, Object, Object, Object) - Method in class patterntesting.runtime.log.LogRecorder
 
isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object) - Method in class patterntesting.runtime.log.LogRecorder
 
isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class patterntesting.runtime.log.LogRecorder
 
isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class patterntesting.runtime.log.LogRecorder
 
isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class patterntesting.runtime.log.LogRecorder
 
isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class patterntesting.runtime.log.LogRecorder
 
isEnabled() - Method in class patterntesting.runtime.monitor.JamonMonitor
Checks if is enabled.
isFile() - Method in class patterntesting.runtime.util.ArchivEntry
Checks if is file.
isFromCallJoinpoint() - Method in class patterntesting.runtime.log.internal.DrawStatement
Checks if the DrawStatement is generated from call joinpoint.
isFromExecutionJoinpoint() - Method in class patterntesting.runtime.log.internal.DrawStatement
Checks if the DrawStatement is generated from execution joinpoint.
isGoogleAppEngine() - Static method in class patterntesting.runtime.util.Environment
If we are in a Google App Engine (GAE) environment we will return true here.
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.
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
isLoaded(String) - Method in class patterntesting.runtime.monitor.internal.ClasspathDigger
Checks if the given classname is loaded.
isMultiThreadingEnabled() - Method in class patterntesting.runtime.monitor.internal.DoubletDigger
Is multi threading enabled?
isOnline(String) - Static method in class patterntesting.runtime.junit.NetworkTester
Checks if the given host is online.
isOnline(String, int, TimeUnit) - Static method in class patterntesting.runtime.junit.NetworkTester
Checks if the given host is online.
isOnline(String, int) - Static method in class patterntesting.runtime.junit.NetworkTester
Checks if the given host is online.
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(ObjectName) - 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
Deprecated.
If you want to ask JMX if bean is already registered you can ask the MBeanHelper (if you know the object name) or you can ask this method.
isRegisteredAsMBean() - Static method in class patterntesting.runtime.monitor.ResourcepathMonitor
Deprecated.
If you want to ask JMX if bean is already registered you can use this method.
isStatic(Field) - Static method in class patterntesting.runtime.util.ReflectionHelper
Checks if the given field is static.
isSupported(String) - Static method in enum patterntesting.runtime.monitor.ClassloaderType
Checks if the given classloader is known and therefore supported.
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.
isValueGiven() - Method in class patterntesting.runtime.junit.internal.TestOn
Checks if is value given.
isWeb() - Method in enum patterntesting.runtime.monitor.ClassloaderType
Here you can ask if the classloader type is a web classloader or not.
isWeblogicServer() - Static method in class patterntesting.runtime.util.Environment
If we are inside a Weblogic Server (WLS) we will return true here.

J

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.
JamonMonitorFactory(SimpleProfileMonitor) - Constructor for class patterntesting.runtime.monitor.JamonMonitorFactory
Instantiates a new jamon monitor factory.
JoinPointHelper - Class in patterntesting.runtime.util
The Class JoinPointHelper.

L

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 recorded object log you can load it with this method.
loadClass(String) - Method in class patterntesting.runtime.junit.internal.XrayClassLoader
Load class.
loadClass(String, boolean) - Method in class patterntesting.runtime.junit.internal.XrayClassLoader
Loads the class with the given binary name.
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 - Static variable in class patterntesting.runtime.monitor.internal.ClasspathDigger
 
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).
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
logMessage(String, Level, Marker, Message, Throwable) - Method in class patterntesting.runtime.log.LogRecorder
The message is logged and recorded here.
LogRecorder - Class in patterntesting.runtime.log
The Class LogRecorder can only 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?
logStatistic() - Method in class patterntesting.runtime.monitor.db.SqlStatistic
Deprecated.
Log statistic.
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.
LOWER_CASE - Static variable in class patterntesting.runtime.util.StringConverter
Use this converter if you want to convert the string into lower case.

M

MapTester - Class in patterntesting.runtime.junit
This class asserts (among other things) that two maps are equals.
mark(int) - Method in class patterntesting.runtime.io.FileInputStreamReader
Mark.
markSupported() - Method in class patterntesting.runtime.io.FileInputStreamReader
Mark supported.
matches() - Method in class patterntesting.runtime.junit.internal.TestOn
If one of the attributes matches true will returned.
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, JoinPoint.StaticPart, Object[]) - Method in class patterntesting.runtime.log.SequenceGrapher
Logs the call of a method to the generated sequence diagram.
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.

N

NestedZipFile - Class in patterntesting.runtime.util
This class provides more details about the underlying ZIP file as the original ZipFile class.
NestedZipFile(String) - Constructor for class patterntesting.runtime.util.NestedZipFile
Instantiates a new detailed zip file.
NestedZipFile(File) - Constructor for class patterntesting.runtime.util.NestedZipFile
Instantiates a new detailed zip file.
NestedZipFile(File, int) - Constructor for class patterntesting.runtime.util.NestedZipFile
Instantiates a new detailed zip file.
NestedZipFile(String, Charset) - Constructor for class patterntesting.runtime.util.NestedZipFile
Instantiates a new detailed zip file.
NestedZipFile(File, Charset) - Constructor for class patterntesting.runtime.util.NestedZipFile
Instantiates a new detailed zip file.
NestedZipFile(File, int, Charset) - Constructor for class patterntesting.runtime.util.NestedZipFile
Instantiates a new detailed zip file.
NetworkTester - Class in patterntesting.runtime.junit
With the NetworkTester you can assert if a host is online or offline.
newInstance(Connection) - Static method in class patterntesting.runtime.monitor.db.ProxyConnection
Deprecated.
Creates a new proxy instance for the given connection.
normalize() - Method in class patterntesting.runtime.io.ExtendedFile
Normalizes a file, analogous to FilenameUtils.normalize(String).
normalize(File) - Static method in class patterntesting.runtime.io.ExtendedFile
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.
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 - Static variable in class patterntesting.runtime.log.internal.DrawStatement
The Constant NULL.
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?
NULL_URI - Static variable in class patterntesting.runtime.NullConstants
You need a null URI 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
 
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 Object.equals(Object) or Object.hashCode() method.
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.

P

packageToResource(String) - Static method in class patterntesting.runtime.util.Converter
Converts a package name (e.g.
PATTERNTESTING - Static variable in class patterntesting.runtime.jmx.Info
Info about PatternTesting itself.
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.dbc - package patterntesting.runtime.dbc
This package is reserved for "Design By Contract" (DbC).
patterntesting.runtime.exception - package patterntesting.runtime.exception
This package contains some useful exceptions.
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 some Tester which can be used for testing with JUnit.
patterntesting.runtime.junit.extension - package patterntesting.runtime.junit.extension
 
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.log.internal - package patterntesting.runtime.log.internal
This package is only intended for internal use.
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 useful for monitoring databases.
patterntesting.runtime.monitor.internal - package patterntesting.runtime.monitor.internal
This package is intended only for internal use.
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.
ProfileMe - Annotation Type in patterntesting.runtime.annotation
You want to measure a method or constructor?
ProfileMonitor - Interface in patterntesting.runtime.monitor
The Interface ProfileMonitor.
ProfileMonitorFactory - Class in patterntesting.runtime.monitor
This factory abstracts the differences between the monitor based on JAMon and the simple monitor provided by PatternTesting itself.
ProfileMonitorFactory(SimpleProfileMonitor) - Constructor for class patterntesting.runtime.monitor.ProfileMonitorFactory
Instantiates a new monitor factory.
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.
ProxyConnection - Class in patterntesting.runtime.monitor.db
Deprecated.
since 2.0, use ProxyConnection
ProxyConnection(Connection) - Constructor for class patterntesting.runtime.monitor.db.ProxyConnection
Deprecated.
Instantiates a new proxy connection.
ProxyDriver - Class in patterntesting.runtime.monitor.db
Deprecated.
since 2.0, use ProxyDriver
ProxyDriver() - Constructor for class patterntesting.runtime.monitor.db.ProxyDriver
Deprecated.
 
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(CharBuffer) - Method in class patterntesting.runtime.io.FileInputStreamReader
Read.
read() - Method in class patterntesting.runtime.io.FileInputStreamReader
Read.
read(char[]) - Method in class patterntesting.runtime.io.FileInputStreamReader
Read.
read(char[], int, int) - Method in class patterntesting.runtime.io.FileInputStreamReader
Read.
read() - Method in class patterntesting.runtime.io.LineReader
Read.
read(char[], int, int) - Method in class patterntesting.runtime.io.LineReader
Read.
readElementsFromNestedArchive(File) - Static method in class patterntesting.runtime.monitor.internal.AbstractDigger
Read elements from nested archive.
readLine() - Method in class patterntesting.runtime.io.LineReader
Read line.
ready() - Method in class patterntesting.runtime.io.FileInputStreamReader
Ready.
ReflectionHelper - Class in patterntesting.runtime.util
This class is a helper class to access some fields via reflection.
register() - Static method in class patterntesting.runtime.monitor.db.ProxyDriver
Deprecated.
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
Deprecated.
With this method you can register the ClasspathMonitor with the default name.
registerAsMBean(String) - Static method in class patterntesting.runtime.monitor.ClasspathMonitor
Deprecated.
With this method you can register the ClasspathMonitor with your own name.
registerAsMBean(ObjectName) - Static method in class patterntesting.runtime.monitor.ClasspathMonitor
Deprecated.
With this method you can register the ClasspathMonitor with your own name.
registerAsMBean(String) - Static method in class patterntesting.runtime.monitor.db.SqlStatistic
Deprecated.
Normally the SqlStatistic is already registered as MBean.
registerAsMBean(String) - Static method in class patterntesting.runtime.monitor.ProfileStatistic
Normally the ProfileMonitor is already registered as MBean.
registerAsMBean() - Static method in class patterntesting.runtime.monitor.ResourcepathMonitor
Deprecated.
With this method you can register the ResourcepathMonitor with the default name.
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.
registerMeAsMBean(String) - Method in class patterntesting.runtime.monitor.ProfileStatistic
Register me as MBean.
removeClasses(Collection<?>, List<?>) - Static method in class patterntesting.runtime.junit.AbstractTester
Removes "excluded" from the given classes.
removeClasses(Collection<Class<? extends T>>, Pattern...) - Static method in class patterntesting.runtime.junit.AbstractTester
Removes "excluded" from the given classes.
removeConnection(ProxyConnection) - Static method in class patterntesting.runtime.monitor.db.ConnectionMonitor
Deprecated.
Removes the connection from the list of open connections.
removeMonitor(SimpleProfileMonitor) - Method in class patterntesting.runtime.monitor.SimpleProfileMonitor
Removes the given child monitor.
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.FileInputStreamReader
Reset.
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.db.SqlStatistic
Deprecated.
To start a new statistic call this method.
reset() - Method in class patterntesting.runtime.monitor.internal.DoubletDigger
Resets the doubletList and maybe later other things.
reset() - Method in class patterntesting.runtime.monitor.JamonMonitor
Reset.
reset() - Method in class patterntesting.runtime.monitor.JamonMonitorFactory
Reset.
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.ProfileMonitorFactory
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.
reset() - Method in class patterntesting.runtime.monitor.SimpleProfileMonitorFactory
Reset.
resetRootMonitor() - Method in class patterntesting.runtime.monitor.ProfileStatistic
Resets the root monitor.
Resource - Class in patterntesting.runtime.io
A resource can be a file, an entry in a jar, tar or zip file or a resource in the classpath.
Resource(URI) - Constructor for class patterntesting.runtime.io.Resource
Instantiates a new resource.
ResourcepathDigger - Class in patterntesting.runtime.monitor.internal
This is the sister of the ClasspathDigger.
ResourcepathDigger() - Constructor for class patterntesting.runtime.monitor.internal.ResourcepathDigger
Instantiates a new digger for resources.
ResourcepathDigger(ClassLoader) - Constructor for class patterntesting.runtime.monitor.internal.ResourcepathDigger
Instantiates a new digger for resources.
ResourcepathMonitor - Class in patterntesting.runtime.monitor
Deprecated.
replaced by ResourcepathMonitor
resourceToClass(String) - Static method in class patterntesting.runtime.util.Converter
Converts a resource (e.g.
ResourceWalker - Class in patterntesting.runtime.monitor.internal
This class scans a sub directory for a given suffix.
ResourceWalker(File) - Constructor for class patterntesting.runtime.monitor.internal.ResourceWalker
Instantiates a new Resource walker for all resources.
ResourceWalker(File, String) - Constructor for class patterntesting.runtime.monitor.internal.ResourceWalker
Instantiates a new resource walker for resources with the given suffix.
ResourceWalker(File, FileFilter) - Constructor for class patterntesting.runtime.monitor.internal.ResourceWalker
Instantiates a new Resource walker.
returnFromExecute(JoinPoint) - Method in class patterntesting.runtime.log.SequenceGrapher
This is the closing method of SequenceGrapher.execute(JoinPoint).
returnFromExecute(JoinPoint, Object) - Method in class patterntesting.runtime.log.SequenceGrapher
This is the closing method of SequenceGrapher.execute(JoinPoint).
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, JoinPoint.StaticPart) - Method in class patterntesting.runtime.log.SequenceGrapher
Return message.
rootMonitor - Variable in class patterntesting.runtime.monitor.ProfileMonitorFactory
The root monitor.
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.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).
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.
SequenceDiagramWriter - Class in patterntesting.runtime.log.internal
The Class SequenceDiagramWriter uses the format of websequence diagram to generate the chart.
SequenceDiagramWriter(File) - Constructor for class patterntesting.runtime.log.internal.SequenceDiagramWriter
Instantiates a new sequence diagram writer.
SequenceDiagramWriter(OutputStream) - Constructor for class patterntesting.runtime.log.internal.SequenceDiagramWriter
Instantiates a new sequence diagram writer.
SequenceDiagramWriter(Writer) - Constructor for class patterntesting.runtime.log.internal.SequenceDiagramWriter
Instantiates a new sequence diagram writer.
SequenceDiagramWriter(Writer, List<DrawStatement>) - Constructor for class patterntesting.runtime.log.internal.SequenceDiagramWriter
Instantiates a new sequence diagram writer.
SequenceGrapher - Class in patterntesting.runtime.log
This class supports the creation of simple sequence diagrams as described 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 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.
setDays(int[]) - Method in class patterntesting.runtime.junit.internal.TestOn
Sets the days.
setExcludeFilter(String[]) - Method in class patterntesting.runtime.log.SequenceGrapher
Sets the exclude filter.
setFieldValue(Object, String, String) - Static method in class patterntesting.runtime.util.ReflectionHelper
Sets the field value of the given target.
setFirstAccess(Date) - Method in class patterntesting.runtime.monitor.JamonMonitor
Sets the first access.
setHits(double) - Method in class patterntesting.runtime.monitor.JamonMonitor
Sets the hits.
setHosts(String[]) - Method in class patterntesting.runtime.junit.internal.TestOn
Sets the hosts.
setJavaVendor(String) - Method in class patterntesting.runtime.util.TestEnvironment
Sets the java vendor.
setJavaVendors(String[]) - Method in class patterntesting.runtime.junit.internal.TestOn
Sets the java vendors.
setJavaVersion(String) - Method in class patterntesting.runtime.util.TestEnvironment
Sets the java version.
setJavaVersions(String[]) - Method in class patterntesting.runtime.junit.internal.TestOn
Sets the java versions.
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.
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.
setMaxNumMonitors(int) - Method in class patterntesting.runtime.monitor.JamonMonitorFactory
Sets the max num monitors.
setMaxNumMonitors(int, ProfileMonitor) - Static method in class patterntesting.runtime.monitor.JamonMonitorFactory
Sets the max num monitors.
setMaxNumMonitors(int) - Method in class patterntesting.runtime.monitor.ProfileMonitorFactory
Sets the max num monitors.
setMaxNumMonitors(int) - Method in class patterntesting.runtime.monitor.SimpleProfileMonitorFactory
Here you can set the maximal number of monitors.
setMaxSize(int) - Method in class patterntesting.runtime.monitor.ProfileStatistic
Here you can set the maximal size of the statistic entries.
setMaxSize(int) - Method in interface patterntesting.runtime.monitor.ProfileStatisticMBean
Sets the maximal size of statistic entries.
setMin(double) - Method in class patterntesting.runtime.monitor.JamonMonitor
Sets the min.
setMultiThreadingEnabled(boolean) - Method in class patterntesting.runtime.monitor.internal.DoubletDigger
Here you can enable or disable the (experimental) multi threading mode to see if it is really faster on a mult-core machine.
setOsArch(String) - Method in class patterntesting.runtime.util.TestEnvironment
Sets the os arch.
setOsArchs(String[]) - Method in class patterntesting.runtime.junit.internal.TestOn
Sets the os archs.
setOsName(String) - Method in class patterntesting.runtime.util.TestEnvironment
Sets the os name.
setOsNames(String[]) - Method in class patterntesting.runtime.junit.internal.TestOn
Sets the os names.
setOsNames(String[], String[]) - Method in class patterntesting.runtime.junit.internal.TestOn
Sets the os names.
setOsVersion(String) - Method in class patterntesting.runtime.util.TestEnvironment
Sets the os version.
setOsVersions(String[]) - Method in class patterntesting.runtime.junit.internal.TestOn
Sets the os versions.
setPrimary(boolean) - Method in class patterntesting.runtime.monitor.JamonMonitor
Sets the primary.
setReason(String) - Method in class patterntesting.runtime.junit.internal.TestOn
Sets the reason.
setSystemProps(String[]) - Method in class patterntesting.runtime.junit.internal.TestOn
Sets the system props.
setTimes(String[]) - Method in class patterntesting.runtime.junit.internal.TestOn
Sets the times.
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.
setUserName(String) - Method in class patterntesting.runtime.util.TestEnvironment
Sets the user name.
setUsers(String[]) - Method in class patterntesting.runtime.junit.internal.TestOn
Sets the users.
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.
SimpleProfileMonitorFactory - Class in patterntesting.runtime.monitor
This is the counterpart to JamonMonitorFactory.
SimpleProfileMonitorFactory(SimpleProfileMonitor) - Constructor for class patterntesting.runtime.monitor.SimpleProfileMonitorFactory
Instantiates a new jamon monitor factory.
skip(long) - Method in class patterntesting.runtime.io.FileInputStreamReader
Skip.
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.
SMOKE_TEST_ENABLED - Static variable in class patterntesting.runtime.util.Environment
True if SmokeTest property is set.
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
 
SmokeTestExtension - Class in patterntesting.runtime.junit.extension
This extension replaces the SmokeRunner class for JUnit 4.
SmokeTestExtension() - Constructor for class patterntesting.runtime.junit.extension.SmokeTestExtension
 
SqlStatistic - Class in patterntesting.runtime.monitor.db
Deprecated.
since 2.0, use SqlStatistic
SqlStatisticMBean - Interface in patterntesting.runtime.monitor.db
Deprecated.
since 2.0, use 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
Deprecated.
Start.
start() - Method in class patterntesting.runtime.monitor.JamonMonitor
Start.
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.
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.
stop() - Method in class patterntesting.runtime.log.LogWatch
Stop.
stop(ProfileMonitor, String) - Static method in class patterntesting.runtime.monitor.db.SqlStatistic
Deprecated.
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
Deprecated.
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.
StringConverter - Class in patterntesting.runtime.util
This is the base class for all converter classes which transform a string into another string.
StringConverter() - Constructor for class patterntesting.runtime.util.StringConverter
 
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.
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.
TestEnvironment - Class in patterntesting.runtime.util
This class is intended for testing to be able to provide a different environment.
TestEnvironment() - Constructor for class patterntesting.runtime.util.TestEnvironment
 
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
Instantiates a new object with the default environment.
TestOn(Environment) - Constructor for class patterntesting.runtime.junit.internal.TestOn
Instantiates a new object.
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.
TimeMachine - Annotation Type in patterntesting.runtime.annotation
For time specific tests you can use this annotation to set the todays date.
toAbsolutePath(URI) - Static method in class patterntesting.runtime.util.Converter
Converts an URI into a file and returns it as absolute pathname.
toArray(Object...) - Static method in class patterntesting.runtime.util.Converter
Converts variable number of arguments into an object array.
toClassloaderType(ClassLoader) - Static method in enum patterntesting.runtime.monitor.ClassloaderType
Converts the given classloader into the corresponding type.
toCsvHeadline() - Method in class patterntesting.runtime.monitor.JamonMonitor
To csv headline.
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
To csv string.
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.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
To short string.
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(Time) - Static method in class patterntesting.runtime.util.Converter
If the given time string has 0 seconds it is returned as "hh:mm".
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.io.FileInputStreamReader
To string.
toString() - Method in class patterntesting.runtime.io.LineReader
To string.
toString() - Method in class patterntesting.runtime.io.Resource
To string.
toString() - Method in class patterntesting.runtime.log.AbstractLogger
To string.
toString() - Method in class patterntesting.runtime.log.internal.DrawStatement
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.internal.ClasspathDigger
Puts also the classloader in the toString representation.
toString() - Method in class patterntesting.runtime.monitor.internal.DoubletDigger
To string.
toString() - Method in class patterntesting.runtime.monitor.JamonMonitor
To string.
toString() - Method in class patterntesting.runtime.monitor.ProfileMonitorFactory
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 array).
toString(String, String, Object[]) - Static method in class patterntesting.runtime.util.Converter
Maps an array to its string representation.
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.NestedZipFile
In contrast to the super class this method provides the name of the ZIP file.
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(List<File>) - Static method in class patterntesting.runtime.io.ExtendedFile
Converts a list with files into a string array.
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.
toTime(String) - Static method in class patterntesting.runtime.util.Converter
Converts a time string to a Time value.
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, 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?
tryStaticInitializer(String) - Static method in class patterntesting.runtime.junit.ClassTester
Every class has an static initializer which will be called after a class is loaded.
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

UmlGraphWriter - Class in patterntesting.runtime.log.internal
This class is responsible for writing sequence diagrams in the UML Graph format.
UmlGraphWriter(File) - Constructor for class patterntesting.runtime.log.internal.UmlGraphWriter
Instantiates a new uml graph writer.
UmlGraphWriter(OutputStream) - Constructor for class patterntesting.runtime.log.internal.UmlGraphWriter
Instantiates a new uml graph writer.
UmlGraphWriter(Writer) - Constructor for class patterntesting.runtime.log.internal.UmlGraphWriter
Instantiates a new uml graph writer.
UmlGraphWriter(Writer, List<DrawStatement>) - Constructor for class patterntesting.runtime.log.internal.UmlGraphWriter
Instantiates a new uml graph writer.
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.
unregisterAsMBean() - Static method in class patterntesting.runtime.monitor.ClasspathMonitor
Deprecated.
Unregister ClasspathMonitor as MBean.
unregisterAsMBean() - Static method in class patterntesting.runtime.monitor.ResourcepathMonitor
Deprecated.
Unregister ResourcepathMonitor as MBean.
unregisterMBean(String) - Static method in class patterntesting.runtime.jmx.MBeanHelper
Unregister an MBean.
unregisterMBean(ObjectName) - Static method in class patterntesting.runtime.jmx.MBeanHelper
Unregister an MBean.
UnsupportedOperation - Annotation Type in patterntesting.runtime.annotation
This is similar to the @NotYetImplemented annotation.
UPPER_CASE - Static variable in class patterntesting.runtime.util.StringConverter
Use this converter if you want to convert the string into upper case.

V

validate(File) - Static method in class patterntesting.runtime.io.ExtendedFile
Validates the given file and throws an FileNotFoundException if it is not a valid file.
valueOf(String) - Static method in enum patterntesting.runtime.log.internal.DrawType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum patterntesting.runtime.monitor.ClassloaderType
Returns the enum constant of this type with the specified name.
values() - Static method in enum patterntesting.runtime.log.internal.DrawType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum patterntesting.runtime.monitor.ClassloaderType
Returns an array containing the constants of this enum type, in the order they are declared.

W

warn(String, Object...) - Method in class patterntesting.runtime.log.PerfLogger
Warn.
whichResource(String) - Method in class patterntesting.runtime.monitor.internal.ClasspathDigger
Returns the URI of the given resource and the given classloader.
whichResource(String, ClassLoader) - Static method in class patterntesting.runtime.monitor.internal.ResourcepathDigger
Returns the URI of the given resource and the given classloader.
writeCreateMessage(DrawStatement) - Method in class patterntesting.runtime.log.internal.SequenceDiagramWriter
Write create message.
writeCreateMessage(DrawStatement) - Method in class patterntesting.runtime.log.internal.UmlGraphWriter
 
writeHeaderFor(File) - Method in class patterntesting.runtime.log.internal.SequenceDiagramWriter
This method can be used to write the title of the diagram.
writeLine(String) - Method in class patterntesting.runtime.log.internal.SequenceDiagramWriter
Write line.
writeMessage(DrawStatement) - Method in class patterntesting.runtime.log.internal.SequenceDiagramWriter
Write message.
writeMessage(DrawStatement) - Method in class patterntesting.runtime.log.internal.UmlGraphWriter
 
writeReturnMessage(DrawStatement) - Method in class patterntesting.runtime.log.internal.SequenceDiagramWriter
Write return message.
writeReturnMessage(DrawStatement) - Method in class patterntesting.runtime.log.internal.UmlGraphWriter
 
writeSequenceDiagram() - Method in class patterntesting.runtime.log.internal.SequenceDiagramWriter
Write sequence diagram.
writeSequenceDiagram() - Method in class patterntesting.runtime.log.internal.UmlGraphWriter
Write sequence diagram.

X

XrayClassLoader - Class in patterntesting.runtime.junit.internal
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.junit.internal.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
 

Z

Zombie - Annotation Type in patterntesting.annotation.check.runtime
With this annotation you can mark your class or method as "dead" if you want to remove it and you are not sure if they really is dead.
A B C D E F G H I J L M N O P R S T U V W X Z 
Skip navigation links

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