Class API
java.lang.Object
org.revapi.API
Represents a set of archives that define an API.
- Since:
- 0.1
- Author:
- Lukas Krejci
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic API.Builderbuilder()getArchiveRole(Archive archive) Returns the role of the archive in the API.The set of archives that somehow supplement the main ones (for example they contain definitions used in the main archives).static API.Builderstatic API.BuildertoString()
-
Constructor Details
-
API
-
-
Method Details
-
builder
-
of
-
of
-
getArchives
-
getSupplementaryArchives
The set of archives that somehow supplement the main ones (for example they contain definitions used in the main archives). In Java, supplementary archives would be the JARs that need to be on the compilation classpath. Can be null if no such archives are needed.- Returns:
- the set of supplementary archives
-
getArchiveRole
Returns the role of the archive in the API.- Parameters:
archive- the archive to check- Returns:
- the role of the archive in the API
-
toString
-