public class GrailsCloverPomIntegrator extends AbstractGrailsCloverIntegrator
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.
|
public GrailsCloverPomIntegrator(@NotNull String pluginVersion)
public boolean integrate(@NotNull File xmlFile) throws Exception
integrate
in class AbstractGrailsCloverIntegrator
Exception
protected boolean isAlreadyIntegrated(@NotNull Element dependenciesElem)
dependenciesElem
- elementpublic boolean integrate(@NotNull InputStream input, @NotNull OutputStream output) throws Exception
AbstractGrailsCloverIntegrator
integrate
in class AbstractGrailsCloverIntegrator
Exception
@NotNull protected Element getCloverCoreDependency(@NotNull Document document)
com.atlassian.clover or com.cenqua.clover clover X.Y.Z compile jar
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.