Search in sources :

Example 1 with FixedDatastoreProperties

use of org.talend.components.localio.fixed.FixedDatastoreProperties in project components by Talend.

the class FixedInputRuntimeTest method createComponentProperties.

/**
 * @return the properties for this component fully initialized with the default values.
 */
public static FixedInputProperties createComponentProperties() {
    FixedDatastoreProperties datastoreProps = new FixedDatastoreProperties(null);
    datastoreProps.init();
    FixedDatasetProperties datasetProps = new FixedDatasetProperties(null);
    datasetProps.init();
    datasetProps.setDatastoreProperties(datastoreProps);
    FixedInputProperties componentProps = new FixedInputProperties(null);
    componentProps.init();
    componentProps.setDatasetProperties(datasetProps);
    return componentProps;
}
Also used : FixedDatastoreProperties(org.talend.components.localio.fixed.FixedDatastoreProperties) FixedDatasetProperties(org.talend.components.localio.fixed.FixedDatasetProperties) FixedInputProperties(org.talend.components.localio.fixed.FixedInputProperties)

Example 2 with FixedDatastoreProperties

use of org.talend.components.localio.fixed.FixedDatastoreProperties in project components by Talend.

the class SandboxedFixedInputRuntimeTest method createComponentProperties.

/**
 * @return the properties for this component fully initialized with the default values.
 */
public static FixedInputProperties createComponentProperties() {
    FixedDatastoreProperties datastoreProps = new FixedDatastoreProperties(null);
    datastoreProps.init();
    FixedDatasetProperties datasetProps = new FixedDatasetProperties(null);
    datasetProps.init();
    datasetProps.setDatastoreProperties(datastoreProps);
    FixedInputProperties componentProps = new FixedInputProperties(null);
    componentProps.init();
    componentProps.setDatasetProperties(datasetProps);
    return componentProps;
}
Also used : FixedDatastoreProperties(org.talend.components.localio.fixed.FixedDatastoreProperties) FixedDatasetProperties(org.talend.components.localio.fixed.FixedDatasetProperties) FixedInputProperties(org.talend.components.localio.fixed.FixedInputProperties)

Aggregations

FixedDatasetProperties (org.talend.components.localio.fixed.FixedDatasetProperties)2 FixedDatastoreProperties (org.talend.components.localio.fixed.FixedDatastoreProperties)2 FixedInputProperties (org.talend.components.localio.fixed.FixedInputProperties)2