sdk-java
Toggle table of contents
2.9.4
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
sdk-java
common
/
dev.restate.common
/
Target
Target
class
Target
Represents an invocation target.
Members
Properties
handler
Link copied to clipboard
val
handler
:
String
key
Link copied to clipboard
@
Nullable
@get:
Nullable
val
key
:
@
Nullable
String
scope
Link copied to clipboard
@
Nullable
@get:
ApiStatus.Experimental
@get:
Nullable
val
scope
:
@
Nullable
String
service
Link copied to clipboard
val
service
:
String
Functions
equals
Link copied to clipboard
open
fun
equals
(
object
:
Any
)
:
Boolean
hash
Code
Link copied to clipboard
open
fun
hashCode
(
)
:
Int
scoped
Link copied to clipboard
@
ApiStatus.Experimental
open
fun
scoped
(
scope
:
String
)
:
Target
PREVIEW:
Returns a new
Target
routed within the given scope.
service
Link copied to clipboard
open
fun
service
(
name
:
String
,
handler
:
String
)
:
Target
@
ApiStatus.Experimental
open
fun
service
(
scope
:
String
,
name
:
String
,
handler
:
String
)
:
Target
PREVIEW.
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String
virtual
Object
Link copied to clipboard
open
fun
virtualObject
(
name
:
String
,
key
:
String
,
handler
:
String
)
:
Target
@
ApiStatus.Experimental
open
fun
virtualObject
(
scope
:
String
,
name
:
String
,
key
:
String
,
handler
:
String
)
:
Target
PREVIEW.
workflow
Link copied to clipboard
open
fun
workflow
(
name
:
String
,
key
:
String
,
handler
:
String
)
:
Target
@
ApiStatus.Experimental
open
fun
workflow
(
scope
:
String
,
name
:
String
,
key
:
String
,
handler
:
String
)
:
Target
PREVIEW.