Class CreatePolicy
java.lang.Object
com.cloudimpl.outstack.runtime.EntityCommandHandler<Policy,PolicyCreateRequest,Policy>
com.cloudimpl.outstack.spring.service.iam.CreatePolicy
- All Implemented Interfaces:
CommandHandler<Policy>,Handler<Policy>
public class CreatePolicy extends EntityCommandHandler<Policy,PolicyCreateRequest,Policy>
- Author:
- nuwan
-
Field Summary
Fields inherited from class com.cloudimpl.outstack.runtime.EntityCommandHandler
cmdType, entityType, OK -
Constructor Summary
Constructors Constructor Description CreatePolicy() -
Method Summary
Modifier and Type Method Description protected Policyexecute(EntityContext<Policy> context, PolicyCreateRequest command)Methods inherited from class com.cloudimpl.outstack.runtime.EntityCommandHandler
apply, emit, getTenantRequirement, OK, validateInputMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CreatePolicy
public CreatePolicy()
-
-
Method Details
-
execute
- Specified by:
executein classEntityCommandHandler<Policy,PolicyCreateRequest,Policy>
-