@Port @Retention(value=CLASS) @Target(value={PACKAGE,TYPE}) @Documented public @interface PrimaryPort
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.PrimaryAdapter| Modifier and Type | Optional Element and Description |
|---|---|
String |
description
A description of the
PrimaryPort. |
String |
name
An identifier for the name of the
PrimaryPort to identify and group multiple implementing classes of the
same PrimaryPort. |
public abstract String name
PrimaryPort to identify and group multiple implementing classes of the
same PrimaryPort. If not set, external tooling may default this to the simple name of the annotated type or
package.public abstract String description
PrimaryPort. If not set, external tooling may default this to the JavaDoc.Copyright © 2023. All rights reserved.