Class BuildUIViaAIContext

All Implemented Interfaces:
HasHandlers
Direct Known Subclasses:
BuildDataBoundUIViaAIContext

public class BuildUIViaAIContext extends BuildViaAIContext
Context for an ongoing build-UI-via-AI operation.
  • Constructor Details

    • BuildUIViaAIContext

      public BuildUIViaAIContext()
    • BuildUIViaAIContext

      public BuildUIViaAIContext(JavaScriptObject jsObj)
  • Method Details

    • getOrCreateRef

      public static BuildUIViaAIContext getOrCreateRef(JavaScriptObject jsObj)
    • setBuildRequest

      public BuildUIViaAIContext setBuildRequest(BuildUIViaAIRequest buildRequest)
      The initial request. It is read-only; do not modify it during handling of the request.
      Parameters:
      buildRequest - New buildRequest value. Default value is null
      Returns:
      BuildUIViaAIContext instance, for chaining setter calls
    • getBuildRequest

      public BuildUIViaAIRequest getBuildRequest()
      The initial request. It is read-only; do not modify it during handling of the request.
      Overrides:
      getBuildRequest in class BuildViaAIContext
      Returns:
      Current buildRequest value. Default value is null
    • setJSCode

      public BuildUIViaAIContext setJSCode(String jsCode)
      The working JavaScript code.
      Parameters:
      jsCode - New jsCode value. Default value is null
      Returns:
      BuildUIViaAIContext instance, for chaining setter calls
    • getJSCode

      public String getJSCode()
      The working JavaScript code.
      Returns:
      Current jsCode value. Default value is null
    • setNodes

      public BuildUIViaAIContext setNodes(PaletteNode... nodes)
      The working PaletteNodes.
      Parameters:
      nodes - New nodes value. Default value is null
      Returns:
      BuildUIViaAIContext instance, for chaining setter calls
    • getNodes

      public PaletteNode[] getNodes()
      The working PaletteNodes.
      Returns:
      Current nodes value. Default value is null
    • setUIType

      public BuildUIViaAIContext setUIType(String uiType)
      The AI-selected UI type.
      Parameters:
      uiType - New uiType value. Default value is null
      Returns:
      BuildUIViaAIContext instance, for chaining setter calls
    • getUIType

      public String getUIType()
      The AI-selected UI type.
      Returns:
      Current uiType value. Default value is null