@Transferable public class SelectionInformation extends Artifact<SelectionInformation>
SelectionScriptLinker
to hold selection information about an
individual compiled permutation. The linker generates one instance of this
class per permutation and then accumulates them in the final link, where it
generates a selection script.Constructor and Description |
---|
SelectionInformation(String strongName,
int softPermutationId,
TreeMap<String,String> propMap) |
Modifier and Type | Method and Description |
---|---|
protected int |
compareToComparableArtifact(SelectionInformation o)
Performs comparison with an artifact of a compatible base type.
|
protected Class<SelectionInformation> |
getComparableArtifactType()
Returns the base type to use for comparisons between Artifacts.
|
TreeMap<String,String> |
getPropMap() |
int |
getSoftPermutationId() |
String |
getStrongName() |
int |
hashCode()
The class which is returned from
Artifact.getComparableArtifactType() must
declare a final implementation which returns the same hash code for objects
for which Artifact.compareToComparableArtifact(Artifact) returns 0. |
public int getSoftPermutationId()
public String getStrongName()
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<SelectionInformation>
protected int compareToComparableArtifact(SelectionInformation o)
Artifact
Artifact.hashCode()
.compareToComparableArtifact
in class Artifact<SelectionInformation>
protected Class<SelectionInformation> getComparableArtifactType()
Artifact
getComparableArtifactType
in class Artifact<SelectionInformation>
Copyright © 2016. All rights reserved.