Package org.sonar.api.ce.measure
Interface Component
-
- All Known Implementing Classes:
TestComponent
public interface ComponentComponent that can be used in aMeasureComputer- Since:
- 5.2
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceComponent.FileAttributesstatic classComponent.Type
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Component.FileAttributesgetFileAttributes()The attributes of the Component if it's type is File.java.lang.StringgetKey()Component.TypegetType()
-
-
-
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
-
-