@Retention(value=RUNTIME) @Target(value={METHOD,TYPE}) public @interface BMUnitConfig
Modifier and Type | Optional Element and Description |
---|---|
String |
agentHost
agentHost specifies the hostname which will be used when
opening a client connection to the Byteman agent listener.
|
String |
agentPort
agentPort specifies the port which will be used when
opening a client connection to the Byteman agent listener.
|
boolean |
allowAgentConfigUpdate
allowAgentConfigUpdate determines whether or not the various Byteman property
settings specified when the agent is uploaded can be reconfigured while
the agent is running.
|
boolean |
bmunitVerbose
bmunitVerbose configures the BMUnit verbose setting which controls
printing of trace related to the operation of the BMUnit package
|
boolean |
debug
debug configures the Byteman debug setting which controls
printing of debug trace statements embedded in Byteman rules
|
boolean |
dumpGeneratedClasses
dumpGeneratedClasses configures whether or not the Byteman agent
dumps transformed bytecode to a class file.
|
String |
dumpGeneratedClassesDirectory
dumpGeneratedClassesDirectory identifies a directory path
to locate the root directory for class files created when the
Byteman agent dumps transformed bytecode to a class file.
|
boolean |
dumpGeneratedClassesIntermediate
dumpGeneratedClassesIntermediate configures whether or not
the Byteman agent dumps intermediate versions of transformed
bytecode to a class file.
|
boolean |
enforce
if enforce is true then every element of the configuration
specified in the annotation must be configured as specified
and if it cannot be so configured (or reconfigured) then an
exception will be thrown by the test runner.
|
boolean |
inhibitAgentLoad
inhibitAgentLoad requests that the Byteman agent not be
auto-loaded into the current JVM on behalf of this test.
|
String |
loadDirectory
loadDirectory identifies a directory relative to which rule
rule script files should be loaded.
|
boolean |
policy
policy configures whether or not to set a security policy
when loading the agent.
|
String |
resourceLoadDirectory
resourceLoadDirectory identifies a resource path relative to which
rule script resources should be loaded.
|
boolean |
verbose
verbose configures the Byteman verbose setting which controls
printing of trace related to the operation of Byteman
|
public abstract boolean enforce
public abstract String agentHost
public abstract String agentPort
public abstract boolean inhibitAgentLoad
public abstract String loadDirectory
public abstract String resourceLoadDirectory
public abstract boolean allowAgentConfigUpdate
public abstract boolean verbose
public abstract boolean debug
public abstract boolean bmunitVerbose
public abstract boolean policy
public abstract boolean dumpGeneratedClasses
public abstract String dumpGeneratedClassesDirectory
public abstract boolean dumpGeneratedClassesIntermediate
Copyright © 2017. All Rights Reserved.