Interface ParameterHolder<T>
- All Known Subinterfaces:
ParameterizedTransformer<T>
- All Known Implementing Classes:
ASTTransformer,CSTTransformer,ExecutionPlanner
public interface ParameterHolder<T>
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetJobParameters(T parameters) default <R> RwithJobParameters(T parameters, Supplier<R> run) Runs a function with job parameters available set in the context.
-
Method Details
-
getJobParameters
T getJobParameters() -
setJobParameters
-
withJobParameters
Runs a function with job parameters available set in the context.- Type Parameters:
R- The return type of the function- Parameters:
parameters- The job parameters to setrun- The function to run while the transformation manager has job parameters- Returns:
- The value returned by the supplier function
-