Class 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 class  TestComponent.FileAttributesImpl  
      • Nested classes/interfaces inherited from interface org.sonar.api.ce.measure.Component

        org.sonar.api.ce.measure.Component.FileAttributes, org.sonar.api.ce.measure.Component.Type
    • 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
      boolean equals​(java.lang.Object o)  
      org.sonar.api.ce.measure.Component.FileAttributes getFileAttributes()  
      java.lang.String getKey()  
      org.sonar.api.ce.measure.Component.Type getType()  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TestComponent

        public TestComponent​(java.lang.String key,
                             org.sonar.api.ce.measure.Component.Type type,
                             @Nullable
                             org.sonar.api.ce.measure.Component.FileAttributes fileAttributes)
    • Method Detail

      • getType

        public org.sonar.api.ce.measure.Component.Type getType()
        Specified by:
        getType in interface org.sonar.api.ce.measure.Component
      • getKey

        public java.lang.String getKey()
        Specified by:
        getKey in interface org.sonar.api.ce.measure.Component
      • getFileAttributes

        public org.sonar.api.ce.measure.Component.FileAttributes getFileAttributes()
        Specified by:
        getFileAttributes in interface org.sonar.api.ce.measure.Component
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object