skipcheck

TM1 client · Docs · Versions and capabilities

Tm1SupportFact

import io.skipcheck.tm1.client.version.Tm1SupportFact;

What a range of TM1 versions does with a feature, beyond what their $metadata says: a declared endpoint that answers with nothing, a write a version drops or refuses. The generated model's Tm1SupportFacts.ALL holds every fact, from spec/tm1-api.json's support section, which is checked against real servers; every client has the same facts.

Members

Tm1SupportFact constructorChecks the components, and copies observed.
appliesToWhether the fact holds for a version.
observedOnWhether the fact was seen on this very version, compared as versions are (so 11.8.3500.6 is 11.8.03500.6), rather than extrapolated to it.
toString
hashCode
equals
feature
status
from
before
observed
reason
replacement
condition

Tm1SupportFact

constructor
Tm1SupportFact(String feature, Tm1SupportStatus status, Tm1Version from, Tm1Version before, List<Tm1Version> observed, String reason, String replacement, String condition)

Checks the components, and copies observed.

Throws

IllegalArgumentException
if the status is Tm1SupportStatus.SUPPORTED, which no fact says: a supported feature has no fact

appliesTo

boolean appliesTo(Tm1Version version)

Whether the fact holds for a version: it's in [from, before).

Parameters

version
the server's product version

Returns

whether it's in the range

observedOn

boolean observedOn(Tm1Version version)

Whether the fact was seen on this very version, compared as versions are (so 11.8.3500.6 is 11.8.03500.6), rather than extrapolated to it.

Parameters

version
the server's product version

Returns

whether it's one of observed

toString

String toString()

hashCode

int hashCode()

equals

boolean equals(Object o)

feature

String feature()

status

Tm1SupportStatus status()

from

Tm1Version from()

before

Tm1Version before()

observed

List<Tm1Version> observed()

reason

String reason()

replacement

String replacement()

condition

String condition()

Also in the Javadoc.