public final class ValidationContext extends Object
Constructor and Description |
---|
ValidationContext(ValidationMessages messages,
ValidationOptions options,
MuleEvent muleEvent) |
ValidationContext(ValidationMessages messages,
ValidationOptions options,
MuleEvent muleEvent,
ValidationExtension config) |
ValidationContext(ValidationOptions options,
MuleEvent muleEvent,
ValidationExtension config) |
Modifier and Type | Method and Description |
---|---|
ValidationExtension |
getConfig() |
ValidationMessages |
getMessages()
Returns the
ValidationMessages instance
to be used when generating feedback messages |
MuleEvent |
getMuleEvent()
Returns the
MuleEvent on which
the validation was triggered |
ValidationOptions |
getOptions()
Returns the configured
ValidationOptions
for this validation |
public ValidationContext(ValidationMessages messages, ValidationOptions options, MuleEvent muleEvent)
public ValidationContext(ValidationOptions options, MuleEvent muleEvent, ValidationExtension config)
public ValidationContext(ValidationMessages messages, ValidationOptions options, MuleEvent muleEvent, ValidationExtension config)
public ValidationMessages getMessages()
ValidationMessages
instance
to be used when generating feedback messagesValidationMessages
public ValidationOptions getOptions()
ValidationOptions
for this validationValidationOptions
public MuleEvent getMuleEvent()
MuleEvent
on which
the validation was triggeredMuleEvent
public ValidationExtension getConfig()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.