public static class ResettableClassFileTransformer.Reset.WithErrors extends Object implements ResettableClassFileTransformer.Reset
ResettableClassFileTransformer.Reset.Simple, ResettableClassFileTransformer.Reset.WithErrors
Modifier | Constructor and Description |
---|---|
protected |
WithErrors(Map<Class<?>,Throwable> failures)
Creates a new result with errors.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
Map<Class<?>,Throwable> |
getErrors()
Returns a mapping of classes that could not be reset to the errors occured when attempting the reset.
|
int |
hashCode() |
boolean |
isApplied()
Determines if this result did apply a deregistration, i.e. the reset class file transformer was not removed previously.
|
static ResettableClassFileTransformer.Reset |
ofPotentiallyErroneous(Map<Class<?>,Throwable> failures)
Creates a result of a potentially empty error mapping.
|
String |
toString() |
public static ResettableClassFileTransformer.Reset ofPotentiallyErroneous(Map<Class<?>,Throwable> failures)
failures
- A map of errors that occurred during a reset.public boolean isApplied()
ResettableClassFileTransformer.Reset
isApplied
in interface ResettableClassFileTransformer.Reset
true
if the represented reset was applied.public Map<Class<?>,Throwable> getErrors()
ResettableClassFileTransformer.Reset
getErrors
in interface ResettableClassFileTransformer.Reset
Copyright © 2014–2016. All rights reserved.