Search in sources :

Example 1 with ManagedInternalForm

use of com.bakdata.conquery.models.forms.managed.ManagedInternalForm in project conquery by bakdata.

the class StoredQueriesProcessorTest method mockManagedForm.

private static ManagedForm mockManagedForm(User user, ManagedExecutionId id, ExecutionState execState, final Dataset dataset) {
    return new ManagedInternalForm(new ExportForm(), user, dataset) {

        {
            setState(execState);
            setCreationTime(LocalDateTime.MIN);
            setQueryId(id.getExecution());
        }
    };
}
Also used : ManagedInternalForm(com.bakdata.conquery.models.forms.managed.ManagedInternalForm) ExportForm(com.bakdata.conquery.apiv1.forms.export_form.ExportForm)

Aggregations

ExportForm (com.bakdata.conquery.apiv1.forms.export_form.ExportForm)1 ManagedInternalForm (com.bakdata.conquery.models.forms.managed.ManagedInternalForm)1