Package com.helger.base.thirdparty
Interface IThirdPartyModule
- All Superinterfaces:
IHasDisplayName,IHasVersion
- All Known Implementing Classes:
ThirdPartyModule
Represents meta information for a single third-party module (aka JAR file).
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescription@NonNull IThirdPartyModule@NonNull IThirdPartyModule@NonNull String@NonNull ILicense@Nullable Version@Nullable StringbooleanMethods inherited from interface com.helger.base.name.IHasDisplayName
getDisplayName
-
Method Details
-
getCopyrightOwner
@NonNull String getCopyrightOwner()- Returns:
- The copyright owner of this module. May not be
null.
-
getLicense
@NonNull ILicense getLicense()- Returns:
- The license used by this module. May not be
null.
-
getVersion
@Nullable Version getVersion()- Specified by:
getVersionin interfaceIHasVersion- Returns:
- The optional version of this product. May be
nullbecause this means another place where the version number needs to be maintained.
-
getWebSiteURL
@Nullable String getWebSiteURL()- Returns:
- The optional web site of the module. May be
null.
-
isOptional
boolean isOptional()- Returns:
trueif this is an optional thirdparty module,falseif it is required.
-
getAsOptionalCopy
@NonNull IThirdPartyModule getAsOptionalCopy()- Returns:
- A copy of this module but being optional. If this module is already
optional,
thisis returned.
-
getAsNonOptionalCopy
@NonNull IThirdPartyModule getAsNonOptionalCopy()- Returns:
- A copy of this module but without being optional. If this module is
not optional,
thisis returned.
-