public static class DataWeaveValidationRequest.Builder extends Object
DataWeaveValidationRequest.| Modifier and Type | Method and Description |
|---|---|
DataWeaveValidationRequest |
build() |
DataWeaveValidationRequest.Builder |
withEventType(org.mule.metadata.api.model.MetadataType eventType) |
DataWeaveValidationRequest.Builder |
withFunctionBindings(Map<String,org.mule.metadata.api.model.MetadataType> functionBindings)
Sets the functionBindings defined by the plugins declared by the application to be used by DataWeave in order to validate the script.
|
DataWeaveValidationRequest.Builder |
withGlobalBindings(Map<String,org.mule.metadata.api.model.MetadataType> globalBindings)
Sets the globalBindings defined by the Mule Runtime to be used by DataWeave in order to validate the script.
|
DataWeaveValidationRequest.Builder |
withScript(String script) |
public DataWeaveValidationRequest.Builder withGlobalBindings(Map<String,org.mule.metadata.api.model.MetadataType> globalBindings)
globalBindings - to be used by DataWeave in order to validate the scriptpublic DataWeaveValidationRequest.Builder withFunctionBindings(Map<String,org.mule.metadata.api.model.MetadataType> functionBindings)
functionBindings - provided by plugins to be used by DataWeave in order to validate the scriptpublic DataWeaveValidationRequest.Builder withEventType(org.mule.metadata.api.model.MetadataType eventType)
eventType - MetadataType of the Mule Event at the point were the script is going to be evaluated.public DataWeaveValidationRequest.Builder withScript(String script)
script - to be validatedpublic DataWeaveValidationRequest build()
DataWeaveValidationRequestCopyright © 2018 MuleSoft, Inc.. All rights reserved.