Constructor
new ExportQuestion(opts)
Creates a new ExportQuestion
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
object |
Object containing properties to set. Properties
|
- Source:
Methods
(static) listNameFor() → {string}
Returns the list name (property name) for the specified type. For example, listNameFor('AppSetting') returns 'appSettings', which is the name of the property on this object that lists AppSettings selected for export.
- Source:
copyResponseToObject()
This copies the user's response to a field of some existing setting (AppSetting, BagItProfile, RemoteRepository or StorageService) and saves the updated setting.
- Source:
getTargetClass()
Returns the class to which this question pertains. The returned class will be one of AppSetting, BagItProfile, RemoteRepository, StorageService or null. If null, something is wrong with the question.
- Source:
tryToGetValue() → {string}
Try to get the existing value for the object/field this question refers to, so we can pre-populate the answer.
- Source: