public abstract class ExternalTestRunnerTestSpec extends Object implements ExternalTestSpec
NOTE: We're relying on the fact we're using POJOs here and that all the sub-types are JSON-serializable already. Be careful that we don't break serialization when adding item here.
| Modifier and Type | Class and Description |
|---|---|
static class |
ExternalTestRunnerTestSpec.Builder |
| Constructor and Description |
|---|
ExternalTestRunnerTestSpec() |
| Modifier and Type | Method and Description |
|---|---|
static ExternalTestRunnerTestSpec.Builder |
builder() |
abstract com.google.common.collect.ImmutableSet<Path> |
getAdditionalCoverageTargets() |
abstract com.google.common.collect.ImmutableList<String> |
getCommand() |
abstract com.google.common.collect.ImmutableList<String> |
getContacts() |
abstract Path |
getCwd() |
abstract com.google.common.collect.ImmutableMap<String,String> |
getEnv() |
abstract com.google.common.collect.ImmutableList<String> |
getLabels() |
abstract com.google.common.collect.ImmutableList<Pair<Float,com.google.common.collect.ImmutableSet<Path>>> |
getNeededCoverage() |
abstract com.google.common.collect.ImmutableSet<Path> |
getRequiredPaths() |
abstract BuildTarget |
getTarget() |
abstract String |
getType() |
void |
serialize(com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
com.fasterxml.jackson.databind.SerializerProvider serializerProvider) |
void |
serializeWithType(com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
com.fasterxml.jackson.databind.SerializerProvider serializerProvider,
com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSerializer) |
public abstract BuildTarget getTarget()
public abstract String getType()
public abstract com.google.common.collect.ImmutableList<String> getCommand()
public abstract Path getCwd()
public abstract com.google.common.collect.ImmutableList<Pair<Float,com.google.common.collect.ImmutableSet<Path>>> getNeededCoverage()
public abstract com.google.common.collect.ImmutableSet<Path> getAdditionalCoverageTargets()
public abstract com.google.common.collect.ImmutableMap<String,String> getEnv()
public abstract com.google.common.collect.ImmutableList<String> getLabels()
public abstract com.google.common.collect.ImmutableList<String> getContacts()
public abstract com.google.common.collect.ImmutableSet<Path> getRequiredPaths()
public void serialize(com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
com.fasterxml.jackson.databind.SerializerProvider serializerProvider)
throws IOException
serialize in interface ExternalTestSpecserialize in interface com.fasterxml.jackson.databind.JsonSerializableIOExceptionpublic void serializeWithType(com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
com.fasterxml.jackson.databind.SerializerProvider serializerProvider,
com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSerializer)
throws IOException
serializeWithType in interface ExternalTestSpecserializeWithType in interface com.fasterxml.jackson.databind.JsonSerializableIOExceptionpublic static ExternalTestRunnerTestSpec.Builder builder()