Class MessageSetDescription
java.lang.Object
org.odpi.openmetadata.reports.messages.MessageSetDescription
MessageSetDescription captures the content of a single message set - that is, one enum that implements one of
the message set interfaces from the audit log framework.
-
Method Summary
Modifier and TypeMethodDescriptionReturn the part of the documentation that this message set is described in.Return the text taken from the class-level javadoc of the message set.Return the simple name of the message set enum.Return the name of the markdown file that documents this message set.Return the part of the message identifier that is common to every message in this set.Return the message definitions, in the order that they are declared in the enum.Return which of the message set interfaces the enum implements.Return the path of the module that defines this message set, relative to the repository root.Return the java package that the message set is defined in.Return the fully qualified name of the message set enum.Return the path of the source file, relative to the repository root.toString()Standard toString method.
-
Method Details
-
getEnumName
Return the simple name of the message set enum.- Returns:
- java identifier
-
getPackageName
Return the java package that the message set is defined in.- Returns:
- package name
-
getQualifiedName
Return the fully qualified name of the message set enum.- Returns:
- qualified class name
-
getMessageSetType
Return which of the message set interfaces the enum implements.- Returns:
- message set type
-
getCategory
Return the part of the documentation that this message set is described in.- Returns:
- category
-
getSourcePath
Return the path of the source file, relative to the repository root.- Returns:
- relative path, using "/" separators
-
getModulePath
Return the path of the module that defines this message set, relative to the repository root.- Returns:
- relative path, using "/" separators
-
getDescription
Return the text taken from the class-level javadoc of the message set.- Returns:
- description - may be null if the message set has no class-level javadoc
-
getMessages
Return the message definitions, in the order that they are declared in the enum.- Returns:
- list of message descriptions
-
getMessageIdPrefix
Return the part of the message identifier that is common to every message in this set. This is the value that someone looks up when they see a message identifier in a log or an exception. The common part is trimmed back to the last "-" so that it does not include a partial number.- Returns:
- message identifier prefix - an empty string if the messages have nothing in common
-
getFileName
Return the name of the markdown file that documents this message set.- Returns:
- file name
-
toString
Standard toString method.
-