public class BuildViaAIRequest extends AsyncOperationParams
idfactoryCreated, factoryProperties| Constructor and Description |
|---|
BuildViaAIRequest() |
BuildViaAIRequest(com.google.gwt.core.client.JavaScriptObject jsObj) |
| Modifier and Type | Method and Description |
|---|---|
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 |
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.
|
getCancellationController, setCancellationControllergetRef, getRef, internalSetIDapplyFactoryProperties, 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, setFactoryCreatedpublic BuildViaAIRequest()
public BuildViaAIRequest(com.google.gwt.core.client.JavaScriptObject jsObj)
public static BuildViaAIRequest getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
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 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 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 callsSGWTPropertiespublic 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)
showProgressDialog is true, then the progress dialog will have a cancel button if
userCanCancel is set. Other user cancellation mechanisms may be added in the future, but
userCanCancel will be respected.
userCanCancel - New userCanCancel value. Default value is trueBuildViaAIRequest instance, for chaining setter callspublic java.lang.Boolean getUserCanCancel()
showProgressDialog is true, then the progress dialog will have a cancel button if
userCanCancel is set. Other user cancellation mechanisms may be added in the future, but
userCanCancel will be respected.