Interface ActivationRequest

All Superinterfaces:
Prototype.Api
All Known Implementing Classes:
ActivationRequest.BuilderBase.ActivationRequestImpl

public interface ActivationRequest extends Prototype.Api
Request to activate a service.
See Also:
  • Method Details

    • builder

      static ActivationRequest.Builder builder()
      Create a new fluent API builder to customize configuration.
      Returns:
      a new builder
    • builder

      static ActivationRequest.Builder builder(ActivationRequest instance)
      Create a new fluent API builder from an existing instance.
      Parameters:
      instance - an existing instance used as a base for the builder
      Returns:
      a builder based on an instance
    • create

      static ActivationRequest create()
      Create a new instance with default values.
      Returns:
      a new instance
    • injectionPoint

      Optional<InjectionPointInfo> injectionPoint()
      Optionally, the injection point context information.
      Returns:
      injection point info
    • startingPhase

      Optional<Phase> startingPhase()
      The phase to start activation. Typically, this should be left as the default (i.e., PENDING).
      Returns:
      phase to start
    • targetPhase

      Phase targetPhase()
      Ultimate target phase for activation.
      Returns:
      phase to target
    • throwIfError

      boolean throwIfError()
      Whether to throw an exception on failure to activate, or return an error activation result on activation.
      Returns:
      whether to throw on failure