<commit_before>// ============================================================================
//
// Copyright (C) 2006-2015 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have received a copy of the agreement
// along with this program; if not, write to Talend SA
// 9 rue Pages 92150 Suresnes, France
//
// ============================================================================
package org.talend.component.salesforce.tsalesforceinput;

import org.springframework.stereotype.Component;
import org.talend.component.ComponentConnector;
import org.talend.component.ComponentConnector.Type;
import org.talend.component.ComponentDefinition;
import org.talend.component.ComponentProperties;
import org.talend.component.Constants;
import org.talend.component.salesforce.SalesforceConnectionProperties;

/**
 * Component that can connect to a salesforce system and get some data out of it.
 *
 */
@Component(Constants.COMPONENT_BEAN_PREFIX + TSalesforceInputDefinition.COMPONENT_NAME)
public class TSalesforceInputDefinition extends ComponentDefinition {

    public static final String COMPONENT_NAME = "SalesforceInput"; //$NON-NLS-1$

    protected ComponentConnector[] connectors = { new ComponentConnector(Type.FLOW, 0, 0),
            new ComponentConnector(Type.ITERATE, 1, 0), new ComponentConnector(Type.SUBJOB_OK, 1, 0),
            new ComponentConnector(Type.SUBJOB_ERROR, 1, 0) };

    protected SalesforceConnectionProperties properties;

    @Override
    public ComponentProperties createProperties() {
        return new TSalesForceInputProperties();
    }

    @Override
    public Family[] getSupportedFamilies() {
        return new Family[] { Family.BUSINESS, Family.CLOUD };
    }

    /*
     * (non-Javadoc)
     * 
     * @see org.talend.component.ComponentDefinition#getName()
     */
    @Override
    public String getName() {
        return COMPONENT_NAME;
    }

}
<commit_msg>TUP-3313 New component architecture (rename salesforce)<commit_after>// ============================================================================
//
// Copyright (C) 2006-2015 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have received a copy of the agreement
// along with this program; if not, write to Talend SA
// 9 rue Pages 92150 Suresnes, France
//
// ============================================================================
package org.talend.component.salesforce.tsalesforceinput;

import org.springframework.stereotype.Component;
import org.talend.component.ComponentConnector;
import org.talend.component.ComponentConnector.Type;
import org.talend.component.ComponentDefinition;
import org.talend.component.ComponentProperties;
import org.talend.component.Constants;
import org.talend.component.salesforce.SalesforceConnectionProperties;

/**
 * Component that can connect to a salesforce system and get some data out of it.
 *
 */
@Component(Constants.COMPONENT_BEAN_PREFIX + TSalesforceInputDefinition.COMPONENT_NAME)
public class TSalesforceInputDefinition extends ComponentDefinition {

    public static final String COMPONENT_NAME = "SalesforceInput"; //$NON-NLS-1$

    protected ComponentConnector[] connectors = { new ComponentConnector(Type.FLOW, 0, 0),
            new ComponentConnector(Type.ITERATE, 1, 0), new ComponentConnector(Type.SUBJOB_OK, 1, 0),
            new ComponentConnector(Type.SUBJOB_ERROR, 1, 0) };

    protected SalesforceConnectionProperties properties;

    @Override
    public ComponentProperties createProperties() {
        return new TSalesforceInputProperties();
    }

    @Override
    public Family[] getSupportedFamilies() {
        return new Family[] { Family.BUSINESS, Family.CLOUD };
    }

    /*
     * (non-Javadoc)
     * 
     * @see org.talend.component.ComponentDefinition#getName()
     */
    @Override
    public String getName() {
        return COMPONENT_NAME;
    }

}

{'fraction_non_alphanumeric': 0.1641826923076923, 'fraction_numerical': 0.01201923076923077, 'mean_word_length': 4.287166454891995, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6005802', 'n_tokens_mistral': 1173, 'n_tokens_neox': 1084, 'n_words': 273}