Search in sources :

Example 6 with StringProperty

use of org.talend.daikon.properties.property.StringProperty in project components by Talend.

the class TestComponentDefinition method getReturnProperties.

@Override
public Property[] getReturnProperties() {
    StringProperty return1 = newProperty("return1");
    setupI18N(new Property<?>[] { return1 });
    return new Property[] { return1, RETURN_ERROR_MESSAGE_PROP, RETURN_TOTAL_RECORD_COUNT_PROP, RETURN_SUCCESS_RECORD_COUNT_PROP, RETURN_REJECT_RECORD_COUNT_PROP };
}
Also used : StringProperty(org.talend.daikon.properties.property.StringProperty) Property(org.talend.daikon.properties.property.Property) PropertyFactory.newProperty(org.talend.daikon.properties.property.PropertyFactory.newProperty) StringProperty(org.talend.daikon.properties.property.StringProperty)

Aggregations

StringProperty (org.talend.daikon.properties.property.StringProperty)6 Property (org.talend.daikon.properties.property.Property)4 Test (org.junit.Test)3 PropertyFactory.newProperty (org.talend.daikon.properties.property.PropertyFactory.newProperty)2 ArrayList (java.util.ArrayList)1 ComponentProperties (org.talend.components.api.properties.ComponentProperties)1 ComponentService (org.talend.components.api.service.ComponentService)1 TAzureStorageConnectionProperties (org.talend.components.azurestorage.tazurestorageconnection.TAzureStorageConnectionProperties)1 Element (org.talend.core.model.process.Element)1 NamedThing (org.talend.daikon.NamedThing)1 SimpleNamedThing (org.talend.daikon.SimpleNamedThing)1 ValidationResult (org.talend.daikon.properties.ValidationResult)1 Form (org.talend.daikon.properties.presentation.Form)1 Widget (org.talend.daikon.properties.presentation.Widget)1 GenericElementParameter (org.talend.designer.core.generic.model.GenericElementParameter)1 FakeElement (org.talend.designer.core.model.FakeElement)1