@Metadata(description="A test specification with execution capabilities",
root=CONFIGURATION)
public class ExecutableTestSpecification
extends TestSpecification
implements Executable
TestSpecification.ImportHandler, TestSpecification.ProgressCallbackCATEGORY_EXECUTION, CATEGORY_PARAMETERS, DEFAULT_FUNCTIONAL_TEST_QUALIFIER, DEFAULT_PERFORMANCE_TEST_QUALIFIER| Constructor and Description |
|---|
ExecutableTestSpecification() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute(java.util.UUID testRunId,
java.util.concurrent.ExecutorService executorService,
TestTool testTool,
java.lang.String resolvedCommandline,
java.util.Map<java.lang.String,java.lang.Object> parameters,
EventHandler eventHandler) |
void |
execute(java.util.UUID testRunId,
java.util.Map<java.lang.String,java.lang.Object> parameters,
EventHandler eventHandler) |
com.xebialabs.overthere.CmdLine |
getCmdLine() |
com.xebialabs.overthere.CmdLine |
getCmdLine(java.lang.String resolvedCommandLine) |
java.lang.String |
getCommandLine() |
int |
getTimeout() |
boolean |
isExecutable() |
static boolean |
isExecutable(java.lang.String commandLine,
com.xebialabs.deployit.plugin.overthere.Host host) |
boolean |
isImportTestResults() |
static java.lang.String[] |
parseCommandLine(java.lang.String commandLine) |
protected java.lang.String |
resolve(java.lang.String commandLine,
java.util.Map<java.lang.String,java.lang.Object> parameters) |
void |
setCommandLine(java.lang.String commandLine) |
void |
setExecutorService(java.util.concurrent.ExecutorService executorService) |
void |
setImportTestResults(boolean importTestResults) |
void |
setTestRunsRepository(com.xebialabs.xltest.repository.TestRunsRepository testRunsRepository) |
void |
setTestTools(TestTools testTools) |
void |
setTimeout(int timeout) |
ExecutionParameterRequest |
toExecutionParameterRequest() |
boolean |
updateExecutionProperties(java.lang.String commandLine,
com.xebialabs.deployit.plugin.overthere.Host host) |
doImport, doImport, doImport, getHost, getQualification, getRemotePath, getSearchPattern, getTestToolName, getWorkingDirectory, setHost, setQualification, setSearchPattern, setTestToolName, setWorkingDirectorycompareTo, equals, get$ciAttributes, get$token, getId, getName, getProperty, getPropertyDescriptor, getSyntheticProperties, getSyntheticProperty, getType, hashCode, hasProperty, hasSyntheticProperty, putSyntheticProperties, putSyntheticProperty, set$ciAttributes, set$token, setId, setProperty, setSyntheticProperties, setType, toStringpublic void execute(java.util.UUID testRunId,
java.util.Map<java.lang.String,java.lang.Object> parameters,
EventHandler eventHandler)
execute in interface Executablepublic boolean updateExecutionProperties(java.lang.String commandLine,
com.xebialabs.deployit.plugin.overthere.Host host)
updateExecutionProperties in interface Executablepublic ExecutionParameterRequest toExecutionParameterRequest()
toExecutionParameterRequest in interface Executableprotected void execute(java.util.UUID testRunId,
java.util.concurrent.ExecutorService executorService,
TestTool testTool,
java.lang.String resolvedCommandline,
java.util.Map<java.lang.String,java.lang.Object> parameters,
EventHandler eventHandler)
protected java.lang.String resolve(java.lang.String commandLine,
java.util.Map<java.lang.String,java.lang.Object> parameters)
public static java.lang.String[] parseCommandLine(java.lang.String commandLine)
public static boolean isExecutable(java.lang.String commandLine,
com.xebialabs.deployit.plugin.overthere.Host host)
public boolean isExecutable()
isExecutable in interface Executablepublic java.lang.String getCommandLine()
public void setCommandLine(java.lang.String commandLine)
public int getTimeout()
public void setTimeout(int timeout)
public void setTestTools(TestTools testTools)
public void setExecutorService(java.util.concurrent.ExecutorService executorService)
public void setTestRunsRepository(com.xebialabs.xltest.repository.TestRunsRepository testRunsRepository)
public com.xebialabs.overthere.CmdLine getCmdLine()
public com.xebialabs.overthere.CmdLine getCmdLine(java.lang.String resolvedCommandLine)
public boolean isImportTestResults()
public void setImportTestResults(boolean importTestResults)