public class BuildViaAIRequest extends DataClass
factoryCreated, factoryProperties
Constructor and Description |
---|
BuildViaAIRequest() |
BuildViaAIRequest(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
CancellationController |
getCancellationController()
If provided, the
CancellationController that will be looked to for whether the build
operation is canceled. |
java.lang.Integer |
getMaxRetries()
The maximum number of retries of any one particular request to an AI engine.
|
static BuildViaAIRequest |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
BuildViaAIProgressDialog |
getProgressDialogProperties()
When
showing a progress dialog , the BuildViaAIProgressDialog properties to apply. |
java.lang.Boolean |
getShowProgressDialog()
Whether to show a progress dialog to inform the user about the processing of the build-request.
|
UserAIRequest |
getUserAIRequest()
The user's request to AI in the context of this build-via-AI operation.
|
java.lang.Boolean |
getUserCanCancel()
Whether the user can cancel the build-request.
|
BuildViaAIRequest |
setCancellationController(CancellationController cancellationController)
If provided, the
CancellationController that will be looked to for whether the build
operation is canceled. |
BuildViaAIRequest |
setMaxRetries(java.lang.Integer maxRetries)
The maximum number of retries of any one particular request to an AI engine.
|
BuildViaAIRequest |
setProgressDialogProperties(BuildViaAIProgressDialog progressDialogProperties)
When
showing a progress dialog , the BuildViaAIProgressDialog properties to apply. |
BuildViaAIRequest |
setShowProgressDialog(java.lang.Boolean showProgressDialog)
Whether to show a progress dialog to inform the user about the processing of the build-request.
|
BuildViaAIRequest |
setUserAIRequest(UserAIRequest userAIRequest)
The user's request to AI in the context of this build-via-AI operation.
|
BuildViaAIRequest |
setUserCanCancel(java.lang.Boolean userCanCancel)
Whether the user can cancel the build-request.
|
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 BuildViaAIRequest()
public BuildViaAIRequest(com.google.gwt.core.client.JavaScriptObject jsObj)
public static BuildViaAIRequest getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public BuildViaAIRequest setCancellationController(CancellationController cancellationController)
CancellationController
that will be looked to for whether the build
operation is canceled.cancellationController
- New cancellationController value. Default value is nullBuildViaAIRequest
instance, for chaining setter callspublic CancellationController getCancellationController()
CancellationController
that will be looked to for whether the build
operation is canceled.public BuildViaAIRequest setMaxRetries(java.lang.Integer maxRetries)
Note that multiple AI requests may be
involved in processing the build request. This limit is the maximum number of retries of any one request. For example,
if there are 2 requests made to the AI, then each one would be submitted at most 1 + maxRetries
number of
times for up to 2 * (1 + maxRetries)
total requests.
maxRetries
- New maxRetries value. Default value is 2BuildViaAIRequest
instance, for chaining setter callspublic java.lang.Integer getMaxRetries()
Note that multiple AI requests may be
involved in processing the build request. This limit is the maximum number of retries of any one request. For example,
if there are 2 requests made to the AI, then each one would be submitted at most 1 + maxRetries
number of
times for up to 2 * (1 + maxRetries)
total requests.
public BuildViaAIRequest setProgressDialogProperties(BuildViaAIProgressDialog progressDialogProperties)
showing a progress dialog
, the BuildViaAIProgressDialog
properties to apply.
Note : This is an advanced setting
progressDialogProperties
- New progressDialogProperties value. Default value is nullBuildViaAIRequest
instance, for chaining setter callsSGWTProperties
public BuildViaAIProgressDialog getProgressDialogProperties()
showing a progress dialog
, the BuildViaAIProgressDialog
properties to apply.public BuildViaAIRequest setShowProgressDialog(java.lang.Boolean showProgressDialog)
showProgressDialog
- New showProgressDialog value. Default value is trueBuildViaAIRequest
instance, for chaining setter callspublic java.lang.Boolean getShowProgressDialog()
public BuildViaAIRequest setUserAIRequest(UserAIRequest userAIRequest)
userAIRequest
- New userAIRequest value. Default value is nullBuildViaAIRequest
instance, for chaining setter callspublic UserAIRequest getUserAIRequest()
public BuildViaAIRequest setUserCanCancel(java.lang.Boolean userCanCancel)
userCanCancel
- New userCanCancel value. Default value is trueBuildViaAIRequest
instance, for chaining setter callspublic java.lang.Boolean getUserCanCancel()