Enum AIBuildUIStepType
- All Implemented Interfaces:
ValueEnum
,Serializable
,Comparable<AIBuildUIStepType>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAI describes component(s) to add to the current UI.Changes component defaultsFor each component description from an "addComponents" step, AI is asked to generate a palette node for that particular component according to the AI-generated description.Deletes one or more componentsAsks AI whether the request is for a new UI, or modification of the existing UI.Asks AI to generate a short title for the UI and the purpose of the UI.Signals that AI is finished building UI.Asks AI to fix a component, given the list of validation errorsAsks AI to correct the UI, given the list of validation errors.Rearranges the top-level componentsValidate a UI component against schemasValidates a whole UI. -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
static AIBuildUIStepType
Returns the enum constant of this type with the specified name.static AIBuildUIStepType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SUMMARIZEAIREQUEST
-
DETERMINEISNEW
Asks AI whether the request is for a new UI, or modification of the existing UI. (Note: we also ask AI to generate a title and purpose description.)If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "determineIsNew". -
DETERMINETITLEANDPURPOSE
Asks AI to generate a short title for the UI and the purpose of the UI. This is only used when AI.buildUI() is called with an empty/blank existing UI, in which case we know isNew:true, but don't have the title or purpose.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "determineTitleAndPurpose". -
DETERMINENEXTSTEP
-
ADDCOMPONENTS
AI describes component(s) to add to the current UI.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "addComponents". -
CREATECOMPONENT
For each component description from an "addComponents" step, AI is asked to generate a palette node for that particular component according to the AI-generated description.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "createComponent". -
VALIDATECOMPONENT
Validate a UI component against schemasIf this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "validateComponent". -
FIXCOMPONENT
Asks AI to fix a component, given the list of validation errorsIf this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "fixComponent". -
CHANGECOMPONENTDEFAULTS
Changes component defaultsIf this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "changeComponentDefaults". -
REARRANGECOMPONENTS
Rearranges the top-level componentsIf this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "rearrangeComponents". -
DELETECOMPONENTS
Deletes one or more componentsIf this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "deleteComponents". -
VALIDATEUI
Validates a whole UI. This is used when AI makes changes to a part of the UI, to verify that it didn't break anything that references it, such as a Component Action referring to a component that is proposed to be deleted.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "validateUI". -
FIXUI
Asks AI to correct the UI, given the list of validation errors.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "fixUI". -
DONE
Signals that AI is finished building UI.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "done".
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
-