Class ImportDiagnosticUtils
java.lang.Object
com.appiancorp.suiteapi.type.config.ImportDiagnosticUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic String[]
getAllMessages
(ImportDiagnostic[] diagnostics_, Locale locale_) Gets the messages that were generated during the import for all levels ofserverity_
static String[]
getMessages
(ImportDiagnosticSeverity severity_, ImportDiagnostic[] diagnostics_, Locale locale_) Gets the messages that were generated during the import for the level ofserverity_
specified
-
Method Details
-
getMessages
public static String[] getMessages(ImportDiagnosticSeverity severity_, ImportDiagnostic[] diagnostics_, Locale locale_) Gets the messages that were generated during the import for the level ofserverity_
specified- Parameters:
severity_
- The severity level of messages. This is one of
constants, where XXX could be FATAL, ERROR, WARNING or INFORMATIONImportDiagnosticSeverity
.XXX_LITERALdiagnostics_
- An array ofImportDiagnostic
generated during importlocale_
- The locale to use when localizing the message- Returns:
- messages generated during the import for a particular severity
-
getAllMessages
Gets the messages that were generated during the import for all levels ofserverity_
- Parameters:
diagnostics_
- An array ofImportDiagnostic
generated during importlocale_
- The locale to use when localizing the message- Returns:
- messages generated during the import for all severities
-