Package org.jitterbit.integration.plugin.pipeline

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


        return tokens.toArray(new CompletionToken[tokens.size()]);
    }

    @Override
    public void insertArgument(Function fcn, final JTextComponent tc) {
        final PipelinePluginManifest plugin = selectPlugin(tc);
        if (plugin != null) {
            insertPluginTag(tc, plugin);
        }
    }
View Full Code Here


    }

    @Override
    public void pluginParsingComplete() {
        assert (builder != null);
        PipelinePluginManifest d = builder.getManifest();
        parsedManifests.add(d);
        builder = null;
        singleStringValues.reset();
    }
View Full Code Here

    }

    private boolean isMissing(String pluginName) {
        try {
            PipelinePluginManifestCache projectCache = projectPlugins.getManifestCache();
            PipelinePluginManifest manifest = projectCache.getCachedManifest(pluginName);
            if (manifest != null) {
                return false;
            }
        } catch (DataCacheException e) {
            logger.info("Error from cache: " + e.getMessage());
View Full Code Here

    }

    private void addManifestToCache(AppliedPipelinePlugin plugin, PipelinePluginManifestCache fromCache)
                                                            throws DataCacheException {
        String pluginName = plugin.getPluginId().getName();
        PipelinePluginManifest manifest = fromCache.getCachedManifest(pluginName);
        this.manifestCache.add(Arrays.asList(manifest));
    }
View Full Code Here

            return plugins;
        }

        private void setDisplayName(AppliedPipelinePlugin p) {
            try {
                PipelinePluginManifest manifest = manifestCache.getCachedManifest(p.getPluginId().getName());
                if (manifest != null) {
                    p.setDisplayName(manifest.getDisplayName());
                }
            } catch (DataCacheException ex) {
                handleLookupError(p, ex);
            }
        }
View Full Code Here

    public void restore(PipelinePluginManifestServerCache serverCache, List<KnownServer> knownServers) {
        for (KnownServer server : knownServers) {
            PipelinePluginManifestCache cache = serverCache.getCache(server.getServerInfo().getGuid());
            try {
                PipelinePluginManifest manifest = cache.getCachedManifest(pluginName);
                if (manifest != null) {
                    projectCache.add(Arrays.asList(manifest));
                    logger.info("The manifest for the plugin " + pluginName + " was found in the cache for server "
                                    + server.getServerInfo().getName());
                    return;
View Full Code Here

        return p;
    }

    private void setDisplayName(AppliedPipelinePlugin p) {
        try {
            PipelinePluginManifest manifest = cache.getCachedManifest(position.getPluginId().getName());
            p.setDisplayName(manifest.getDisplayName());
        } catch (DataCacheException e) {
            ErrorLog.log(getClass(), "Failed to lookup the display name for plugin " + position.getPluginId(), e);
        }
    }
View Full Code Here

TOP

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

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.