public class ConsentDocumentStep extends Step
Constructor and Description |
---|
ConsentDocumentStep(java.lang.String identifier) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConfirmMessage()
Gets the message to show the user when they are asked to confirm their agreement.
|
java.lang.String |
getConsentHTML()
Returns the HTML string of the consent document.
|
java.lang.Class |
getStepLayoutClass()
Returns the class that the
ViewTaskActivity should
instantiate to display this step. |
int |
getStepTitle()
Gets the int id for the title to display in the action bar (optional).
|
void |
setConfirmMessage(java.lang.String confirmMessage)
Sets the message to show the user when they are asked to confirm their agreement.
|
void |
setConsentHTML(java.lang.String html)
Sets the HTML string that is used to show the user your consent document.
|
getIdentifier, getText, getTitle, isOptional, setOptional, setStepLayoutClass, setStepTitle, setText, setTitle
public int getStepTitle()
Step
getStepTitle
in class Step
public java.lang.Class getStepLayoutClass()
Step
ViewTaskActivity
should
instantiate to display this step.
This method is used within the framework so that steps can define their step view controller pairing.
Outside the framework, developers should instantiate the required view controller in their ViewTaskActivity delegate to override the ViewTaskActivity's default.
getStepLayoutClass
in class Step
StepLayout
for
this steppublic java.lang.String getConsentHTML()
public void setConsentHTML(java.lang.String html)
html
- a string representation of the entire consent HTML documentpublic java.lang.String getConfirmMessage()
public void setConfirmMessage(java.lang.String confirmMessage)
confirmMessage
- the string to show the user during confirmation