public class RpcPolicyFileArtifact extends Artifact<RpcPolicyFileArtifact>
Constructor and Description |
---|
RpcPolicyFileArtifact(String proxyClass,
EmittedArtifact artifact) |
Modifier and Type | Method and Description |
---|---|
protected int |
compareToComparableArtifact(RpcPolicyFileArtifact o)
Performs comparison with an artifact of a compatible base type.
|
protected Class<RpcPolicyFileArtifact> |
getComparableArtifactType()
Returns the base type to use for comparisons between Artifacts.
|
EmittedArtifact |
getEmittedArtifact() |
String |
getProxyClass() |
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 RpcPolicyFileArtifact(String proxyClass, EmittedArtifact artifact)
public EmittedArtifact getEmittedArtifact()
public String getProxyClass()
public final 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<RpcPolicyFileArtifact>
protected final int compareToComparableArtifact(RpcPolicyFileArtifact o)
Artifact
Artifact.hashCode()
.compareToComparableArtifact
in class Artifact<RpcPolicyFileArtifact>
protected final Class<RpcPolicyFileArtifact> getComparableArtifactType()
Artifact
getComparableArtifactType
in class Artifact<RpcPolicyFileArtifact>
Copyright © 2018. All rights reserved.