Class ImportDiagnostic
java.lang.Object
com.appiancorp.suiteapi.type.config.ImportDiagnostic
- Direct Known Subclasses:
ExceptionImportDiagnostic
,ValidationImportDiagnostic
Import diagnostics are generated during the import of data types to provide details
on any issues or problems that are encountered during the import.
-
Constructor Summary
ModifierConstructorDescriptionprotected
ImportDiagnostic
(ImportDiagnosticSeverity severity) Creates an instance with the given severity. -
Method Summary
Modifier and TypeMethodDescriptionboolean
abstract AppianErrorCode
abstract String
getMessage
(Locale locale_) Returns a localized message providing details on the diagnosticReturns theImportDiagnosticSeverity
of the diagnosticint
hashCode()
toString()
-
Constructor Details
-
ImportDiagnostic
Creates an instance with the given severity.- Parameters:
severity
- the severity associated with the diagnostic
-
-
Method Details
-
getMessage
Returns a localized message providing details on the diagnostic- Parameters:
locale_
- theLocale
used to localize the message- Returns:
- the localized message
-
getErrorCode
-
getSeverity
Returns theImportDiagnosticSeverity
of the diagnostic- Returns:
- the severity
-
equals
-
hashCode
public int hashCode() -
toString
-