Package com.google.gwt.user.linker.rpc
Class RpcLogArtifact
java.lang.Object
com.google.gwt.core.ext.linker.Artifact<RpcLogArtifact>
com.google.gwt.user.linker.rpc.RpcLogArtifact
- All Implemented Interfaces:
Serializable
,Comparable<Artifact<?>>
This artifact holds a log of the reasoning for which types are considered
serializable for a particular RPC interface.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
This strong name indicates that the artifact doesn't really have its own strong name. -
Constructor Summary
ConstructorDescriptionRpcLogArtifact
(String qualifiedSourceName, String serializationPolicyStrongName, String rpcLog) -
Method Summary
Modifier and TypeMethodDescriptionprotected int
Performs comparison with an artifact of a compatible base type.protected Class
<RpcLogArtifact> Returns the base type to use for comparisons between Artifacts.byte[]
int
hashCode()
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.
-
Field Details
-
UNSPECIFIED_STRONGNAME
This strong name indicates that the artifact doesn't really have its own strong name.- See Also:
-
-
Constructor Details
-
RpcLogArtifact
-
-
Method Details
-
getContents
public byte[] getContents() -
getQualifiedSourceName
-
getSerializationPolicyStrongName
-
hashCode
public int hashCode()Description copied from class:Artifact
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.- Specified by:
hashCode
in classArtifact<RpcLogArtifact>
-
compareToComparableArtifact
Description copied from class:Artifact
Performs 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:
compareToComparableArtifact
in classArtifact<RpcLogArtifact>
-
getComparableArtifactType
Description copied from class:Artifact
Returns the base type to use for comparisons between Artifacts. All concrete implementations of this methods must be final.- Specified by:
getComparableArtifactType
in classArtifact<RpcLogArtifact>
-