public class DisplayTypeAnnotation extends Object implements org.mule.metadata.api.annotation.TypeAnnotation
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.
| Constructor and Description |
|---|
DisplayTypeAnnotation(DisplayModel displayModel)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDisplayName() |
String |
getExample() |
String |
getName() |
Optional<PathModel> |
getPathModel() |
String |
getSummary() |
int |
hashCode() |
public static final String NAME
public DisplayTypeAnnotation(DisplayModel displayModel)
displayModel - a DisplayModelpublic String getName()
getName in interface org.mule.metadata.api.annotation.TypeAnnotationpublic String getDisplayName()
public String getSummary()
public String getExample()
public Optional<PathModel> getPathModel()
PathModel instance if the carrier parameter points to a file or directory,
Optional.empty() otherwise.Copyright © 2017 MuleSoft, Inc.. All rights reserved.