public abstract class AbstractCloverCommandDecorator extends Object implements TaskProcessCommandDecorator
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.bandana.BandanaManager |
bandanaManager |
protected CapabilityContext |
capabilityContext |
static String |
CFG_CLOVER_EXISTS |
protected EnvironmentVariableAccessor |
environmentVariableAccessor |
Constructor and Description |
---|
AbstractCloverCommandDecorator() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canDecorate(TaskContext taskContext) |
protected void |
configureLicense(TaskContext taskContext,
com.atlassian.clover.api.ci.CIOptions.Builder options) |
protected com.atlassian.clover.api.ci.CIOptions.Builder |
createOptionsBuilder(TaskContext taskContext) |
List<String> |
decorate(TaskContext taskContext,
List<String> arguments) |
abstract List<String> |
decorateCloverArguments(TaskContext taskContext,
com.atlassian.clover.api.ci.CIOptions.Builder options,
List<String> args) |
protected Map<String,String> |
getCustomConfiguration(TaskContext taskContext) |
protected File |
getLicenseDir(TaskContext taskContext) |
protected boolean |
isEnabled(Map<String,String> configuration)
Check if Clover Command Decorator should be used.
|
protected boolean |
isWindowsPlatform() |
void |
setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
Deprecated.
since 6.8 use constructor injection or annotation injection
|
void |
setCapabilityContext(CapabilityContext capabilityContext)
Deprecated.
since 6.8 use constructor injection or annotation injection
|
void |
setEnvironmentVariableAccessor(EnvironmentVariableAccessor environmentVariableAccessor)
Deprecated.
since 6.8 use constructor injection or annotation injection
|
public static final String CFG_CLOVER_EXISTS
@Inject protected com.atlassian.bandana.BandanaManager bandanaManager
@Inject protected CapabilityContext capabilityContext
@Inject protected EnvironmentVariableAccessor environmentVariableAccessor
@NotNull public abstract List<String> decorateCloverArguments(@NotNull TaskContext taskContext, @NotNull com.atlassian.clover.api.ci.CIOptions.Builder options, @NotNull List<String> args)
@NotNull public List<String> decorate(@NotNull TaskContext taskContext, @NotNull List<String> arguments)
decorate
in interface TaskProcessCommandDecorator
protected com.atlassian.clover.api.ci.CIOptions.Builder createOptionsBuilder(@NotNull TaskContext taskContext)
protected boolean canDecorate(@NotNull TaskContext taskContext)
protected boolean isWindowsPlatform()
protected File getLicenseDir(@NotNull TaskContext taskContext)
protected void configureLicense(@NotNull TaskContext taskContext, @NotNull com.atlassian.clover.api.ci.CIOptions.Builder options)
protected boolean isEnabled(Map<String,String> configuration)
configuration
- @NotNull protected Map<String,String> getCustomConfiguration(@NotNull TaskContext taskContext)
@Deprecated public void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
@Deprecated public void setCapabilityContext(CapabilityContext capabilityContext)
@Deprecated public void setEnvironmentVariableAccessor(EnvironmentVariableAccessor environmentVariableAccessor)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.