Class GenericCheckAgentBuilder
- java.lang.Object
-
- org.zkoss.zats.mimic.impl.operation.GenericCheckAgentBuilder
-
- All Implemented Interfaces:
OperationAgentBuilder<ComponentAgent,CheckAgent>
public class GenericCheckAgentBuilder extends Object implements OperationAgentBuilder<ComponentAgent,CheckAgent>
-
-
Constructor Summary
Constructors Constructor Description GenericCheckAgentBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CheckAgentgetOperation(ComponentAgent target)This method create and return a specific implementation ofOperationAgentobject for specified OperationAgent class.Class<CheckAgent>getOperationClass()Provide class information for registration.
-
-
-
Method Detail
-
getOperation
public CheckAgent getOperation(ComponentAgent target)
Description copied from interface:OperationAgentBuilderThis method create and return a specific implementation ofOperationAgentobject for specified OperationAgent class. Similar to factory pattern.- Specified by:
getOperationin interfaceOperationAgentBuilder<ComponentAgent,CheckAgent>- Returns:
- the operation agent
-
getOperationClass
public Class<CheckAgent> getOperationClass()
Description copied from interface:OperationAgentBuilderProvide class information for registration.- Specified by:
getOperationClassin interfaceOperationAgentBuilder<ComponentAgent,CheckAgent>- Returns:
- a sub-class of
OperationAgent
-
-