Package org.sonar.api.profiles

Examples of org.sonar.api.profiles.RulesProfile


        Reader config = null;

        try {
            config = new InputStreamReader(getClass().getResourceAsStream(
                    DEFAULT_PROFILE));
            final RulesProfile profile = profileImporter.importProfile(config,
                    messages);
            profile.setName(OCLintRuleRepository.REPOSITORY_KEY);
            profile.setLanguage(ObjectiveC.KEY);
            profile.setDefaultProfile(true);

            return profile;
        } finally {
            Closeables.closeQuietly(config);
        }
View Full Code Here

TOP

Related Classes of org.sonar.api.profiles.RulesProfile

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.