org.sonar.api.resources
Interface Language

All Superinterfaces:
BatchComponent, BatchExtension, Extension, ServerComponent, ServerExtension
All Known Implementing Classes:
AbstractLanguage, Java

public interface Language
extends BatchExtension, ServerExtension

The extension point to define a new language

Since:
1.10

Method Summary
 String[] getFileSuffixes()
          Make sure that dot is a prefix for all values.
 String getKey()
          For example "java".
 String getName()
          For example "Java"
 

Method Detail

getKey

String getKey()
For example "java". Should not be more than 20 chars.


getName

String getName()
For example "Java"


getFileSuffixes

String[] getFileSuffixes()
Make sure that dot is a prefix for all values. For example [".jav", ".java"]. If empty, then all files in source directories are considered as sources.



Copyright © 2009-2013 SonarSource. All Rights Reserved.