Class TenantResolverEndpoint.ApplicationResolverResponse
java.lang.Object
com.broadleafcommerce.tenant.web.endpoint.TenantResolverEndpoint.ApplicationResolverResponse
- All Implemented Interfaces:
Serializable
- Enclosing class:
- TenantResolverEndpoint
public static class TenantResolverEndpoint.ApplicationResolverResponse
extends Object
implements Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionApplicationResolverResponse(Tenant tenant, Application application) Creates a newApplicationResolverResponseinstance. -
Method Summary
Modifier and TypeMethodDescriptionThe resolvedApplication.The resolvedTenant.withApplication(Application application) The resolvedApplication.withTenant(Tenant tenant) The resolvedTenant.
-
Constructor Details
-
ApplicationResolverResponse
public ApplicationResolverResponse() -
ApplicationResolverResponse
Creates a newApplicationResolverResponseinstance.- Parameters:
tenant- The resolvedTenant.application- The resolvedApplication.
-
-
Method Details
-
getTenant
The resolvedTenant.- Returns:
- The resolved
Tenant.
-
getApplication
The resolvedApplication.- Returns:
- The resolved
Application.
-
withTenant
The resolvedTenant.- Parameters:
tenant- The resolvedTenant.- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withApplication
The resolvedApplication.- Parameters:
application- The resolvedApplication.- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-