public final class ImmutableConnectionValidationResult extends Object implements org.mule.tooling.client.api.connectivity.ConnectionValidationResult
ConnectionValidationResult.| Modifier and Type | Method and Description |
|---|---|
static ImmutableConnectionValidationResult |
failure(String message,
org.mule.runtime.api.message.ErrorType errorType,
String exception) |
static ImmutableConnectionValidationResult |
failure(String message,
org.mule.runtime.api.message.ErrorType errorType,
Throwable cause) |
org.mule.runtime.api.message.ErrorType |
getErrorType() |
String |
getException() |
String |
getMessage() |
boolean |
isValid() |
static ImmutableConnectionValidationResult |
success() |
public static ImmutableConnectionValidationResult success()
ImmutableConnectionValidationResult successful.public static ImmutableConnectionValidationResult failure(String message, org.mule.runtime.api.message.ErrorType errorType, String exception)
ImmutableConnectionValidationResult failure with the error message and code.public static ImmutableConnectionValidationResult failure(String message, org.mule.runtime.api.message.ErrorType errorType, Throwable cause)
ImmutableConnectionValidationResult failure with the error message and code.public boolean isValid()
isValid in interface org.mule.tooling.client.api.connectivity.ConnectionValidationResultpublic String getMessage()
getMessage in interface org.mule.tooling.client.api.connectivity.ConnectionValidationResultpublic org.mule.runtime.api.message.ErrorType getErrorType()
getErrorType in interface org.mule.tooling.client.api.connectivity.ConnectionValidationResultpublic String getException()
getException in interface org.mule.tooling.client.api.connectivity.ConnectionValidationResultCopyright © 2017 MuleSoft, Inc.. All rights reserved.