| Constructor and Description |
|---|
AbstractTestStep(String name,
ProjectFilesystem filesystem,
Optional<Path> workingDirectory,
com.google.common.collect.ImmutableList<String> command,
Optional<com.google.common.collect.ImmutableMap<String,String>> env,
Path exitCode,
Optional<Long> testRuleTimeoutMs,
Path output) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
StepExecutionResult |
execute(ExecutionContext context) |
com.google.common.collect.ImmutableList<String> |
getCommand() |
String |
getDescription(ExecutionContext context) |
Optional<com.google.common.collect.ImmutableMap<String,String>> |
getEnv() |
String |
getShortName() |
int |
hashCode() |
String |
toString() |
public AbstractTestStep(String name, ProjectFilesystem filesystem, Optional<Path> workingDirectory, com.google.common.collect.ImmutableList<String> command, Optional<com.google.common.collect.ImmutableMap<String,String>> env, Path exitCode, Optional<Long> testRuleTimeoutMs, Path output)
public StepExecutionResult execute(ExecutionContext context) throws IOException, InterruptedException
execute in interface StepIOExceptionInterruptedExceptionpublic String getShortName()
getShortName in interface Steppublic String getDescription(ExecutionContext context)
getDescription in interface Steppublic com.google.common.collect.ImmutableList<String> getCommand()