public class InitializationWizardModel extends Object
InitializationFilter
uses this model object to hold all properties that are edited by
the user in the wizard. All attributes on this model object are added to all templates rendered
by the InitializationFilter
.Modifier and Type | Field and Description |
---|---|
Boolean |
addDemoData
Does the user want to add the demo data to the database?
|
static String |
ADMIN_DEFAULT_PASSWORD |
String |
adminUserPassword
Password for the admin user if the database was created now
|
Boolean |
autoUpdateDatabase
Asked for on otherproperties.vm page to know if the runtime property for auto updating their
db is true/false
|
boolean |
canCreate
Whether the runtime properties file could possible be created.
|
String |
cannotCreateErrorMessage
Error message from not being able to create the runtime properties file (only read by the
velocity scripts)
|
boolean |
canWrite
Whether the runtime file can be edited (only read by the velocity scripts)
|
String |
createDatabasePassword
Filled in on databasesetup.vm
|
Boolean |
createDatabaseUser
if the user asked us to create the user for openmrs
|
String |
createDatabaseUsername
Filled in on databasesetup.vm
|
Boolean |
createTables
Asked for on the databasetablesanduser.vm page to know if their existing database has the
tables or not
|
String |
createUserPassword
DB user that can create an openmrs db user Filled in on databasetablesanduser.vm
|
String |
createUserUsername
DB user that can create an openmrs db user Filled in on databasetablesanduser.vm
|
String |
currentDatabasePassword
The password of a user that exists that can read/write to openmrs.
|
String |
currentDatabaseUsername
The username of a user that exists that can read/write to openmrs.
|
Integer |
currentStepNumber
The current step. e.g Step 1 of ...
|
String |
databaseConnection
Filled out by user on the databasesetup.vm page Looks like:
|
String |
databaseDriver
Optional Database Driver string filled in on databasesetup.vm
|
String |
databaseName
Filled out by the user on the databasesetup.vm page
|
String |
databaseRootPassword
MySQL root account password used for simple installation.
|
static String |
DEFAULT_DATABASE_NAME
Default database name to use unless user specifies another in the wizard or they are creating
a test installation
|
static String |
FOOTER_TEMPLATE |
Boolean |
hasCurrentDatabaseUser
True/false marker for the
question"Do you currently have a database user other than root that has read/write access"
|
Boolean |
hasCurrentOpenmrsDatabase
True/false marker for the question "Do you currently have an OpenMRS database installed"
|
static String |
HEADER_TEMPLATE |
String |
implementationId
Implementation ID.
|
String |
implementationIdDescription
Text describing the implementation.
|
String |
implementationIdName
Implementation name.
|
String |
implementationIdPassPhrase
Pass phrase used to validate who uses your implementation ID.
|
Boolean |
importTestData
Enables importing test data from the remote server
|
static String |
INSTALL_METHOD_ADVANCED |
static String |
INSTALL_METHOD_AUTO |
static String |
INSTALL_METHOD_SIMPLE |
static String |
INSTALL_METHOD_TESTING |
String |
installMethod |
String |
localeToSave |
Boolean |
moduleWebAdmin
Asked for on the otherproperties.vm page to know if the allow_web_admin runtime property is
true/false
|
Integer |
numberOfSteps
The total number of steps. e.g Step ... of 5
|
static String |
OPENMRS_VERSION |
String |
remotePassword
The password to use to authenticate to the remote system
|
String |
remoteUrl
The url to the remote system
|
String |
remoteUsername
The username to use to authenticate to the remote system
|
String |
runtimePropertiesPath
The location of the runtime properties file (only read by the velocity scripts)
|
String |
setupPageUrl |
List<WizardTask> |
tasksToExecute
The tasks to be executed that the user selected from the wizard's prompts
|
List<String> |
workLog
Records completed tasks and are displayed at the top of the page upon error
|
Constructor and Description |
---|
InitializationWizardModel() |
public static final String HEADER_TEMPLATE
public static final String FOOTER_TEMPLATE
public static final String INSTALL_METHOD_SIMPLE
public static final String INSTALL_METHOD_ADVANCED
public static final String INSTALL_METHOD_TESTING
public static final String INSTALL_METHOD_AUTO
public static final String ADMIN_DEFAULT_PASSWORD
public static final String OPENMRS_VERSION
public static final String DEFAULT_DATABASE_NAME
public List<String> workLog
public boolean canCreate
public String cannotCreateErrorMessage
public boolean canWrite
public String runtimePropertiesPath
public String installMethod
public Boolean hasCurrentOpenmrsDatabase
public Boolean hasCurrentDatabaseUser
public String databaseName
public String databaseConnection
public String databaseDriver
public String databaseRootPassword
public String createDatabaseUsername
public String createDatabasePassword
public String createUserUsername
public String createUserPassword
public String currentDatabaseUsername
public String currentDatabasePassword
public Boolean createTables
public Boolean createDatabaseUser
public Boolean importTestData
public Boolean addDemoData
public Boolean moduleWebAdmin
public Boolean autoUpdateDatabase
public String adminUserPassword
public String implementationIdName
public String implementationId
public String implementationIdPassPhrase
public String implementationIdDescription
public String setupPageUrl
public List<WizardTask> tasksToExecute
public String localeToSave
public String remoteUrl
public String remoteUsername
public String remotePassword
public Integer currentStepNumber
public Integer numberOfSteps
Copyright © 2024 OpenMRS Inc.. All rights reserved.