public interface ChangeOrRemoveElement<T extends TransformationOperation>
TransformationOperation
subclasses that intend to modify a project by changing or modify elements,
standardizing the behavior and API in the absence of the element to be manipulated.
Modifier and Type | Interface and Description |
---|---|
static class |
ChangeOrRemoveElement.IfNotPresent
Possible behaviors in case the element to be changed or removed is not present.
|
Modifier and Type | Method and Description |
---|---|
T |
failIfNotPresent()
Fail (
TOExecutionResult.Type.ERROR )
if the element to be changed or removed is not present |
T |
noOpIfNotPresent()
Do nothing, not warn neither fail, (
TOExecutionResult.Type.NO_OP )
if the element to be changed or removed is not present |
T |
warnIfNotPresent()
Warn (
TOExecutionResult.Type.WARNING )
if the element to be changed or removed is not present |
T failIfNotPresent()
TOExecutionResult.Type.ERROR
)
if the element to be changed or removed is not presentT warnIfNotPresent()
TOExecutionResult.Type.WARNING
)
if the element to be changed or removed is not presentT noOpIfNotPresent()
TOExecutionResult.Type.NO_OP
)
if the element to be changed or removed is not present