public interface IDeploymentDialogAPI extends IDialogAPI
| Modifier and Type | Method and Description |
|---|---|
void |
compile(IProgressDelegate aIProgressDelegate)
Compile all checked ruleflows.
|
boolean |
createDefaultSchema() |
void |
deploy(IProgressDelegate aIProgressDelegate)
Deploy all checked decision services.
|
void |
displayNoRuleflowAssetsDiscovered(java.lang.String astrTitle,
java.lang.String astrMessage)
Display a message indicating that no Ruleflow Assets were discovered within the selected
projects.
|
void |
displayTranslationForProperties() |
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.
|
java.lang.String |
getCompileFolderURI() |
int |
getCountDecisionServicesChecked(int aiMatrixID)
Return a count of the number of decision services that are checked.
|
int |
getCountTableRowsChecked(int aiMatrixID)
Return a count of the number of decision services that are checked.
|
java.lang.String |
getCreateSchemaDatabaseDisplayName() |
java.util.ArrayList<java.lang.String> |
getCreateSchemaDatabaseDisplayNameList() |
java.lang.String |
getCreateSchemaDatabaseUrl() |
java.lang.String |
getCreateSchemaDatabaseUrlFromDatabaseDisplayName(java.lang.String astrDatabaseDisplayName) |
java.lang.String |
getCreateSchemaPassword() |
java.lang.String |
getCreateSchemaUsername() |
java.util.List<java.lang.String> |
getListApplicationNames()
Retrieve a list of application names from the web console
|
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> |
getListServerGroupNames()
Retrieve a list of server group names from the web console
|
java.util.List<java.lang.String> |
getListServerURLs()
Retrieve a list of Server URLs retrieved from the Corticon Properties file.
|
java.util.List<java.lang.String> |
getListWebConsoleURLs()
Retrieve a list of web console URLs from the Corticon Properties file.
|
java.util.List<java.lang.String> |
getProposedCompileEdsFiles()
This will return the file paths of the proposed .eds files that will be compiled based on what
has been defined in the MATRIX for Compile.
|
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 |
isCellProtected(int aiMatrixID,
int aiColumnIndex,
int aiRowIndex)
Return an indication of whether the cell is protected (i.e., it cannot be edited).
|
boolean |
isCreateNewApplication()
Determine whether the system is going to create a new application or choose an existing one.
|
boolean |
isPackageDecisionCompile()
Determine whether the wizard is trying to compile Decision Services.
|
boolean |
isPackageDecisionDeployment()
Determine whether the wizard is trying to deploy Decision Services to a ccServer.
|
boolean |
isPackageDecisionWebConsoleDeployment()
Determine whether the wizard is trying to deploy Decision Services to a Web console.
|
boolean |
isPageCompleteApplications()
Determine whether the Application selection wizard page is complete.
|
boolean |
isPageCompleteCompile(int aiMatrixID)
Determine whether the Compile wizard page is complete.
|
boolean |
isPageCompleteCreateSchema() |
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 |
isPageCompletePackageDecision()
Determine whether the Pacakge Decision 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 |
loadRuleflowListToCompile(java.util.List<java.lang.String> alistURIs,
IProgressDelegate aIProgressDelegate)
Using the specified uris, compile the necessary Ruleflows into .eds files.
|
boolean |
openEditorsDirty() |
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 |
setCompileFolderURI(java.lang.String astrCompileFolderURI)
Set the compile folder URI.
|
void |
setCreateNewApplication(boolean abCreateApplication)
Sets boolean that controls if a new application is to be created for the decision services.
|
void |
setCreateSchemaDatabaseDisplayName(java.lang.String astrServerDisplayName) |
void |
setCreateSchemaDatabaseUrl(java.lang.String astrServerUrl) |
void |
setCreateSchemaPassword(java.lang.String astrPassword) |
void |
setCreateSchemaUsername(java.lang.String astrUsername) |
void |
setDependentJarFiles(java.util.List<java.io.File> alstFiles) |
void |
setDownloadFolderURI(java.lang.String astrDownloadFolderURI)
Set the download folder URI.
|
void |
setPackageDecisionToCompile() |
void |
setPackageDecisionToDeploy() |
void |
setPackageWebConsoleToDeploy() |
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 |
setWebConsoleApplication(java.lang.String astrApplication)
Set the application name
|
void |
setWebConsoleApplicationDescription(java.lang.String astrApplicationDescription)
Sets the application description
|
void |
setWebConsoleServerGroup(java.lang.String astrServerGroup)
Set the server group name
|
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.
|
boolean |
testConnectionCreateSchema(boolean abQuiet) |
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 MATRIX_ID_COMPILE
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_INDEX_DEPLOY_VOCABULARY_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 int COLUMN_INDEX_COMPILE_CHECK_MARK
static final int COLUMN_INDEX_COMPILE_EDS_FILE_NAME
static final int COLUMN_INDEX_COMPILE_DATABASE_ACCESS_MODE
static final int COLUMN_INDEX_COMPILE_RULEFLOW_URI
static final int COLUMN_COUNT_COMPILE
static final java.lang.String BOOLEAN_VALUE_CHECKED
void deploy(IProgressDelegate aIProgressDelegate)
aIProgressDelegate - Progress delegate or null if no progress reporting is needed.void download(IProgressDelegate aIProgressDelegate)
aIProgressDelegate - Progress delegate or null if no progress reporting is needed.void compile(IProgressDelegate aIProgressDelegate)
aIProgressDelegate - Progress delegate or null if no progress reporting is needed.java.util.List<java.lang.String> getProposedCompileEdsFiles()
void displayNoRuleflowAssetsDiscovered(java.lang.String astrTitle,
java.lang.String astrMessage)
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()
java.util.List<java.lang.String> getListWebConsoleURLs()
java.util.List<java.lang.String> getListApplicationNames()
java.util.List<java.lang.String> getListServerGroupNames()
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).int getCountTableRowsChecked(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 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 isCreateNewApplication()
true if a new application is to be created, false if an existing application is to be used.boolean isPageCompleteApplications()
true if and only if the Application wizard page is complete.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.boolean isPackageDecisionDeployment()
true system should go down the deploy Decision Service to ccServer route.boolean isPackageDecisionCompile()
true system should go down the compile Decision Service route.boolean isPackageDecisionWebConsoleDeployment()
boolean isPageCompletePackageDecision()
true if Pacakge Decision Project Selection wizard page is complete.boolean isPageCompleteCompile(int aiMatrixID)
aiMatrixID - Matrix ID (e.g., MATRIX_ID_COMPILE).true if Compile 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 loadRuleflowListToCompile(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 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 setWebConsoleApplication(java.lang.String astrApplication)
astrApplication - Application Name.void setWebConsoleServerGroup(java.lang.String astrServerGroup)
astrServerGroup - Server group namevoid setWebConsoleApplicationDescription(java.lang.String astrApplicationDescription)
astrApplicationDescription - Application descriptionvoid 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 setCreateNewApplication(boolean abCreateApplication)
abCreateApplication - true if a new application is to be created, false if an existing application is to be used.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.void setCompileFolderURI(java.lang.String astrCompileFolderURI)
astrCompileFolderURI - URI of folder to contain compiled .eds files.java.lang.String getCompileFolderURI()
void setPackageDecisionToDeploy()
void setPackageDecisionToCompile()
void setPackageWebConsoleToDeploy()
void setDependentJarFiles(java.util.List<java.io.File> alstFiles)
void setCreateSchemaDatabaseDisplayName(java.lang.String astrServerDisplayName)
void setCreateSchemaDatabaseUrl(java.lang.String astrServerUrl)
void setCreateSchemaUsername(java.lang.String astrUsername)
void setCreateSchemaPassword(java.lang.String astrPassword)
java.lang.String getCreateSchemaDatabaseDisplayName()
java.lang.String getCreateSchemaDatabaseUrl()
java.lang.String getCreateSchemaUsername()
java.lang.String getCreateSchemaPassword()
java.util.ArrayList<java.lang.String> getCreateSchemaDatabaseDisplayNameList()
java.lang.String getCreateSchemaDatabaseUrlFromDatabaseDisplayName(java.lang.String astrDatabaseDisplayName)
void displayTranslationForProperties()
boolean isPageCompleteCreateSchema()
boolean testConnectionCreateSchema(boolean abQuiet)
boolean createDefaultSchema()
boolean openEditorsDirty()
Copyright © 2005-2016 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.