Package | Description |
---|---|
com.paypal.butterfly.extensions.api |
API component to be used by Butterfly extensions when providing their
transformation and upgrade templates.
|
Modifier and Type | Method and Description |
---|---|
static PerformResult |
PerformResult.error(TransformationUtility transformationUtility,
Exception exception)
This means The TU failed, but not because of its utility execution itself, but because of an internal reason.
|
static PerformResult |
PerformResult.error(TransformationUtility transformationUtility,
Exception exception,
String details)
This means The TU failed, but not because of its utility execution itself, but because of an internal reason.
|
static PerformResult |
PerformResult.executionResult(TransformationUtility transformationUtility,
ExecutionResult executionResult)
This means the utility has been executed,
and the result type is defined based on the utility execution result type.
|
PerformResult |
TransformationContext.getResult(String utilityName)
Returns the performing result of the
TransformationUtility
identified by the specified name. |
PerformResult |
TransformationUtility.perform(File transformedAppFolder,
TransformationContext transformationContext)
Performs the transformation utility against
the application to be transformed
This is the one called by the transformation engine, and regardless of any customization it could have, it must always: 1- Call TransformationUtility.applyPropertiesFromContext(TransformationContext)
2- Call TransformationUtility.execution(File, TransformationContext)
This method is NOT supposed to be overwritten, unless you really know what you are doing. |
PerformResult |
TransformationOperation.perform(File transformedAppFolder,
TransformationContext transformationContext) |
static PerformResult |
PerformResult.skippedCondition(TransformationUtility transformationUtility,
String details)
This means the utility has not been executed
because its pre-requisite condition is not true
|
static PerformResult |
PerformResult.skippedDependency(TransformationUtility transformationUtility,
String details)
This means the utility has not been executed because one or more
of its dependencies "failed".
|
Copyright © 2018. All rights reserved.