Class DialogUploadAgentBuilder
- java.lang.Object
-
- org.zkoss.zats.mimic.impl.operation.DialogUploadAgentBuilder
-
- All Implemented Interfaces:
OperationAgentBuilder<DesktopAgent,UploadAgent>
public class DialogUploadAgentBuilder extends Object implements OperationAgentBuilder<DesktopAgent,UploadAgent>
The builder implementation of dialog upload agent- Since:
- 1.1.0
- Author:
- pao
-
-
Constructor Summary
Constructors Constructor Description DialogUploadAgentBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UploadAgentgetOperation(DesktopAgent target)This method create and return a specific implementation ofOperationAgentobject for specified OperationAgent class.Class<UploadAgent>getOperationClass()Provide class information for registration.
-
-
-
Method Detail
-
getOperationClass
public Class<UploadAgent> getOperationClass()
Description copied from interface:OperationAgentBuilderProvide class information for registration.- Specified by:
getOperationClassin interfaceOperationAgentBuilder<DesktopAgent,UploadAgent>- Returns:
- a sub-class of
OperationAgent
-
getOperation
public UploadAgent getOperation(DesktopAgent 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<DesktopAgent,UploadAgent>- Returns:
- the operation agent
-
-