private IvyTag createPluginTag()

in org.apache.easyant4e/src/org/apache/easyant4e/ivyde/extension/model/EasyAntModuleDescriptorExtension.java [155:168]


    private IvyTag createPluginTag(IvyTag root, IvyTag parent) {
        // Contribute <plugin module="" as=""> Tag
        IvyTag propertyTag = new IvyTag(EASYANT_PLUGIN_TAG, "Define a plugin used to contribute additionnal parts of the build process.");
        propertyTag.addAttribute(new IvyTagAttribute(EASYANT_PLUGIN_MODULE_ATTR, "The name of the plugin.", true,
                createPluginModuleValueProvider()));
        propertyTag.addAttribute(new IvyTagAttribute(EASYANT_PLUGIN_AS_ATTR, "The name of the prefix used to call plugin's targets, i.e. for 'as=\"myplugin\"': myplugin:target1", true));
        propertyTag.addAttribute(new IvyTagAttribute(EASYANT_PLUGIN_MODE_ATTR, "The kind of import.", true,
                createPluginModeValueProvider()));
        propertyTag.addAttribute(new IvyTagAttribute(EASYANT_PLUGIN_MANDATORY_ATTR, "The mandatory status", false,
                createPluginMandatoryValueProvider()));
        model.addTag(propertyTag);
        parent.addChildIvyTag(propertyTag);
        return propertyTag;
    }