public class LogPolicySupport extends Object
| Constructor and Description |
|---|
LogPolicySupport() |
| Modifier and Type | Method and Description |
|---|---|
Method[] |
getLoggerMethods(String fullyQualifiedClassName,
String methodName,
String logFramework)
Get the methods that should be mocked.
|
Class<?> |
getType(String name,
String logFramework)
Get the class type representing the fully-qualified name.
|
public Method[] getLoggerMethods(String fullyQualifiedClassName, String methodName, String logFramework)
fullyQualifiedClassName - The fully-qualified name to the class that contains the
method.methodName - The name of the method that should be mocked.logFramework - The log framework that should be printed if the class
fullyQualifiedClassName cannot be found.Method[]'s that should be mocked.public Class<?> getType(String name, String logFramework) throws Exception
name - The fully-qualified name of a class to get.logFramework - The log framework that should be printed if the class cannot
be found.Exception - If something unexpected goes wrong, for example if the class
cannot be found.Copyright © 2007–2015. All rights reserved.