org.sonar.api.component
Interface Component<C extends Component>

All Known Subinterfaces:
Module, SourceFile
All Known Implementing Classes:
MockSourceFile, Project

public interface Component<C extends Component>


Method Summary
 String key()
           
 String longName()
           
 String name()
           
 String path()
          Path of the component relative to basedir of the parent module.
 String qualifier()
           
 

Method Detail

key

String key()

path

@CheckForNull
String path()
Path of the component relative to basedir of the parent module.

Returns:
null if this component is not a child of a module
Since:
4.2

name

String name()

longName

String longName()

qualifier

String qualifier()


Copyright © 2009–2015 SonarSource. All rights reserved.