com.viae.maven.sonar.services.GitService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-maven-plugin Show documentation
Show all versions of sonar-maven-plugin Show documentation
This plugin will make maven interact with SONAR.
/*
* Copyright (c) 2016 by VIAE (http///viae-it.com)
*/
package com.viae.maven.sonar.services;
import com.viae.maven.sonar.exceptions.GitException;
/**
* Interface to interact with the GIT system.
*
* Created by Vandeperre Maarten on 05/05/2016.
*/
public interface GitService {
/**
* Retrieve the git branch name from the branch of the current workspace.
*
* @param runtime, the active runtime.
* @return the git branch name or an empty string.
* @throws GitException will be thrown when something goes wrong while retrieving GIT information
*/
String getBranchName(Runtime runtime) throws GitException;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy