Package de.uka.ipd.sdq.workflow.jobs
Class BlackboardAwareJobProxy<BlackboardType extends Blackboard<?>>
- java.lang.Object
-
- de.uka.ipd.sdq.workflow.jobs.JobProxy
-
- de.uka.ipd.sdq.workflow.jobs.BlackboardAwareJobProxy<BlackboardType>
-
- Type Parameters:
BlackboardType- the blackboard type as described byIBlackboardInteractingJob
- All Implemented Interfaces:
IBlackboardInteractingJob<BlackboardType>,IJob
public class BlackboardAwareJobProxy<BlackboardType extends Blackboard<?>> extends JobProxy implements IBlackboardInteractingJob<BlackboardType>
This is a Blackboard aware Job Proxy. The proxied job is still only retrieved once the proxy is executed. This proxy class additionally implements the IBlackboardInteractingJob interface to forward the current blackboard instance.
-
-
Constructor Summary
Constructors Constructor Description BlackboardAwareJobProxy(String name, Supplier<IJob> jobSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetBlackboard(BlackboardType blackboard)Sets the blackboard of this job to the given blackboard.protected IJobsupplyJob()
-
-
-
Method Detail
-
setBlackboard
public void setBlackboard(BlackboardType blackboard)
Description copied from interface:IBlackboardInteractingJobSets the blackboard of this job to the given blackboard.- Specified by:
setBlackboardin interfaceIBlackboardInteractingJob<BlackboardType extends Blackboard<?>>- Parameters:
blackboard- The blackboard to be used by this job
-
-