org.sonar.api.batch.scm
Class BlameCommand

java.lang.Object
  extended by org.sonar.api.batch.scm.BlameCommand
All Implemented Interfaces:
BatchComponent
Direct Known Subclasses:
XooBlameCommand

public abstract class BlameCommand
extends Object
implements BatchComponent

This class should be implemented by SCM providers.

Since:
5.0

Nested Class Summary
static interface BlameCommand.BlameInput
          Callback for the provider to report results of blame per file.
static interface BlameCommand.BlameOutput
          Callback for the provider to report results of blame per file.
 
Constructor Summary
BlameCommand()
           
 
Method Summary
abstract  void blame(BlameCommand.BlameInput input, BlameCommand.BlameOutput output)
          Compute blame of the provided files.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlameCommand

public BlameCommand()
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.



Copyright © 2009–2015 SonarSource. All rights reserved.