@Retention(RUNTIME) @Target({METHOD,TYPE}) public @interface BMUnitConfig
Modifier and Type | Optional Element | 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
|
boolean enforce
String agentHost
String agentPort
boolean inhibitAgentLoad
String loadDirectory
String resourceLoadDirectory
boolean allowAgentConfigUpdate
boolean verbose
boolean debug
boolean bmunitVerbose
boolean policy
boolean dumpGeneratedClasses
String dumpGeneratedClassesDirectory
boolean dumpGeneratedClassesIntermediate
Copyright © 2018. All rights reserved.