Enum PackageLinkage
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum PackageLinkage extends Enum<PackageLinkage>
A class to denote the linkage type between two packages.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPackageLinkage.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Integerordinalprivate final EnumEntries<PackageLinkage>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description DYNAMICA dynamically linked package whose source code is not directly defined in the project itself, but which is retrieved as an external artifact.
STATICA statically linked package whose source code is not directly defined in the project itself, but which is retrieved as an external artifact.
PROJECT_DYNAMICA dynamically linked package whose source code is part of the project itself, e.g. a subproject of a multi-project.
PROJECT_STATICA statically linked package whose source code is part of the project itself, e.g. a subproject of a multi-project.
-
Method Summary
Modifier and Type Method Description final PackageLinkagevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<PackageLinkage>values()Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<PackageLinkage>getEntries()A class to denote the linkage type between two packages. -
-
Method Detail
-
valueOf
final PackageLinkage valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<PackageLinkage> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<PackageLinkage> getEntries()
A class to denote the linkage type between two packages.
-
-
-
-