Class CreateTenant
java.lang.Object
com.cloudimpl.outstack.runtime.EntityCommandHandler<Tenant,TenantCreateRequest,Tenant>
com.cloudimpl.outstack.service.example.CreateTenant
- All Implemented Interfaces:
com.cloudimpl.outstack.runtime.CommandHandler<Tenant>,com.cloudimpl.outstack.runtime.Handler<Tenant>
public class CreateTenant extends com.cloudimpl.outstack.runtime.EntityCommandHandler<Tenant,TenantCreateRequest,Tenant>
- Author:
- nuwan
-
Constructor Summary
Constructors Constructor Description CreateTenant() -
Method Summary
Modifier and Type Method Description protected Tenantexecute(com.cloudimpl.outstack.runtime.EntityContext<Tenant> context, TenantCreateRequest command)Methods inherited from class com.cloudimpl.outstack.runtime.EntityCommandHandler
apply, emit, isTenantFunctionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CreateTenant
public CreateTenant()
-
-
Method Details
-
execute
protected Tenant execute(com.cloudimpl.outstack.runtime.EntityContext<Tenant> context, TenantCreateRequest command)- Specified by:
executein classcom.cloudimpl.outstack.runtime.EntityCommandHandler<Tenant,TenantCreateRequest,Tenant>
-