Package com.nomagic.magicdraw.uml2.util
Class SpecificationDocumentationCommentProviderConfigurator
java.lang.Object
com.nomagic.magicdraw.uml2.util.SpecificationDocumentationCommentProviderConfigurator
Documentation comment configurator for comment body representation in documentation node
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addDocumentationCommentProvider
(Function<Element, Comment> function) static Comment
getFirstCommentFromProviders
(Element element) Gets first comment from documentation providers function liststatic boolean
-
Constructor Details
-
SpecificationDocumentationCommentProviderConfigurator
public SpecificationDocumentationCommentProviderConfigurator()
-
-
Method Details
-
addDocumentationCommentProvider
-
getDocumentationCommentProviders
-
isProvidersNotEmpty
public static boolean isProvidersNotEmpty() -
getFirstCommentFromProviders
Gets first comment from documentation providers function list- Parameters:
element
- which comment elements are being checked.- Returns:
- first found comment - else null.
-