classdef (Hidden) JobStorageEventData < event.EventData
    % JobStorageEventData - Handle to the job which has changed in storage
    % Data attached to events must inherit from EventData hence this
    % simple class is required to pass the job with the event.
    
    % Copyright 2016 The MathWorks, Inc.
    
    properties (GetAccess = 'public', SetAccess = 'immutable')
        Job
    end
    
    methods
        function data = JobStorageEventData(job)
            data.Job = job;
        end
    end
    
end

