Class TargetHolder

java.lang.Object
org.springframework.cloud.dataflow.shell.TargetHolder

public class TargetHolder extends Object
A target holder, wrapping a Target that encapsulates not only the Target URI but also success/error messages + status.
Since:
1.0
Author:
Gunnar Hillert
See Also:
  • Constructor Details

    • TargetHolder

      public TargetHolder()
      Constructor.
  • Method Details

    • getTarget

      public Target getTarget()
      Returns:
      the Target which encapsulates not only the Target URI but also success/error messages + status.
    • setTarget

      public void setTarget(Target target)
      Set the Dataflow Server Target.
      Parameters:
      target - Must not be null.