Annotation Type PrimaryPort
In Hexagonal Architecture an
PrimaryPort
describes an interface into an application's core that is exposed to
the outside to drive the application. A PrimaryAdapter
would refer to those ports in its implementation.- Since:
- 1.5
- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionA description of thePrimaryPort
.An identifier for the name of thePrimaryPort
to identify and group multiple implementing classes of the samePrimaryPort
.
-
Element Details
-
name
String nameAn identifier for the name of thePrimaryPort
to identify and group multiple implementing classes of the samePrimaryPort
. If not set, external tooling may default this to the simple name of the annotated type or package.- Since:
- 1.8
- Default:
""
-
description
String descriptionA description of thePrimaryPort
. If not set, external tooling may default this to the JavaDoc.- Since:
- 1.8
- Default:
""
-