public class GrailsCloverPomIntegrator extends AbstractGrailsCloverIntegrator
CLOVER_CORE_ARTIFACTID, CLOVER_GRAILS_ARTIFACTID, CLOVER_GRAILS_GROUPID, CLOVER3_CORE_GROUPID, CLOVER4_CORE_GROUPID, CLOVER4_MIN_VER| Constructor and Description |
|---|
GrailsCloverPomIntegrator(String pluginVersion) |
| Modifier and Type | Method and Description |
|---|---|
protected Element |
getCloverCoreDependency(Document document)
Returns:
|
protected Element |
getGrailsCloverPluginDependency(Document document)
Returns:
|
boolean |
integrate(File xmlFile)
Integrate Clover in pom.xml file
|
boolean |
integrate(InputStream input,
OutputStream output)
Integrate Clover using I/O streams
|
protected boolean |
isAlreadyIntegrated(Element dependenciesElem)
Returns true if the <dependencies> element already contains Clover plugin.
|
getCloverCoreArtifactId, getCloverCoreGroupId, getPluginVersionpublic GrailsCloverPomIntegrator(@NotNull
String pluginVersion)
public boolean integrate(@NotNull
File xmlFile)
throws Exception
integrate in class AbstractGrailsCloverIntegratorExceptionprotected boolean isAlreadyIntegrated(@NotNull
Element dependenciesElem)
dependenciesElem - elementpublic boolean integrate(@NotNull
InputStream input,
@NotNull
OutputStream output)
throws Exception
AbstractGrailsCloverIntegratorintegrate in class AbstractGrailsCloverIntegratorException@NotNull protected Element getCloverCoreDependency(@NotNull Document document)
com.atlassian.clover or com.cenqua.clover
clover
X.Y.Z
compile
jar
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.