Package org.sonar.api.ce.measure
Interface Component
-
- All Known Implementing Classes:
TestComponent
public interface Component
Component that can be used in aMeasureComputer
- Since:
- 5.2
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Component.FileAttributes
static class
Component.Type
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Component.FileAttributes
getFileAttributes()
The attributes of the Component if it's type is File.java.lang.String
getKey()
Component.Type
getType()
-
-
-
Method Detail
-
getType
Component.Type getType()
-
getKey
java.lang.String getKey()
-
getFileAttributes
Component.FileAttributes getFileAttributes()
The attributes of the Component if it's type is File.- Throws:
java.lang.IllegalStateException
- if the Component's type is notComponent.Type.FILE
-
-