Tm1Dialect
import io.skipcheck.tm1.client.version.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.
Members
V11 static | TM1 11 on-premises. |
name | The deployment kind, for logs and messages. |
serviceRoot | The REST API's service root for a server's address. |
V11
staticTm1Dialect V11TM1 11 on-premises: the REST API is at http(s)://host:port/api/v1/.
name
String name()The deployment kind, for logs and messages.
Returns
- the name, such as
TM1 11
serviceRoot
String serviceRoot(String address)The REST API's service root for a server's address.
Parameters
address- where the server is, such as
http://tm1:8010; a full service root is accepted too
Returns
- the service root, ending in
/
Throws
IllegalArgumentException- if
addressisn't an address of this kind
Also in the Javadoc.