com.hp.lft.sdk.ai

Class AiObjectDescription.Init<T extends AiObjectDescription.Init<T>>

    • Constructor Detail

      • Init

        protected Init()
    • Method Detail

      • self

        protected abstract T self()
      • aiClass

        public T aiClass(String aiClass)
        Initializes the object's aiClass property.
        Parameters:
        aiClass - the AI Class type of the AI object (you can use the AiTypes helper class).
        Returns:
        the description instance with the updated state (builder pattern).
      • text

        public T text(String text)
        Initializes the object's text property.
        Parameters:
        text - the associated text of the AI object.
        Returns:
        the description instance with the updated state (builder pattern).
      • locator

        public T locator(Locator locator)
        Initializes the object's locator property.
        Parameters:
        locator - used to describe the unique location of an object that may appear multiple times in the application.
        Returns:
        the description instance with the updated state (builder pattern).