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?
|
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.
|
String |
databaseConnection
Filled out by user on the databasesetup.vm page Looks like:
|
String |
databaseName
Filled out by the user on the databasesetup.vm page
|
static String |
footerTemplate |
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 |
headerTemplate |
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 |
moduleWebAdmin
Asked for on the otherproperties.vm page to know if the allow_web_admin runtime property is
true/false
|
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 headerTemplate
public static final String footerTemplate
public List<String> workLog
public boolean canCreate
public String cannotCreateErrorMessage
public boolean canWrite
public String runtimePropertiesPath
public Boolean hasCurrentOpenmrsDatabase
public Boolean hasCurrentDatabaseUser
public String databaseName
public String databaseConnection
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 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
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.