Class OneTimeAdministrativeFlowDescriptor

All Implemented Interfaces:
AdministrativeFlowDescriptor, AuthenticationProfileConfiguration, AttributeResolvingProfileConfiguration, ProfileConfiguration, FlowDescriptor, Component, DestructableComponent, IdentifiableComponent, IdentifiedComponent, InitializableComponent

public class OneTimeAdministrativeFlowDescriptor extends BasicAdministrativeFlowDescriptor
Descriptor for an administrative flow that tracks whether it's been run or not to limit use.

This is primarily for flows that are used to initialize the system in some fashion.

Since:
3.4.0
  • Field Details

    • flowExecuted

      private boolean flowExecuted
      Execution flag.
  • Constructor Details

    • OneTimeAdministrativeFlowDescriptor

      public OneTimeAdministrativeFlowDescriptor(@Nonnull @NotEmpty String id)
      Constructor.
      Parameters:
      id - profile identifier
  • Method Details

    • isFlowExecuted

      public boolean isFlowExecuted()
      Get whether the flow has been executed.
      Returns:
      execution flag
    • setFlowExecuted

      public void setFlowExecuted(boolean flag)
      Set whether the flow has been executed.
      Parameters:
      flag - flag to set