Modifier and Type | Field and Description |
---|---|
Path |
argFile |
com.google.common.collect.ImmutableList<String> |
cDepInput |
com.google.common.collect.ImmutableList<String> |
cxxCompiler |
com.google.common.collect.ImmutableMap<String,String> |
environment |
ProjectFilesystem |
filesystem |
com.google.common.collect.ImmutableList<String> |
flags |
com.google.common.collect.ImmutableList<Path> |
input |
boolean |
isBytecode |
boolean |
isLibrary |
com.google.common.collect.ImmutableList<String> |
ocamlCompilerCommandPrefix |
Path |
output |
Optional<String> |
stdlib |
workingDirectory
Modifier and Type | Method and Description |
---|---|
static OcamlLinkStep |
create(ProjectFilesystem filesystem,
com.google.common.collect.ImmutableMap<String,String> environment,
com.google.common.collect.ImmutableList<String> cxxCompiler,
com.google.common.collect.ImmutableList<String> ocamlCompilerCommandPrefix,
com.google.common.collect.ImmutableList<Arg> flags,
Optional<String> stdlib,
Path output,
Path argFile,
com.google.common.collect.ImmutableList<Arg> depInput,
com.google.common.collect.ImmutableList<Arg> cDepInput,
com.google.common.collect.ImmutableList<Path> input,
boolean isLibrary,
boolean isBytecode,
SourcePathResolverAdapter pathResolver)
Factory method for OcamlLinkStep.
|
com.google.common.collect.ImmutableMap<String,String> |
getEnvironmentVariables(ExecutionContext context)
Returns the environment variables to include when running this
ShellStep . |
protected com.google.common.collect.ImmutableList<String> |
getShellCommandInternal(ExecutionContext context)
Implementations of this method should not have any observable side-effects.
|
String |
getShortName() |
addOptions, execute, getDescription, getDuration, getExitCodeFromResult, getShellCommand, getShellCommandArgsForDescription, getStderr, getStdin, getStdout, getTimeout, getTimeoutHandler, shouldPrintStderr, shouldPrintStdout
public final ProjectFilesystem filesystem
public final com.google.common.collect.ImmutableList<String> cxxCompiler
public final com.google.common.collect.ImmutableList<String> ocamlCompilerCommandPrefix
public final com.google.common.collect.ImmutableList<String> flags
public final Path output
public final Path argFile
public final com.google.common.collect.ImmutableList<String> cDepInput
public final com.google.common.collect.ImmutableList<Path> input
public final boolean isLibrary
public final boolean isBytecode
public static OcamlLinkStep create(ProjectFilesystem filesystem, com.google.common.collect.ImmutableMap<String,String> environment, com.google.common.collect.ImmutableList<String> cxxCompiler, com.google.common.collect.ImmutableList<String> ocamlCompilerCommandPrefix, com.google.common.collect.ImmutableList<Arg> flags, Optional<String> stdlib, Path output, Path argFile, com.google.common.collect.ImmutableList<Arg> depInput, com.google.common.collect.ImmutableList<Arg> cDepInput, com.google.common.collect.ImmutableList<Path> input, boolean isLibrary, boolean isBytecode, SourcePathResolverAdapter pathResolver)
public String getShortName()
protected com.google.common.collect.ImmutableList<String> getShellCommandInternal(ExecutionContext context)
ShellStep
getShellCommandInternal
in class ShellStep
public com.google.common.collect.ImmutableMap<String,String> getEnvironmentVariables(ExecutionContext context)
ShellStep
ShellStep
.
By default, this method returns an empty map.
getEnvironmentVariables
in class ShellStep
context
- that may be useful when determining environment variables to include.