com.atlassian.bamboo.clover.builder.command
Class AbstractCloverCommandDecorator
java.lang.Object
com.atlassian.bamboo.clover.builder.command.AbstractCloverCommandDecorator
- All Implemented Interfaces:
- TaskProcessCommandDecorator, BambooPluginModule
- Direct Known Subclasses:
- CloverAntCommandDecorator, CloverGrailsCommandDecorator, CloverMavenCommandDecorator
public abstract class AbstractCloverCommandDecorator
- extends Object
- implements TaskProcessCommandDecorator
A base class for the Clover Command Line Decorators.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CFG_CLOVER_EXISTS
public static final String CFG_CLOVER_EXISTS
- See Also:
- Constant Field Values
bandanaManager
protected com.atlassian.bandana.BandanaManager bandanaManager
capabilityContext
protected CapabilityContext capabilityContext
environmentVariableAccessor
protected EnvironmentVariableAccessor environmentVariableAccessor
AbstractCloverCommandDecorator
public AbstractCloverCommandDecorator()
decorateCloverArguments
@NotNull
public abstract List<String> decorateCloverArguments(@NotNull
TaskContext taskContext,
@NotNull
com.atlassian.clover.api.ci.CIOptions.Builder options,
@NotNull
List<String> args)
decorate
@NotNull
public List<String> decorate(@NotNull
TaskContext taskContext,
@NotNull
List<String> arguments)
- Specified by:
decorate
in interface TaskProcessCommandDecorator
createOptionsBuilder
protected com.atlassian.clover.api.ci.CIOptions.Builder createOptionsBuilder(@NotNull
TaskContext taskContext)
canDecorate
protected boolean canDecorate(@NotNull
TaskContext taskContext)
isWindowsPlatform
protected boolean isWindowsPlatform()
getLicenseDir
protected File getLicenseDir(@NotNull
TaskContext taskContext)
configureLicense
protected void configureLicense(@NotNull
TaskContext taskContext,
@NotNull
com.atlassian.clover.api.ci.CIOptions.Builder options)
isEnabled
protected boolean isEnabled(Map<String,String> configuration)
- Check if Clover Command Decorator should be used.
- Parameters:
configuration
-
- Returns:
- true if Clover Command Decorator should be used
getCustomConfiguration
@NotNull
protected Map<String,String> getCustomConfiguration(@NotNull
TaskContext taskContext)
setBandanaManager
public void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
setCapabilityContext
public void setCapabilityContext(CapabilityContext capabilityContext)
setEnvironmentVariableAccessor
public void setEnvironmentVariableAccessor(EnvironmentVariableAccessor environmentVariableAccessor)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.