Class ServiceDefinition
java.lang.Object
dev.restate.sdk.endpoint.definition.ServiceDefinition
-
Method Summary
Modifier and TypeMethodDescriptionboolean
@Nullable String
HandlerDefinition
<?, ?> getHandler
(String name) Collection
<HandlerDefinition<?, ?>> int
hashCode()
static ServiceDefinition
of
(String name, ServiceType ty, Collection<HandlerDefinition<?, ?>> handlers) withDocumentation
(@Nullable String documentation) withMetadata
(Map<String, String> metadata)
-
Method Details
-
getServiceName
-
getServiceType
-
getHandlers
-
getHandler
-
getDocumentation
-
getMetadata
-
withDocumentation
-
withMetadata
-
equals
-
hashCode
public int hashCode() -
of
public static ServiceDefinition of(String name, ServiceType ty, Collection<HandlerDefinition<?, ?>> handlers)
-