public abstract class BaseInteraction extends Object
Constructor and Description |
---|
BaseInteraction() |
Modifier and Type | Method and Description |
---|---|
void |
displayMessages() |
void |
displayOptionsHelp(IStateAccess state)
This method should not be called until the interaction initializes
the UserOptionItem with three param constructor.
|
protected void |
displayPromptMessage(IStateAccess state) |
abstract ArrayList |
getDisplayMessages()
Method that needs to be implemented by the sub-classes to return
the Localized Messages that need to be displayed as part of the
interaction.
|
abstract LocalizedMessage |
getPromptMessage(IStateAccess state)
Method that needs to be implemented by the sub-classes to return the
prompt message that needs to be displayed for the user to input data.
|
abstract String |
getPromptValue(IStateAccess state)
Method that needs to be implemented by the sub-classes to return a
prompt value (default value) that needs to be displayed for the user to
input data.
|
abstract BaseOptions |
getUserOptions(IStateAccess state)
Method that needs to be implemented by the sub-classes to return
the ResponseOption's and return the appropriate BaseOptions. * viz.,
SingleLineOptions & MutliLineOptions.
|
public abstract ArrayList getDisplayMessages()
public abstract BaseOptions getUserOptions(IStateAccess state) throws InstallException
state
- IStateAccessInstallException
- if an error occurred while getting the user
optionspublic abstract LocalizedMessage getPromptMessage(IStateAccess state)
state
- IStateAccesspublic abstract String getPromptValue(IStateAccess state) throws InstallException
state
- IStateAccessInstallException
- TODOpublic void displayOptionsHelp(IStateAccess state) throws InstallException
state
- the IStateAcessInstallException
public void displayMessages()
protected void displayPromptMessage(IStateAccess state) throws InstallException
InstallException
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.