Class EssServerAiImpl

java.lang.Object
com.appliedolap.essbase.impl.EssServerAiImpl
All Implemented Interfaces:
EssServerAi

public class EssServerAiImpl extends Object implements EssServerAi
The server-level half of the AI diagnosis, made of exactly the rungs that do not need a cube.

Every piece of this already existed inside EssCubeAiImpl as a separate static step - the chain is walked rung by rung precisely so a break can be attributed to one - so this adds no new reading of the server, only a shorter walk that stops where the cube-specific part begins.

  • Constructor Details

    • EssServerAiImpl

      public EssServerAiImpl(ApiContext api)
  • Method Details

    • getReadiness

      public EssAiReadiness getReadiness()
      Description copied from interface: EssServerAi
      Works out how far this server's AI setup goes, without reference to any application or cube. Never throws - an unreachable server comes back as EssAiReadiness.State.UNDETERMINED.
      Specified by:
      getReadiness in interface EssServerAi
      Returns:
      the diagnosis, never null
    • getReadiness

      public EssAiReadiness getReadiness(EssAiFeature feature)
      Description copied from interface: EssServerAi
      The same diagnosis, narrowed to one capability, so that a server with AI on but the MDX generator off reports EssAiReadiness.State.FEATURE_DISABLED rather than readiness.
      Specified by:
      getReadiness in interface EssServerAi
      Parameters:
      feature - the capability to ask about, or null for AI in general
      Returns:
      the diagnosis, never null
    • getEnabledFeatures

      public Set<EssAiFeature> getEnabledFeatures()
      Description copied from interface: EssServerAi
      Which AI capabilities this server has switched on, in one request.

      Says nothing about whether anything is configured behind them - a capability can be on with no GenAI connection on the server at all, which is the usual state of a fresh 26.1 install. This is the inventory; EssServerAi.getReadiness(EssAiFeature) is the diagnosis.

      Specified by:
      getEnabledFeatures in interface EssServerAi
      Returns:
      the enabled capabilities, empty on a server too old to have any