Class TenancyRoutePredicateFactory.Config

    • Constructor Detail

      • Config

        public Config()
    • Method Detail

      • tenant

        public TenancyRoutePredicateFactory.Config tenant​(String... tenantIds)
        This route will only be returned when the tenant in context is one of the provided tenants.
        Parameters:
        tenantIds - the set of valid tenants
        Returns:
        this
      • application

        public TenancyRoutePredicateFactory.Config application​(String... applicationIds)
        This route will only be returned when the application in context is one of the provided applications.
        Parameters:
        applicationIds - the set of valid applications
        Returns:
        this
      • isTenantOnly

        protected boolean isTenantOnly()
      • isApplicationOnly

        protected boolean isApplicationOnly()
      • setTenantOnly

        protected void setTenantOnly​(boolean tenantOnly)
      • setApplicationOnly

        protected void setApplicationOnly​(boolean applicationOnly)
      • setApplicationIds

        protected void setApplicationIds​(Collection<String> applicationIds)
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object