Package org.forgerock.json.resource
Interface CrestApplication
public interface CrestApplication
Declare a CREST Application. This interface binds together the CREST
ConnectionFactory
that will
be used to connect to the API, and the API ID and Version that will be used when describing it.-
Method Summary
Modifier and TypeMethodDescriptiongetApiId()
Get the API ID, that will be used in theApiDescription
.Get the API Version, that will be used in theApiDescription
.Get the connection factory for the application.
-
Method Details
-
getConnectionFactory
Get the connection factory for the application.- Returns:
- The factory.
-
getApiId
Get the API ID, that will be used in theApiDescription
.- Returns:
- The ID.
-
getApiVersion
Get the API Version, that will be used in theApiDescription
.- Returns:
- The Version.
-