Class TaskProcessorCommand.TaskQueueEntry
java.lang.Object
eu.svjatoslav.alyverkko_cli.commands.task_processor.TaskProcessorCommand.TaskQueueEntry
- All Implemented Interfaces:
Comparable<TaskProcessorCommand.TaskQueueEntry>
- Enclosing class:
TaskProcessorCommand
public static class TaskProcessorCommand.TaskQueueEntry
extends Object
implements Comparable<TaskProcessorCommand.TaskQueueEntry>
A static nested class representing a task in the queue, with a
priority and a tiebreaker for sorting.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintint
-
Constructor Details
-
TaskQueueEntry
-
-
Method Details
-
getFilePath
-
getPriority
public int getPriority() -
getTiebreaker
-
compareTo
- Specified by:
compareToin interfaceComparable<TaskProcessorCommand.TaskQueueEntry>
-