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(@NotNull TaskContext taskContext) |
protected void |
configureLicense(@NotNull TaskContext taskContext,
com.atlassian.clover.api.ci.CIOptions.Builder options) |
protected com.atlassian.clover.api.ci.CIOptions.Builder |
createOptionsBuilder(@NotNull TaskContext taskContext) |
@NotNull List<String> |
decorate(@NotNull TaskContext taskContext,
@NotNull List<String> arguments) |
abstract @NotNull List<String> |
decorateCloverArguments(@NotNull TaskContext taskContext,
com.atlassian.clover.api.ci.CIOptions.Builder options,
@NotNull List<String> args) |
protected @NotNull Map<String,String> |
getCustomConfiguration(@NotNull TaskContext taskContext) |
protected File |
getLicenseDir(@NotNull 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 @NotNull List<String> decorateCloverArguments(@NotNull @NotNull TaskContext taskContext, @NotNull com.atlassian.clover.api.ci.CIOptions.Builder options, @NotNull @NotNull List<String> args)
@NotNull public @NotNull List<String> decorate(@NotNull @NotNull TaskContext taskContext, @NotNull @NotNull List<String> arguments)
decorate
in interface TaskProcessCommandDecorator
protected com.atlassian.clover.api.ci.CIOptions.Builder createOptionsBuilder(@NotNull @NotNull TaskContext taskContext)
protected boolean canDecorate(@NotNull @NotNull TaskContext taskContext)
protected boolean isWindowsPlatform()
protected File getLicenseDir(@NotNull @NotNull TaskContext taskContext)
protected void configureLicense(@NotNull @NotNull TaskContext taskContext, @NotNull com.atlassian.clover.api.ci.CIOptions.Builder options)
protected boolean isEnabled(Map<String,String> configuration)
configuration
- @NotNull protected @NotNull Map<String,String> getCustomConfiguration(@NotNull @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 © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.