com.atlassian.bamboo.clover.build
Class GrailsCloverBuildConfigIntegrator

java.lang.Object
  extended by com.atlassian.bamboo.clover.build.AbstractGrailsCloverIntegrator
      extended by com.atlassian.bamboo.clover.build.GrailsCloverBuildConfigIntegrator

public class GrailsCloverBuildConfigIntegrator
extends AbstractGrailsCloverIntegrator

Integration of Clover with a Grails project via BuildConfig.groovy file.


Field Summary
static String CLOVER_DEPENDENCIES
           
 
Fields inherited from class com.atlassian.bamboo.clover.build.AbstractGrailsCloverIntegrator
CLOVER_CORE_ARTIFACTID, CLOVER_GRAILS_ARTIFACTID, CLOVER_GRAILS_GROUPID, CLOVER3_CORE_GROUPID, CLOVER4_CORE_GROUPID, CLOVER4_MIN_VER
 
Constructor Summary
GrailsCloverBuildConfigIntegrator(String pluginVersion)
           
 
Method Summary
protected  String getCloverCoreArtifact()
           
protected  String getCloverForGrailsArtifact()
           
protected  Reader getUTF8Reader(File file)
           
 boolean integrate(File buildConfigFile)
          Integrate Clover in BuildConfig.groovy file
 boolean integrate(InputStream input, OutputStream output)
          Integrate Clover using I/O streams
 
Methods inherited from class com.atlassian.bamboo.clover.build.AbstractGrailsCloverIntegrator
getCloverCoreArtifactId, getCloverCoreGroupId, getPluginVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLOVER_DEPENDENCIES

public static final String CLOVER_DEPENDENCIES
See Also:
Constant Field Values
Constructor Detail

GrailsCloverBuildConfigIntegrator

public GrailsCloverBuildConfigIntegrator(@NotNull
                                         String pluginVersion)
Method Detail

integrate

public boolean integrate(@NotNull
                         File buildConfigFile)
                  throws Exception
Integrate Clover in BuildConfig.groovy file

Specified by:
integrate in class AbstractGrailsCloverIntegrator
Throws:
Exception

integrate

public boolean integrate(@NotNull
                         InputStream input,
                         @NotNull
                         OutputStream output)
                  throws Exception
Description copied from class: AbstractGrailsCloverIntegrator
Integrate Clover using I/O streams

Specified by:
integrate in class AbstractGrailsCloverIntegrator
Throws:
Exception

getCloverForGrailsArtifact

@NotNull
protected String getCloverForGrailsArtifact()

getCloverCoreArtifact

@NotNull
protected String getCloverCoreArtifact()

getUTF8Reader

@NotNull
protected Reader getUTF8Reader(@NotNull
                                       File file)
                        throws FileNotFoundException
Throws:
FileNotFoundException


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.