public class PlainTextMessageValidator extends DefaultMessageValidator
| Modifier and Type | Field and Description |
|---|---|
static String |
IGNORE_NEWLINE_TYPE_ENV |
static String |
IGNORE_NEWLINE_TYPE_PROPERTY |
static String |
IGNORE_WHITESPACE_ENV |
static String |
IGNORE_WHITESPACE_PROPERTY |
logLOG, RESOURCE_PATH, TYPE_RESOLVER, validators| Constructor and Description |
|---|
PlainTextMessageValidator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isIgnoreNewLineType()
Gets the ignoreNewLineType.
|
boolean |
isIgnoreWhitespace()
Gets the ignoreWhitespace.
|
void |
setIgnoreNewLineType(boolean ignoreNewLineType)
Sets the ignoreNewLineType.
|
void |
setIgnoreWhitespace(boolean ignoreWhitespace)
Sets the ignoreWhitespace.
|
boolean |
supportsMessageType(String messageType,
Message message) |
void |
validateMessage(Message receivedMessage,
Message controlMessage,
TestContext context,
com.consol.citrus.validation.context.ValidationContext validationContext) |
getRequiredValidationContextTypefindValidationContext, validateMessageclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlookup, lookuppublic static final String IGNORE_NEWLINE_TYPE_PROPERTY
public static final String IGNORE_NEWLINE_TYPE_ENV
public static final String IGNORE_WHITESPACE_PROPERTY
public static final String IGNORE_WHITESPACE_ENV
public void validateMessage(Message receivedMessage, Message controlMessage, TestContext context, com.consol.citrus.validation.context.ValidationContext validationContext) throws com.consol.citrus.exceptions.ValidationException
public boolean supportsMessageType(String messageType, Message message)
supportsMessageType in interface MessageValidator<com.consol.citrus.validation.context.ValidationContext>supportsMessageType in class DefaultMessageValidatorpublic boolean isIgnoreWhitespace()
public void setIgnoreWhitespace(boolean ignoreWhitespace)
ignoreWhitespace - public boolean isIgnoreNewLineType()
public void setIgnoreNewLineType(boolean ignoreNewLineType)
ignoreNewLineType - Copyright © 2008–2021 ConSol Software GmbH. All rights reserved.