All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.katalon.platform.api.service.ControllerManager Maven / Gradle / Ivy

There is a newer version: 1.0.21
Show newest version
package com.katalon.platform.api.service;

import com.katalon.platform.api.Application;
import com.katalon.platform.api.controller.Controller;
import com.katalon.platform.api.controller.FolderController;
import com.katalon.platform.api.controller.ProjectController;
import com.katalon.platform.api.controller.ReportController;
import com.katalon.platform.api.controller.TestCaseController;

/**
 * ControllerManager is a unique instance interface that maintains list of registered Controller.
 * 

* Each Controller is a KS platform service to help plugins interact, manipulate KS test artifacts, such as: * TestCaseEntity, TestSuiteEntity, ProjectEnity, ReportEntity... *

* The unique instance of ControllerManager can access by using {@link Application#getControllerManager()} */ public interface ControllerManager { /** * Returns the Controller associated with the given class. * * @param the type of Controller * @param clazz a interface Controller class that needs to be found in the ControllerManager * @see TestCaseController * @see FolderController * @see ReportController * @see ProjectController * * @return an implementation instance of Controller corresponding to the given class, or * null if not found. * @since 1.0.4 */ T getController(Class clazz); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy