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 ByteCodeFrameworkbyteCodeFrameworkprivate java.lang.String[]globalIgnore
-
Constructor Summary
Constructors Constructor Description PowerMockConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteCodeFrameworkgetByteCodeFramework()java.lang.String[]getGlobalIgnore()PowerMockConfigurationmerge(PowerMockConfiguration configuration)Merge values of the configuration with values ofconfiguration.voidsetByteCodeFramework(ByteCodeFramework byteCodeFramework)voidsetGlobalIgnore(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:ConfigurationMerge values of the configuration with values ofconfiguration. Values with the same keys from theconfigurationoverwrite value in the current configuration.- Specified by:
mergein interfaceConfiguration<PowerMockConfiguration>- Parameters:
configuration- source configurations.- Returns:
- a new instance of
Configurationwith merged values.
-
-