public List getPropertiesForBuildType()

in org.apache.easyant4e/src/org/apache/easyant4e/services/EasyantCoreServiceImpl.java [179:196]


    public List<PropertyDescriptor> getPropertiesForBuildType(String buildTypeName){
        //getIvyInstance(null);
        ArrayList<PropertyDescriptor> propertyDescriptors = new ArrayList<PropertyDescriptor>();
        EasyAntReport eaReport = null;
        try {
            eaReport = easyAntEngine.getPluginService().getBuildTypeInfo(buildTypeName);
        } catch (Exception e) {
            Activator.getEasyAntPlugin().log(IStatus.ERROR, e.getMessage(), e);
        }
        if (eaReport != null) {
            Map<String, PropertyDescriptor> properties = eaReport.getAvailableProperties();
            for (Entry<String, PropertyDescriptor> entry : properties.entrySet()) {
                PropertyDescriptor prop = entry.getValue();
                propertyDescriptors.add(prop);
            }
        }
        return propertyDescriptors;
    }