Package org.jitterbit.integration.plugin.pipeline

Examples of org.jitterbit.integration.plugin.pipeline.RelativePosition


        List<LoadSourcePluginIdentifier> plugins = Lists.newArrayList();
        for (Persistor entry : root.getChildren(ENTRY)) {
            try {
                String name = entry.getString(NAME);
                Version version = VersionFactory.fromString(entry.getString(VERSION));
                RelativePosition pos = RelativePosition.valueOf(entry.getString(POSITION));
                plugins.add(new LoadSourcePluginIdentifier(new PluginIdentifier(name, version), pos));
            } catch (Exception ex) {
                // Could happen if the settings file has become corrupt or has been edited by hand
                ErrorLog.log(PluginSettingsStoreImpl.class, "Invalid plugin entry found in the Transformation settings", ex);
            }
View Full Code Here


    /**
     * Creates the EDI plugin <code>PipelinePosition</code> for the given project item.
     */
    public static PipelinePosition getPipelinePosition(EntityType type) {
        PluginIdentifier id = getPluginId();
        RelativePosition relative = getRelativePosition(type);
        return new PipelinePosition(id, type, relative, 50, true);
    }
View Full Code Here

                    execOrder = Integer.parseInt(KongaXmlUtils.getChildElementValue(
                                    posElement, XmlConstants.EXECUTION_ORDER));
                } catch (Exception ex) {
                    // Keep the default value.
                }
                RelativePosition relative = RelativePosition.fromString(KongaXmlUtils.getChildElementValue(
                                posElement, XmlConstants.RELATIVE_POSITION));
                boolean optional = Boolean.parseBoolean(KongaXmlUtils.getChildElementValue(
                                posElement, XmlConstants.OPTIONAL));
                if ((subject != null) && (relative != null)) {
                    return new PipelinePosition(pluginId, subject, relative, execOrder, optional);
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.plugin.pipeline.RelativePosition

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.