Package com.google.gwt.user.linker.rpc
Class RpcPolicyFileArtifact
- java.lang.Object
-
- com.google.gwt.core.ext.linker.Artifact<RpcPolicyFileArtifact>
-
- com.google.gwt.user.linker.rpc.RpcPolicyFileArtifact
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Artifact<?>>
public class RpcPolicyFileArtifact extends Artifact<RpcPolicyFileArtifact>
This artifact provides information about which proxy classes resulted in which rpc proxy files.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RpcPolicyFileArtifact(java.lang.String proxyClass, EmittedArtifact artifact)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intcompareToComparableArtifact(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.EmittedArtifactgetEmittedArtifact()java.lang.StringgetProxyClass()inthashCode()The class which is returned fromArtifact.getComparableArtifactType()must declare a final implementation which returns the same hash code for objects for whichArtifact.compareToComparableArtifact(Artifact)returns 0.
-
-
-
Constructor Detail
-
RpcPolicyFileArtifact
public RpcPolicyFileArtifact(java.lang.String proxyClass, EmittedArtifact artifact)
-
-
Method Detail
-
getEmittedArtifact
public EmittedArtifact getEmittedArtifact()
-
getProxyClass
public java.lang.String getProxyClass()
-
hashCode
public final int hashCode()
Description copied from class:ArtifactThe class which is returned fromArtifact.getComparableArtifactType()must declare a final implementation which returns the same hash code for objects for whichArtifact.compareToComparableArtifact(Artifact)returns 0.- Specified by:
hashCodein classArtifact<RpcPolicyFileArtifact>
-
compareToComparableArtifact
protected final int compareToComparableArtifact(RpcPolicyFileArtifact o)
Description copied from class:ArtifactPerforms comparison with an artifact of a compatible base type. Objects which compare to 0 are assumed equal, and must return the sameArtifact.hashCode().- Specified by:
compareToComparableArtifactin classArtifact<RpcPolicyFileArtifact>
-
getComparableArtifactType
protected final java.lang.Class<RpcPolicyFileArtifact> getComparableArtifactType()
Description copied from class:ArtifactReturns the base type to use for comparisons between Artifacts. All concrete implementations of this methods must be final.- Specified by:
getComparableArtifactTypein classArtifact<RpcPolicyFileArtifact>
-
-