Class TestComponent
- java.lang.Object
-
- org.sonar.api.testfixtures.measure.TestComponent
-
- All Implemented Interfaces:
org.sonar.api.ce.measure.Component
@Immutable public class TestComponent extends java.lang.Object implements org.sonar.api.ce.measure.Component
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTestComponent.FileAttributesImpl
-
Constructor Summary
Constructors Constructor Description TestComponent(java.lang.String key, org.sonar.api.ce.measure.Component.Type type, org.sonar.api.ce.measure.Component.FileAttributes fileAttributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)org.sonar.api.ce.measure.Component.FileAttributesgetFileAttributes()java.lang.StringgetKey()org.sonar.api.ce.measure.Component.TypegetType()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getType
public org.sonar.api.ce.measure.Component.Type getType()
- Specified by:
getTypein interfaceorg.sonar.api.ce.measure.Component
-
getKey
public java.lang.String getKey()
- Specified by:
getKeyin interfaceorg.sonar.api.ce.measure.Component
-
getFileAttributes
public org.sonar.api.ce.measure.Component.FileAttributes getFileAttributes()
- Specified by:
getFileAttributesin interfaceorg.sonar.api.ce.measure.Component
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-