@Transferable public class PropertiesMappingArtifact extends Artifact<PropertiesMappingArtifact>
getSerialized()
.Constructor and Description |
---|
PropertiesMappingArtifact(Class<? extends Linker> linker,
Map<PermutationsUtil.PermutationId,List<Map<String,String>>> mappings) |
Modifier and Type | Method and Description |
---|---|
int |
compareToComparableArtifact(PropertiesMappingArtifact that)
Performs comparison with an artifact of a compatible base type.
|
Class<PropertiesMappingArtifact> |
getComparableArtifactType()
Returns the base type to use for comparisons between Artifacts.
|
String |
getSerialized() |
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 compareToComparableArtifact(PropertiesMappingArtifact that)
Artifact
Artifact.hashCode()
.compareToComparableArtifact
in class Artifact<PropertiesMappingArtifact>
public Class<PropertiesMappingArtifact> getComparableArtifactType()
Artifact
getComparableArtifactType
in class Artifact<PropertiesMappingArtifact>
public String getSerialized()
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<PropertiesMappingArtifact>
Copyright © 2016. All rights reserved.