Package com.dtolabs.rundeck.core.plugins.configuration

Examples of com.dtolabs.rundeck.core.plugins.configuration.Describable


        if (useCache) {
            ResourceModelSourceFactory provider = nodesSourceService.providerOfType(type);
            String name=ident;
            if(provider instanceof Describable){
                Describable desc=(Describable) provider;
                Description description = desc.getDescription();
                name = ident + " (" + description.getTitle() + ")";
            }
            return createCachingSource(sourceForConfiguration, ident,name);
        } else {
            return sourceForConfiguration;
View Full Code Here


    protected static Logger log = Logger.getLogger(NodeStepPluginAdapter.class.getName());

    @Override
    public Description getDescription() {
        if (plugin instanceof Describable) {
            final Describable desc = (Describable) plugin;
            return desc.getDescription();
        } else {
            return PluginAdapterUtility.buildDescription(plugin, DescriptionBuilder.builder());
        }
    }
View Full Code Here

class RemoteScriptNodeStepPluginAdapter implements NodeStepExecutor, Describable {

    @Override
    public Description getDescription() {
        if (plugin instanceof Describable) {
            final Describable desc = (Describable) plugin;
            return desc.getDescription();
        } else {
            return PluginAdapterUtility.buildDescription(plugin, DescriptionBuilder.builder());
        }
    }
View Full Code Here

    public List<Description> listDescriptions() {
        final ArrayList<Description> list = new ArrayList<Description>();
        for (final ResourceFormatGenerator provider : listGenerators()) {
            if (provider instanceof Describable) {
                final Describable desc = (Describable) provider;
                list.add(desc.getDescription());
            }
        }
        return list;
    }
View Full Code Here

    public List<Description> listDescriptions() {
        final ArrayList<Description> list = new ArrayList<Description>();
        for (final ResourceFormatParser provider : listParsers()) {
            if (provider instanceof Describable) {
                final Describable desc = (Describable) provider;
                list.add(desc.getDescription());
            }
        }
        return list;
    }
View Full Code Here

TOP

Related Classes of com.dtolabs.rundeck.core.plugins.configuration.Describable

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.