Search in sources :

Example 1 with IFormDefinition

use of org.opendatakit.briefcase.model.IFormDefinition in project briefcase by opendatakit.

the class RetrieveAvailableFormsFromServer method doAction.

public void doAction() throws XmlDocumentFetchException, ParsingException {
    List<RemoteFormDefinition> formDefs = Collections.emptyList();
    formDefs = ServerFetcher.retrieveAvailableFormsFromServer(originServerInfo, terminationFuture);
    for (IFormDefinition fd : formDefs) {
        formStatuses.add(new FormStatus(FormStatus.TransferType.GATHER, fd));
    }
}
Also used : RemoteFormDefinition(org.opendatakit.briefcase.model.RemoteFormDefinition) FormStatus(org.opendatakit.briefcase.model.FormStatus) IFormDefinition(org.opendatakit.briefcase.model.IFormDefinition)

Aggregations

FormStatus (org.opendatakit.briefcase.model.FormStatus)1 IFormDefinition (org.opendatakit.briefcase.model.IFormDefinition)1 RemoteFormDefinition (org.opendatakit.briefcase.model.RemoteFormDefinition)1