self.currentLog = [[HBJobOutputFileWriter alloc] initWithJob:nextItem.job];
if (self.currentLog)
{
+ nextItem.activityLogURL = self.currentLog.url;
+
dispatch_queue_t mainQueue = dispatch_get_main_queue();
[self.core.stderrRedirect addListener:self.currentLog queue:mainQueue];
[self.core.stdoutRedirect addListener:self.currentLog queue:mainQueue];
@property (nonatomic, readonly) HBJob *job;
/// Current state of the job.
-@property (nonatomic, readwrite) HBQueueItemState state;
+@property (nonatomic) HBQueueItemState state;
/// The file URL of the source.
@property (nonatomic, readonly) NSURL *fileURL;
-/// The file URL at which the new file will be created.
+/// The directory URL at which the new file will be created.
@property (nonatomic, readonly, copy) NSURL *outputURL;
/// The name of the new file that will be created.
/// The file URL at which the new file will be created.
@property (nonatomic, readonly, copy) NSURL *completeOutputURL;
+/// The file URL at which the new file will be created.
+@property (nonatomic, copy, nullable) NSURL *activityLogURL;
+
@property (nonatomic) NSTimeInterval encodeDuration;
@property (nonatomic) NSTimeInterval pauseDuration;
encodeObject(_job);
encodeObject(_uuid);
+ encodeObject(_activityLogURL);
+
encodeDouble(_encodeDuration);
encodeDouble(_pauseDuration);
decodeObjectOrFail(_job, HBJob);
decodeObjectOrFail(_uuid, NSString);
+ decodeObject(_activityLogURL, NSURL);
+
decodeDouble(_encodeDuration);
decodeDouble(_pauseDuration);