Package com.tngtech.archunit
Annotation Interface PublicAPI
Marks classes and members that are part of ArchUnit's public API. I.e. users of ArchUnit should ONLY use
those classes and members.
Furthermore the specified
Any usage of ArchUnit's classes outside of this contract, is not supported and may break with any (even minor) release.
Furthermore the specified
usage()
defines the way, this public API should be used.PublicAPI.Usage.ACCESS
defines that this class or member should only be accessed (e.g. calling a method)
by users of ArchUnit. PublicAPI.Usage.INHERITANCE
defines that this class / interface may be extended / implemented
by users of ArchUnit. Note that this naturally includes permission to access any accessible members
of this class / interface.Any usage of ArchUnit's classes outside of this contract, is not supported and may break with any (even minor) release.
-
Nested Class Summary
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionMarks how this API is supposed to be used. -
Optional Element Summary
Modifier and TypeOptional ElementDescriptionMarks the state of this API, i.e.
-
Element Details
-
usage
PublicAPI.Usage usageMarks how this API is supposed to be used.- See Also:
-
-
-
state
PublicAPI.State stateMarks the state of this API, i.e. the maturity. The default isSTABLE
, if not explicitly marked otherwise.- See Also:
- Default:
- STABLE
-