public static class TenancyRoutePredicateFactory.Config extends Object
Constructor and Description |
---|
Config() |
Modifier and Type | Method and Description |
---|---|
TenancyRoutePredicateFactory.Config |
application(String... applicationIds)
This route will only be returned when the application in context is one of the provided
applications.
|
TenancyRoutePredicateFactory.Config |
applicationOnly()
This route will only be returned when there is an application in the context.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
protected Collection<String> |
getApplicationIds() |
protected Collection<String> |
getTenantIds() |
int |
hashCode() |
protected boolean |
isApplicationOnly() |
protected boolean |
isTenantOnly() |
protected void |
setApplicationIds(Collection<String> applicationIds) |
protected void |
setApplicationOnly(boolean applicationOnly) |
protected void |
setTenantIds(Collection<String> tenantIds) |
protected void |
setTenantOnly(boolean tenantOnly) |
TenancyRoutePredicateFactory.Config |
tenant(String... tenantIds)
This route will only be returned when the tenant in context is one of the provided
tenants.
|
TenancyRoutePredicateFactory.Config |
tenantOnly()
This route will only be returned when there is no application in the context.
|
String |
toString() |
public TenancyRoutePredicateFactory.Config tenantOnly()
public TenancyRoutePredicateFactory.Config applicationOnly()
public TenancyRoutePredicateFactory.Config tenant(String... tenantIds)
tenantIds
- the set of valid tenantspublic TenancyRoutePredicateFactory.Config application(String... applicationIds)
applicationIds
- the set of valid applicationsprotected boolean isTenantOnly()
protected boolean isApplicationOnly()
protected Collection<String> getTenantIds()
protected Collection<String> getApplicationIds()
protected void setTenantOnly(boolean tenantOnly)
protected void setApplicationOnly(boolean applicationOnly)
protected void setTenantIds(Collection<String> tenantIds)
protected void setApplicationIds(Collection<String> applicationIds)
protected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.