Package hudson.plugins.gearman
Class CustomGearmanFunctionFactory
java.lang.Object
org.gearman.worker.DefaultGearmanFunctionFactory
hudson.plugins.gearman.CustomGearmanFunctionFactory
- All Implemented Interfaces:
org.gearman.worker.GearmanFunctionFactory
public class CustomGearmanFunctionFactory
extends org.gearman.worker.DefaultGearmanFunctionFactory
-
Constructor Summary
ConstructorsConstructorDescriptionCustomGearmanFunctionFactory
(String functionName, String className, GearmanProject project, Computer computer, String builtInName, MyGearmanWorkerImpl worker) -
Method Summary
Methods inherited from class org.gearman.worker.DefaultGearmanFunctionFactory
getFunctionName
-
Constructor Details
-
CustomGearmanFunctionFactory
public CustomGearmanFunctionFactory(String functionName, String className, GearmanProject project, Computer computer, String builtInName, MyGearmanWorkerImpl worker)
-
-
Method Details
-
getFunction
public org.gearman.worker.GearmanFunction getFunction()- Specified by:
getFunction
in interfaceorg.gearman.worker.GearmanFunctionFactory
- Overrides:
getFunction
in classorg.gearman.worker.DefaultGearmanFunctionFactory
-