Package org.sonar.api.batch.fs.internal
Class DefaultInputDir
java.lang.Object
org.sonar.api.batch.fs.internal.DefaultInputComponent
org.sonar.api.batch.fs.internal.DefaultInputDir
- All Implemented Interfaces:
org.sonar.api.batch.fs.InputComponent
,org.sonar.api.batch.fs.InputDir
,org.sonar.api.batch.fs.InputPath
public class DefaultInputDir
extends DefaultInputComponent
implements org.sonar.api.batch.fs.InputDir
- Since:
- 4.5
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.sonar.api.batch.fs.internal.DefaultInputComponent
hasMeasureFor, scannerId, setHasMeasureFor
-
Constructor Details
-
DefaultInputDir
-
-
Method Details
-
relativePath
- Specified by:
relativePath
in interfaceorg.sonar.api.batch.fs.InputDir
- Specified by:
relativePath
in interfaceorg.sonar.api.batch.fs.InputPath
-
absolutePath
- Specified by:
absolutePath
in interfaceorg.sonar.api.batch.fs.InputDir
- Specified by:
absolutePath
in interfaceorg.sonar.api.batch.fs.InputPath
-
file
- Specified by:
file
in interfaceorg.sonar.api.batch.fs.InputDir
- Specified by:
file
in interfaceorg.sonar.api.batch.fs.InputPath
-
path
- Specified by:
path
in interfaceorg.sonar.api.batch.fs.InputDir
- Specified by:
path
in interfaceorg.sonar.api.batch.fs.InputPath
-
moduleKey
-
key
- Specified by:
key
in interfaceorg.sonar.api.batch.fs.InputComponent
-
setModuleBaseDir
For testing purpose. Will be automatically set when dir is added toDefaultFileSystem
-
isFile
public boolean isFile()- Specified by:
isFile
in interfaceorg.sonar.api.batch.fs.InputComponent
-
equals
- Overrides:
equals
in classDefaultInputComponent
-
hashCode
public int hashCode()- Overrides:
hashCode
in classDefaultInputComponent
-
toString
- Overrides:
toString
in classDefaultInputComponent
-
uri
- Specified by:
uri
in interfaceorg.sonar.api.batch.fs.InputPath
-