% distcomp.objectroot class

%   Copyright 2017-2020 The MathWorks, Inc.

classdef objectroot < matlab.mixin.SetGet & matlab.mixin.Copyable
    
    properties (SetAccess = private)
        CurrentJobmanager
        CurrentWorker
        CurrentJob
        CurrentTask
        CurrentRunprop
        CurrentErrorHandlers
    end
    
    methods (Hidden)
        function setCurrentTaskInfo(obj, jobmanager, worker, job, task, runprop, handlers)
            % setCurrentTaskInfo set information about current task for worker MATLAB

            obj.CurrentJobmanager = jobmanager;
            obj.CurrentWorker = worker;
            obj.CurrentJob = job;
            obj.CurrentTask = task;
            obj.CurrentRunprop = runprop;
            obj.CurrentErrorHandlers = handlers;
        end
    end
end