Interface Tm1Dialect
public interface Tm1Dialect
How to reach a kind of TM1 deployment: structural differences such as the REST API's
root path. Only TM1 11 on-premises (
V11) is implemented. The interface exists
so TM1 12 (Planning Analytics Engine) and Planning Analytics Cloud, which have
different roots and authentication, can be added without a redesign.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Tm1DialectTM1 11 on-premises: the REST API is athttp(s)://host:port/api/v1/. -
Method Summary
Modifier and TypeMethodDescriptionname()The deployment kind, for logs and messages.serviceRoot(String address) The REST API's service root for a server's address.
-
Field Details
-
V11
TM1 11 on-premises: the REST API is athttp(s)://host:port/api/v1/.
-
-
Method Details
-
name
-
serviceRoot
The REST API's service root for a server's address.- Parameters:
address- where the server is, such ashttp://tm1:8010; a full service root is accepted too- Returns:
- the service root, ending in
/ - Throws:
IllegalArgumentException- ifaddressisn't an address of this kind
-