@Transferable public class PrecompilationMetricsArtifact extends Artifact<PrecompilationMetricsArtifact>
Modifier | Constructor and Description |
---|---|
protected |
PrecompilationMetricsArtifact(Class<? extends Linker> linker,
int permutationBase) |
|
PrecompilationMetricsArtifact(int permutationId) |
compareTo, equals, getLinker, isTransferableFromShards, toString
$isInstance
public PrecompilationMetricsArtifact(int permutationId)
public String[] getAstTypes()
public long getElapsedMilliseconds()
public String[] getFinalTypeOracleTypes()
public int getPermutationBase()
public int[] getPermutationIds()
public int hashCode()
Artifact
Artifact.getComparableArtifactType()
must
declare a final implementation which returns the same hash code for objects
for which Artifact.compareToComparableArtifact(Artifact)
returns 0.hashCode
in class Artifact<PrecompilationMetricsArtifact>
public PrecompilationMetricsArtifact setAstTypes(String[] astTypes)
astTypes
- an array of types referenced by the Java AST.public PrecompilationMetricsArtifact setElapsedMilliseconds(long elapsedMilliseconds)
elapsedMilliseconds
- wall clock time elapsed since start of
precompilationpublic PrecompilationMetricsArtifact setFinalTypeOracleTypes(List<String> types)
types
- all types referenced by type oracle after compiling the
sources on the source path with JDT.public PrecompilationMetricsArtifact setPermutationIds(int[] ids)
ids
- the permutation ids associated with this precompilation.protected int compareToComparableArtifact(PrecompilationMetricsArtifact o)
Artifact
Artifact.hashCode()
.compareToComparableArtifact
in class Artifact<PrecompilationMetricsArtifact>
protected final Class<PrecompilationMetricsArtifact> getComparableArtifactType()
Artifact
getComparableArtifactType
in class Artifact<PrecompilationMetricsArtifact>
Copyright © 2018. All rights reserved.