org.sonar.api.resources
Class ProjectUtils

java.lang.Object
  extended by org.sonar.api.resources.ProjectUtils

public final class ProjectUtils
extends Object

TODO Actually this class incorrectly named, because provides information not about project, but about Java project. And seems that only core plugins use this class.

Since:
1.10

Method Summary
static String getJavaSourceVersion(Project project)
          Deprecated. since 2.6 use JavaUtils.getSourceVersion() instead.
static String getJavaVersion(Project project)
          Deprecated. since 2.6 use JavaUtils.getTargetVersion() instead.
static List<File> toIoFiles(Collection<InputFile> inputFiles)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getJavaVersion

@Deprecated
public static String getJavaVersion(Project project)
Deprecated. since 2.6 use JavaUtils.getTargetVersion() instead.


getJavaSourceVersion

@Deprecated
public static String getJavaSourceVersion(Project project)
Deprecated. since 2.6 use JavaUtils.getSourceVersion() instead.


toIoFiles

public static List<File> toIoFiles(Collection<InputFile> inputFiles)
Since:
2.7


Copyright © 2009-2013 SonarSource. All Rights Reserved.