public final class TypeName
extends java.lang.Object
implements java.io.Serializable
TypeName
is used to uniquely identify objects within a Stateful Functions application,
including functions, egresses, and types. Typenames serves as an integral part of identifying
these objects for message delivery as well as message data serialization and deserialization.Address
,
Type
,
StatefulFunctionSpec
,
Serialized FormModifier and Type | Method and Description |
---|---|
java.lang.String |
asTypeNameString() |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
name()
Returns the name of the function type.
|
java.lang.String |
namespace()
Returns the namespace of the function type.
|
java.lang.String |
toString() |
static TypeName |
typeNameFromString(java.lang.String typeNameString) |
static TypeName |
typeNameOf(java.lang.String namespace,
java.lang.String name) |
public static TypeName typeNameOf(java.lang.String namespace, java.lang.String name)
public static TypeName typeNameFromString(java.lang.String typeNameString)
public java.lang.String namespace()
public java.lang.String name()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String asTypeNameString()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.