public class RpcPolicyFileArtifact extends Artifact<RpcPolicyFileArtifact>
Constructor and Description |
---|
RpcPolicyFileArtifact(java.lang.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 java.lang.Class<RpcPolicyFileArtifact> |
getComparableArtifactType()
Returns the base type to use for comparisons between Artifacts.
|
EmittedArtifact |
getEmittedArtifact() |
java.lang.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(java.lang.String proxyClass, EmittedArtifact artifact)
public EmittedArtifact getEmittedArtifact()
public java.lang.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 java.lang.Class<RpcPolicyFileArtifact> getComparableArtifactType()
Artifact
getComparableArtifactType
in class Artifact<RpcPolicyFileArtifact>