public class Link extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
Link.LinkOptions
Options for Link.
|
Constructor and Description |
---|
Link(Link.LinkOptions options) |
Modifier and Type | Method and Description |
---|---|
static void |
link(TreeLogger logger,
ModuleDef module,
ResourceOracle publicResourceOracle,
ArtifactSet generatedArtifacts,
Permutation[] permutations,
List<PersistenceBackedObject<PermutationResult>> resultFiles,
Set<PermutationResult> libraries,
PrecompileTaskOptions precompileOptions,
Link.LinkOptions linkOptions) |
static void |
linkOnePermutationToJar(TreeLogger logger,
ModuleDef module,
ResourceOracle publicResourceOracle,
ArtifactSet generatedArtifacts,
PermutationResult permResult,
File jarFile,
PrecompileTaskOptions precompileOptions)
This link operation is performed on a CompilePerms shard for one
permutation.
|
static void |
main(String[] args) |
boolean |
run(TreeLogger logger) |
static ArtifactSet |
simulateTransferThinning(ArtifactSet artifacts,
StandardLinkerContext context)
In a parallel build, artifact sets are thinned down in transit between
compilation and linking.
|
public Link(Link.LinkOptions options)
public static void link(TreeLogger logger, ModuleDef module, ResourceOracle publicResourceOracle, ArtifactSet generatedArtifacts, Permutation[] permutations, List<PersistenceBackedObject<PermutationResult>> resultFiles, Set<PermutationResult> libraries, PrecompileTaskOptions precompileOptions, Link.LinkOptions linkOptions) throws UnableToCompleteException, IOException
UnableToCompleteException
IOException
public static void linkOnePermutationToJar(TreeLogger logger, ModuleDef module, ResourceOracle publicResourceOracle, ArtifactSet generatedArtifacts, PermutationResult permResult, File jarFile, PrecompileTaskOptions precompileOptions) throws UnableToCompleteException
UnableToCompleteException
public static void main(String[] args)
public static ArtifactSet simulateTransferThinning(ArtifactSet artifacts, StandardLinkerContext context)
public boolean run(TreeLogger logger) throws UnableToCompleteException
UnableToCompleteException
Copyright © 2018. All rights reserved.