org.wso2.carbon.integration.common.extensions.usermgt
Class UserPopulateExtension
java.lang.Object
org.wso2.carbon.automation.engine.extensions.ListenerExtension
org.wso2.carbon.automation.engine.extensions.ExecutionListenerExtension
org.wso2.carbon.integration.common.extensions.usermgt.UserPopulateExtension
public class UserPopulateExtension
- extends org.wso2.carbon.automation.engine.extensions.ExecutionListenerExtension
Pluggable class - This performs the user population
|
Method Summary |
void |
initiate()
|
void |
onExecutionFinish()
Remove the populated tenants, users, roles and permissions on execution finish of the test |
void |
onExecutionStart()
Populate all tenants, users, roles and permissions on execution start of the test |
| Methods inherited from class org.wso2.carbon.automation.engine.extensions.ListenerExtension |
getAutomationContext, getParameters, setParameterMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserPopulateExtension
public UserPopulateExtension()
initiate
public void initiate()
throws Exception
- Specified by:
initiate in class org.wso2.carbon.automation.engine.extensions.ExecutionListenerExtension
- Throws:
Exception
onExecutionStart
public void onExecutionStart()
throws Exception
- Populate all tenants, users, roles and permissions on execution start of the test
- Specified by:
onExecutionStart in class org.wso2.carbon.automation.engine.extensions.ExecutionListenerExtension
- Throws:
Exception
onExecutionFinish
public void onExecutionFinish()
throws Exception
- Remove the populated tenants, users, roles and permissions on execution finish of the test
- Specified by:
onExecutionFinish in class org.wso2.carbon.automation.engine.extensions.ExecutionListenerExtension
- Throws:
Exception
Copyright © 2015 WSO2. All rights reserved.