Class DisplayTypeAnnotation
java.lang.Object
org.mule.runtime.extension.api.declaration.type.annotation.DisplayTypeAnnotation
- All Implemented Interfaces:
org.mule.metadata.api.annotation.TypeAnnotation
public class DisplayTypeAnnotation
extends Object
implements org.mule.metadata.api.annotation.TypeAnnotation
A
TypeAnnotation that contains information about the name and summary that should be rendered in the UI for a
particular model.
That information is obtained through the DisplayName and Summary annotations.
- Since:
- 1.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDisplayTypeAnnotation(org.mule.runtime.api.meta.model.display.DisplayModel displayModel) Creates a new instance -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.mule.metadata.api.annotation.TypeAnnotation
isPublic
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
DisplayTypeAnnotation
public DisplayTypeAnnotation(org.mule.runtime.api.meta.model.display.DisplayModel displayModel) Creates a new instance- Parameters:
displayModel- aDisplayModel
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceorg.mule.metadata.api.annotation.TypeAnnotation
-
getDisplayName
- Returns:
- the name which should be use to render this model.
-
getSummary
- Returns:
- a brief overview about this model.
-
getExample
- Returns:
- a brief example about a possible value for this model.
-
getPathModel
- Returns:
- a
PathModelinstance if the carrier parameter points to a file or directory,Optional.empty()otherwise.
-
getClassValueModel
- Returns:
- a
ClassValueModelinstance if the carrier parameter points to a class.Optional.empty()otherwise.
-
equals
-
hashCode
public int hashCode()
-