com.atlassian.bamboo.plugins.php.task
Class AbstractPhpUnitConfig
java.lang.Object
com.atlassian.bamboo.plugins.php.task.AbstractPhpUnitConfig
- All Implemented Interfaces:
- PhpUnitConfig
- Direct Known Subclasses:
- PhpUnit33XConfigImpl, PhpUnitConfigImpl
public abstract class AbstractPhpUnitConfig
- extends Object
- implements PhpUnitConfig
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CFG_ARGUMENTS
public static final String CFG_ARGUMENTS
- See Also:
- Constant Field Values
CFG_LOG_JUNIT_ENABLED
public static final String CFG_LOG_JUNIT_ENABLED
- See Also:
- Constant Field Values
CFG_LOG_JUNIT_ENABLED_BOOLEAN
public static final String CFG_LOG_JUNIT_ENABLED_BOOLEAN
- See Also:
- Constant Field Values
CFG_LOG_JUNIT_FILENAME
public static final String CFG_LOG_JUNIT_FILENAME
- See Also:
- Constant Field Values
CFG_COVERAGE_HTML_ENABLED
public static final String CFG_COVERAGE_HTML_ENABLED
- See Also:
- Constant Field Values
CFG_COVERAGE_HTML_ENABLED_BOOLEAN
public static final String CFG_COVERAGE_HTML_ENABLED_BOOLEAN
- See Also:
- Constant Field Values
CFG_COVERAGE_HTML_DIRECTORY_NAME
public static final String CFG_COVERAGE_HTML_DIRECTORY_NAME
- See Also:
- Constant Field Values
AbstractPhpUnitConfig
public AbstractPhpUnitConfig(@NotNull
TaskContext taskContext,
@NotNull
CapabilityContext capabilityContext,
@NotNull
String capabilityPrefix,
@NotNull
EnvironmentVariableAccessor environmentVariableAccessor)
buildCommandline
@NotNull
protected abstract List<String> buildCommandline()
getCommandline
@NotNull
public List<String> getCommandline()
- Specified by:
getCommandline in interface PhpUnitConfig
getExtraEnvironment
@NotNull
public Map<String,String> getExtraEnvironment()
- Specified by:
getExtraEnvironment in interface PhpUnitConfig
getArguments
@NotNull
public List<String> getArguments()
- Specified by:
getArguments in interface PhpUnitConfig
getBuilderPath
public String getBuilderPath()
getCoverageHtmlDirectoryName
@Nullable
public String getCoverageHtmlDirectoryName()
isCoverageHtmlEnabled
public boolean isCoverageHtmlEnabled()
isLogJunitEnabled
public boolean isLogJunitEnabled()
- Specified by:
isLogJunitEnabled in interface PhpUnitConfig
getLogJunitFilename
@Nullable
public String getLogJunitFilename()
- Description copied from interface:
PhpUnitConfig
- Get "Log test execution to an XML file" configuration value.
- Specified by:
getLogJunitFilename in interface PhpUnitConfig
- Returns:
- Path which is relative to source root.
getRootDirectory
@NotNull
public File getRootDirectory()
- Specified by:
getRootDirectory in interface PhpUnitConfig
getWorkingDirectory
@NotNull
public File getWorkingDirectory()
- Specified by:
getWorkingDirectory in interface PhpUnitConfig
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.