Package org.sonar.api.batch.scm
Class BlameCommand
- java.lang.Object
-
- org.sonar.api.batch.scm.BlameCommand
-
@ScannerSide public abstract class BlameCommand extends java.lang.Object
This class should be implemented by SCM providers.- Since:
- 5.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBlameCommand.BlameInputCallback for the provider to report results of blame per file.static interfaceBlameCommand.BlameOutputCallback for the provider to report results of blame per file.
-
Constructor Summary
Constructors Constructor Description BlameCommand()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidblame(BlameCommand.BlameInput input, BlameCommand.BlameOutput output)Compute blame of the provided files.
-
-
-
Method Detail
-
blame
public abstract void blame(BlameCommand.BlameInput input, BlameCommand.BlameOutput output)
Compute blame of the provided files. Computation can be done in parallel if this is more efficient. If there is an error that prevent to blame a file then an exception should be raised. If one file is new or contains local modifications then an exception should be raised.
-
-