Class ProfileInterceptorFlowDescriptor

    • Field Detail

      • activationCondition

        @Nonnull
        private Predicate<ProfileRequestContext> activationCondition
        Predicate that must be true for this flow to be usable for a given request.
      • storageService

        @Nullable
        private StorageService storageService
        Storage service for the results generated by this flow.
      • supportsNonBrowser

        private boolean supportsNonBrowser
        Whether this flow supports non-browser clients.
    • Constructor Detail

      • ProfileInterceptorFlowDescriptor

        public ProfileInterceptorFlowDescriptor()
        Constructor.
    • Method Detail

      • setActivationCondition

        public void setActivationCondition​(@Nonnull
                                           Predicate<ProfileRequestContext> condition)
        Set the activation condition in the form of a Predicate such that iff the condition evaluates to true should the corresponding flow be allowed/possible.
        Parameters:
        condition - predicate that controls activation of the flow
      • isNonBrowserSupported

        public boolean isNonBrowserSupported()
        Get whether this flow supports non-browser clients.
        Returns:
        whether this flow supports non-browser clients
      • setNonBrowserSupported

        public void setNonBrowserSupported​(boolean isSupported)
        Set whether this flow supports non-browser clients.
        Parameters:
        isSupported - whether this flow supports non-browser clients
      • getStorageService

        @Nullable
        public StorageService getStorageService()
        Get the storage service.
        Returns:
        the storage service
      • setStorageService

        public void setStorageService​(@Nonnull
                                      StorageService service)
        Set the storage service.
        Parameters:
        service - the storage service
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object