public class InputRequiredException
extends java.lang.Exception
DatabaseUpdater
to signal that a given update requires input from the user.Modifier and Type | Class and Description |
---|---|
static class |
InputRequiredException.DATATYPE
Required input will be in one of these forms
|
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
InputRequiredException(java.util.Map<java.lang.String,InputRequiredException.DATATYPE> requiredInput)
Common constructor taking in a message to give the user some context as to where/why the
authentication failed.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,InputRequiredException.DATATYPE> |
getRequiredInput()
The user prompts and datatype for each question that the user has to provide input for
|
public static final long serialVersionUID
public InputRequiredException(java.util.Map<java.lang.String,InputRequiredException.DATATYPE> requiredInput)
requiredInput
- a list of questions that need to be answered in the form question, typepublic java.util.Map<java.lang.String,InputRequiredException.DATATYPE> getRequiredInput()
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.