Class Target

java.lang.Object
dev.restate.sdk.common.Target

public final class Target extends Object
Represents an invocation target.
  • Method Details Link icon

    • virtualObject Link icon

      public static Target virtualObject(String name, String key, String handler)
    • workflow Link icon

      public static Target workflow(String name, String key, String handler)
    • service Link icon

      public static Target service(String name, String handler)
    • getService Link icon

      public String getService()
    • getHandler Link icon

      public String getHandler()
    • getKey Link icon

      public @Nullable String getKey()
      Returns:
      the virtual object/workflow key. Null if the target is a regular service.
    • equals Link icon

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode Link icon

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object