public class BuildUIViaAIRequest extends BuildViaAIRequest
id
factoryCreated, factoryProperties
Constructor and Description |
---|
BuildUIViaAIRequest() |
BuildUIViaAIRequest(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getAllowedUITypes()
The list of allowed UI types.
|
java.lang.Integer |
getMaxValidationRetries()
The maximum numnber of re-attempts to have the AI fix a validation error.
|
static BuildUIViaAIRequest |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
UserAIRequest |
getUserAIRequest()
The request from the user describing what UI they would like the AI to build.
|
BuildUIViaAIValidationType[] |
getValidationTypes()
The types of validation to use on AI-generated JS code, in the order in which they should be applied.
|
BuildUIViaAIRequest |
setAllowedUITypes(java.lang.String... allowedUITypes)
The list of allowed UI types.
|
BuildUIViaAIRequest |
setCustomValidator(BuildUIViaAICustomValidator customValidator)
The custom validation routine to use.
|
BuildUIViaAIRequest |
setMaxValidationRetries(java.lang.Integer maxValidationRetries)
The maximum numnber of re-attempts to have the AI fix a validation error.
|
BuildUIViaAIRequest |
setUserAIRequest(UserAIRequest userAIRequest)
The request from the user describing what UI they would like the AI to build.
|
BuildUIViaAIRequest |
setValidationTypes(BuildUIViaAIValidationType... validationTypes)
The types of validation to use on AI-generated JS code, in the order in which they should be applied.
|
getMaxRetries, getProgressDialogProperties, getShowProgressDialog, getUserCanCancel, setMaxRetries, setProgressDialogProperties, setShowProgressDialog, setUserCanCancel
getCancellationController, setCancellationController
getRef, getRef, internalSetID
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
public BuildUIViaAIRequest()
public BuildUIViaAIRequest(com.google.gwt.core.client.JavaScriptObject jsObj)
public static BuildUIViaAIRequest getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public BuildUIViaAIRequest setAllowedUITypes(java.lang.String... allowedUITypes)
A "UI type" string is usually not the same as the corresponding Smart GWT component type name.
allowedUITypes
- New allowedUITypes value. Default value is nullBuildUIViaAIRequest
instance, for chaining setter callspublic java.lang.String[] getAllowedUITypes()
A "UI type" string is usually not the same as the corresponding Smart GWT component type name.
public BuildUIViaAIRequest setCustomValidator(BuildUIViaAICustomValidator customValidator)
"custom"
is not included among the
validationTypes
, then it is implicitly assumed
that custom validation will be performed last.customValidator
- New customValidator value. Default value is nullBuildUIViaAIRequest
instance, for chaining setter callspublic BuildUIViaAIRequest setMaxValidationRetries(java.lang.Integer maxValidationRetries)
maxValidationRetries
- New maxValidationRetries value. Default value is 1BuildUIViaAIRequest
instance, for chaining setter callspublic java.lang.Integer getMaxValidationRetries()
public BuildUIViaAIRequest setUserAIRequest(UserAIRequest userAIRequest)
setUserAIRequest
in class BuildViaAIRequest
userAIRequest
- New userAIRequest value. Default value is nullBuildUIViaAIRequest
instance, for chaining setter callspublic UserAIRequest getUserAIRequest()
getUserAIRequest
in class BuildViaAIRequest
public BuildUIViaAIRequest setValidationTypes(BuildUIViaAIValidationType... validationTypes)
validationTypes
- New validationTypes value. Default value is ["default"]BuildUIViaAIRequest
instance, for chaining setter callspublic BuildUIViaAIValidationType[] getValidationTypes()