public abstract class BuildEnvironmentDescription extends Object
Modifier and Type | Field and Description |
---|---|
static int |
PROTOCOL_VERSION |
Constructor and Description |
---|
BuildEnvironmentDescription() |
Modifier and Type | Method and Description |
---|---|
abstract int |
getAvailableCores() |
abstract String |
getBuckCommit() |
abstract Optional<Boolean> |
getBuckDirty() |
String |
getBuildType() |
abstract com.google.common.collect.ImmutableList<String> |
getCacheModes() |
abstract com.google.common.collect.ImmutableMap<String,String> |
getExtraData() |
abstract String |
getHostname() |
abstract String |
getJavaVersion() |
int |
getJsonProtocolVersion() |
abstract String |
getOs() |
abstract long |
getSystemMemory() |
abstract String |
getUser() |
static BuildEnvironmentDescription |
of(ExecutionEnvironment executionEnvironment,
com.google.common.collect.ImmutableList<String> cacheModes,
com.google.common.collect.ImmutableMap<String,String> extraData) |
static BuildEnvironmentDescription |
of(String user,
String hostname,
String os,
int availableCores,
long systemMemory,
Optional<Boolean> buckDirty,
String buckCommit,
String javaVersion,
com.google.common.collect.ImmutableList<String> cacheModes,
com.google.common.collect.ImmutableMap<String,String> extraData) |
static BuildEnvironmentDescription |
of(String user,
String hostname,
String os,
int availableCores,
long systemMemory,
Optional<Boolean> buckDirty,
String buckCommit,
String javaVersion,
com.google.common.collect.ImmutableList<String> cacheModes,
com.google.common.collect.ImmutableMap<String,String> extraData,
int jsonProtocolVersion,
String buildType) |
static BuildEnvironmentDescription |
of(String user,
String hostname,
String os,
int availableCores,
long systemMemory,
Optional<Boolean> buckDirty,
String buckCommit,
String javaVersion,
int jsonProtocolVersion) |
public static final int PROTOCOL_VERSION
public abstract String getUser()
public abstract String getHostname()
public abstract String getOs()
public abstract int getAvailableCores()
public abstract long getSystemMemory()
public abstract String getBuckCommit()
public abstract String getJavaVersion()
public abstract com.google.common.collect.ImmutableList<String> getCacheModes()
@Value.Default public int getJsonProtocolVersion()
@Value.Default public String getBuildType()
public static BuildEnvironmentDescription of(ExecutionEnvironment executionEnvironment, com.google.common.collect.ImmutableList<String> cacheModes, com.google.common.collect.ImmutableMap<String,String> extraData)
public static BuildEnvironmentDescription of(String user, String hostname, String os, int availableCores, long systemMemory, Optional<Boolean> buckDirty, String buckCommit, String javaVersion, com.google.common.collect.ImmutableList<String> cacheModes, com.google.common.collect.ImmutableMap<String,String> extraData)
public static BuildEnvironmentDescription of(String user, String hostname, String os, int availableCores, long systemMemory, Optional<Boolean> buckDirty, String buckCommit, String javaVersion, int jsonProtocolVersion)
public static BuildEnvironmentDescription of(String user, String hostname, String os, int availableCores, long systemMemory, Optional<Boolean> buckDirty, String buckCommit, String javaVersion, com.google.common.collect.ImmutableList<String> cacheModes, com.google.common.collect.ImmutableMap<String,String> extraData, int jsonProtocolVersion, String buildType)