skipcheck

TM1 client · Docs · Versions and capabilities

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 staticTM1 11 on-premises.
nameThe deployment kind, for logs and messages.
serviceRootThe REST API's service root for a server's address.

V11

static
Tm1Dialect V11

TM1 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 address isn't an address of this kind

Also in the Javadoc.