public interface IDeploymentDialogAPI extends IDialogAPI
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BOOLEAN_VALUE_CHECKED |
static int |
COLUMN_COUNT_DEPLOY |
static int |
COLUMN_COUNT_DOWNLOAD |
static int |
COLUMN_INDEX_DEPLOY_CHECK_MARK |
static int |
COLUMN_INDEX_DEPLOY_DATABASE_ACCESS_MODE |
static int |
COLUMN_INDEX_DEPLOY_DECISION_SERVICE_NAME |
static int |
COLUMN_INDEX_DEPLOY_RETURN_ENTITIES_MODE |
static int |
COLUMN_INDEX_DEPLOY_RULEFLOW_URI |
static int |
COLUMN_INDEX_DEPLOY_STATUS |
static int |
COLUMN_INDEX_DEPLOY_VERSION |
static int |
COLUMN_INDEX_DOWNLOAD_CHECK_MARK |
static int |
COLUMN_INDEX_DOWNLOAD_DECISION_SERVICE_NAME |
static int |
COLUMN_INDEX_DOWNLOAD_RULEFLOW_URI |
static int |
COLUMN_INDEX_DOWNLOAD_VERSION |
static int |
MATRIX_ID_DEPLOY |
static int |
MATRIX_ID_DOWNLOAD |
| Modifier and Type | Method and Description |
|---|---|
void |
deploy(IProgressDelegate aIProgressDelegate)
Deploy all checked decision services.
|
void |
displayNoRuleflowAssetsDiscovered()
Display a message indicating that no Ruleflow Assets were discovered within the selected
projects.
|
void |
download(IProgressDelegate aIProgressDelegate)
Download all checked decision services.
|
int |
fetchDefaultColumnWidth(int aiMatrixID,
int aiColumnIndex)
Fetch the default column width.
|
int |
getCellEditorType(int aiMatrixID,
int aiColumnIndex,
int aiRowIndex)
Return an integer number representing the type of cell editor to use to edit the specified cell.
|
java.lang.String |
getCellValue(int aiMatrixID,
int aiColumnIndex,
int aiRowIndex)
Get the cell value from the specified matrix, row and column index.
|
int |
getColumnCountActual(int aiMatrixID)
Return the number of columns currently used in specified matrix.
|
int |
getColumnCountDisplayed(int aiMatrixID)
Return the number of columns currently displayed in specified matrix.
|
int |
getColumnHorizontalAlignment(int aiMatrixID,
int aiColumnIndex)
Returns the recommended column horizontal alignment for a matrix column.
|
int |
getCountDecisionServicesChecked(int aiMatrixID)
Return a count of the number of decision services that are checked.
|
java.util.List<java.lang.String> |
getListCellItems(int aiMatrixID,
int aiColumnIndex,
int aiRowIndex)
Get a list of values available for the specified cell.
|
java.util.List<java.lang.String> |
getListServerURLs()
Retrieve a list of Server URLs retrieved from the Corticon Properties file.
|
int |
getRowCountActual(int aiMatrixID)
Return the number of rows currently used in specified matrix.
|
int |
getRowCountDisplayed(int aiMatrixID)
Return the number of rows currently displayed in the specified matrix.
|
java.lang.String |
getWorkspaceURI()
Get the optional workspace URI.
|
boolean |
isAnyDecisionServiceChecked(int aiMatrixID)
Return
true if any decision service is checked. |
boolean |
isCellProtected(int aiMatrixID,
int aiColumnIndex,
int aiRowIndex)
Return an indication of whether the cell is protected (i.e., it cannot be edited).
|
boolean |
isPageCompleteDecisionServices(int aiMatrixID)
Determine whether the Decision Services wizard page is complete.
|
boolean |
isPageCompleteDownloadProjectSelection()
Determine whether the Download Project Selection wizard page is complete.
|
boolean |
isPageCompleteServerConnection()
Determine whether the Server Connection wizard page is complete.
|
boolean |
isShowDatabaseAccessFields()
Determine whether the system should show database access fields.
|
void |
loadDecisionServicesToDeploy(java.util.List<java.lang.String> alistURIs,
IProgressDelegate aIProgressDelegate)
Using the specified Server URI, username and password, and a list of URIs of Ruleflows,
load the MATRIX_ID_DEPLOY.
|
void |
loadDecisionServicesToDownload()
Using the specified Server URI, username and password, load a list of decision services into
MATRIX_ID_DOWNLOAD.
|
void |
setAllDecisionServicesChecked(int aiMatrixID,
boolean abChecked)
Set the "checked" status of all Decisions Service rows.
|
boolean |
setCellValue(int aiMatrixID,
int aiColumnIndex,
int aiRowIndex,
java.lang.String astrValue)
Set the value of the specified matrix, row and column index.
|
void |
setDownloadFolderURI(java.lang.String astrDownloadFolderURI)
Set the download folder URI.
|
void |
setPassword(java.lang.String astrPassword)
Set the password.
|
void |
setReinstall(boolean abReinstall)
Set the reinstall flag.
|
void |
setServerURL(java.lang.String astrServerURL)
Set the server URL.
|
void |
setShowDatabaseFields(boolean abShowDatabaseAccessFields)
Set boolean that controls display of database access fields.
|
void |
setUsername(java.lang.String astrUsername)
Set the username.
|
void |
setWorkspaceURI(java.lang.String astrWorkspaceURI)
Set the optional workspace URI.
|
boolean |
testConnection(boolean abQuiet)
Test the server connection and display a message box indicating success or failure.
|
displayMessageBox, getIExceptionDialogDelegate, getLocale, getMessage, getMessage, getMessageBase, getMessageBoxDelegate, getPreferences, getScrollableMessageDelegate, getUserInterfaceInfoDelegate, setIExceptionDialogDelegate, setLocale, setMessageBoxDelegate, setPreferencesDelegate, setScrollableMessageDelegate, setUserInterfaceInfoDelegatestatic final int MATRIX_ID_DEPLOY
static final int MATRIX_ID_DOWNLOAD
static final int COLUMN_INDEX_DEPLOY_CHECK_MARK
static final int COLUMN_INDEX_DEPLOY_DECISION_SERVICE_NAME
static final int COLUMN_INDEX_DEPLOY_VERSION
static final int COLUMN_INDEX_DEPLOY_STATUS
static final int COLUMN_INDEX_DEPLOY_DATABASE_ACCESS_MODE
static final int COLUMN_INDEX_DEPLOY_RETURN_ENTITIES_MODE
static final int COLUMN_INDEX_DEPLOY_RULEFLOW_URI
static final int COLUMN_COUNT_DEPLOY
static final int COLUMN_INDEX_DOWNLOAD_CHECK_MARK
static final int COLUMN_INDEX_DOWNLOAD_DECISION_SERVICE_NAME
static final int COLUMN_INDEX_DOWNLOAD_VERSION
static final int COLUMN_INDEX_DOWNLOAD_RULEFLOW_URI
static final int COLUMN_COUNT_DOWNLOAD
static final java.lang.String BOOLEAN_VALUE_CHECKED
void deploy(IProgressDelegate aIProgressDelegate)
aIProgressDelegate - Progress delegate or null if no progress reporting is needed.void displayNoRuleflowAssetsDiscovered()
void download(IProgressDelegate aIProgressDelegate)
aIProgressDelegate - Progress delegate or null if no progress reporting is needed.int fetchDefaultColumnWidth(int aiMatrixID,
int aiColumnIndex)
aiMatrixID - Matrix ID (e.g., MATRIX_ID_DEPLOY).aiColumnIndex - Index of column whose value should be returned.int getCellEditorType(int aiMatrixID,
int aiColumnIndex,
int aiRowIndex)
aiMatrixID - Matrix ID (e.g., MATRIX_ID_DEPLOY).aiColumnIndex - Index of column whose value should be returned.aiRowIndex - Index of row whose value should be returned.java.lang.String getCellValue(int aiMatrixID,
int aiColumnIndex,
int aiRowIndex)
aiMatrixID - Matrix ID (e.g., MATRIX_ID_DEPLOY).aiColumnIndex - Index of column whose value should be returned.aiRowIndex - Index of row whose value should be returned.int getColumnCountActual(int aiMatrixID)
aiMatrixID - Matrix ID (e.g., MATRIX_ID_DEPLOY).java.util.List<java.lang.String> getListServerURLs()
int getColumnCountDisplayed(int aiMatrixID)
aiMatrixID - Matrix ID (e.g., MATRIX_ID_DEPLOY).int getColumnHorizontalAlignment(int aiMatrixID,
int aiColumnIndex)
aiMatrixID - Matrix ID (e.g., MATRIX_ID_DEPLOY).aiColumnIndex - Column index.int getCountDecisionServicesChecked(int aiMatrixID)
aiMatrixID - Matrix ID (e.g., MATRIX_ID_DEPLOY).java.util.List<java.lang.String> getListCellItems(int aiMatrixID,
int aiColumnIndex,
int aiRowIndex)
aiMatrixID - Matrix ID (e.g., MATRIX_ID_DEPLOY).aiColumnIndex - Index of column whose value should be returned.aiRowIndex - Index of row whose value should be returned.int getRowCountActual(int aiMatrixID)
aiMatrixID - Matrix ID (e.g., MATRIX_ID_DEPLOY).int getRowCountDisplayed(int aiMatrixID)
aiMatrixID - Matrix ID (e.g., MATRIX_ID_DEPLOY).java.lang.String getWorkspaceURI()
null.boolean isAnyDecisionServiceChecked(int aiMatrixID)
true if any decision service is checked.aiMatrixID - Matrix ID (e.g., MATRIX_ID_DEPLOY).true if any decision service is checked.boolean isCellProtected(int aiMatrixID,
int aiColumnIndex,
int aiRowIndex)
aiMatrixID - Matrix ID.aiColumnIndex - Column index of cell whose state is to be tested.aiRowIndex - Row index of cell whose state is to be tested.true if the specified cell is protected.boolean isPageCompleteServerConnection()
true if Server Connection wizard page is complete.boolean isShowDatabaseAccessFields()
true system should show database access fields.boolean isPageCompleteDecisionServices(int aiMatrixID)
aiMatrixID - Matrix ID (e.g., MATRIX_ID_DEPLOY).true if Decision Services wizard page is complete.boolean isPageCompleteDownloadProjectSelection()
true if Download Project Selection wizard page is complete.void loadDecisionServicesToDeploy(java.util.List<java.lang.String> alistURIs,
IProgressDelegate aIProgressDelegate)
alistURIs - List of URIs.aIProgressDelegate - Progress delegate or null if no progress reporting is needed.void loadDecisionServicesToDownload()
void setAllDecisionServicesChecked(int aiMatrixID,
boolean abChecked)
aiMatrixID - Matrix ID (e.g., MATRIX_ID_DEPLOY).abChecked - true to set all rows to checked; otherwise unchecked.boolean setCellValue(int aiMatrixID,
int aiColumnIndex,
int aiRowIndex,
java.lang.String astrValue)
aiMatrixID - Matrix ID (e.g., MATRIX_ID_DEPLOY).aiColumnIndex - Index of column whose value should be set.aiRowIndex - Index of row whose value should be set.astrValue - Value to set.true if the set command was successful.void setServerURL(java.lang.String astrServerURL)
astrServerURL - Server URL.void setUsername(java.lang.String astrUsername)
astrUsername - Username.void setPassword(java.lang.String astrPassword)
astrPassword - Password.void setReinstall(boolean abReinstall)
abReinstall - true to enable re-installation.void setShowDatabaseFields(boolean abShowDatabaseAccessFields)
abDatabaseAccessEnabled - trueboolean testConnection(boolean abQuiet)
abQuiet - true
true if connection was successful.void setWorkspaceURI(java.lang.String astrWorkspaceURI)
astrWorkspaceURI - WorkspaceURI.void setDownloadFolderURI(java.lang.String astrDownloadFolderURI)
astrDownloadFolderURI - URI of folder to contain downloaded assets.Copyright © 2005-2013 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.