Package org.powermock.configuration
Class PowerMockConfiguration
- java.lang.Object
-
- org.powermock.configuration.PowerMockConfiguration
-
- All Implemented Interfaces:
Configuration<PowerMockConfiguration>
public class PowerMockConfiguration extends java.lang.Object implements Configuration<PowerMockConfiguration>
The class provides list of setting for PowerMock. The properties with `powermock` prefix are mapped to the class.- Since:
- 1.7.0
- See Also:
Configuration
-
-
Field Summary
Fields Modifier and Type Field Description private ByteCodeFramework
byteCodeFramework
private java.lang.String[]
globalIgnore
-
Constructor Summary
Constructors Constructor Description PowerMockConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteCodeFramework
getByteCodeFramework()
java.lang.String[]
getGlobalIgnore()
PowerMockConfiguration
merge(PowerMockConfiguration configuration)
Merge values of the configuration with values ofconfiguration
.void
setByteCodeFramework(ByteCodeFramework byteCodeFramework)
void
setGlobalIgnore(java.lang.String[] globalIgnore)
-
-
-
Field Detail
-
globalIgnore
private java.lang.String[] globalIgnore
-
byteCodeFramework
private ByteCodeFramework byteCodeFramework
-
-
Method Detail
-
getGlobalIgnore
public java.lang.String[] getGlobalIgnore()
-
setGlobalIgnore
public void setGlobalIgnore(java.lang.String[] globalIgnore)
-
getByteCodeFramework
public ByteCodeFramework getByteCodeFramework()
-
setByteCodeFramework
public void setByteCodeFramework(ByteCodeFramework byteCodeFramework)
-
merge
public PowerMockConfiguration merge(PowerMockConfiguration configuration)
Description copied from interface:Configuration
Merge values of the configuration with values ofconfiguration
. Values with the same keys from theconfiguration
overwrite value in the current configuration.- Specified by:
merge
in interfaceConfiguration<PowerMockConfiguration>
- Parameters:
configuration
- source configurations.- Returns:
- a new instance of
Configuration
with merged values.
-
-