java.lang.Object
All Implemented Interfaces:
java.lang.Comparable<FixStation>

public class FixStation
extends Station
implements java.lang.Comparable<FixStation>
Station implementation for the AssemblyStage. This station is slightly more unique compared to the rest, as noted by that it's sub-typed with an ErrorType.
  • Constructor Details

    • FixStation

      public FixStation​(@NonNull @NonNull FixStage stage, @NonNull @NonNull ErrorType type)
  • Method Details

    • resetId

      public static void resetId()
    • getProcessingTime

      protected long getProcessingTime()
      Description copied from class: Station
      Gets the processing duration of the Station from a corresponding generator.
      Specified by:
      getProcessingTime in class Station
      Returns:
      Long
    • compareTo

      public int compareTo​(@NonNull @NonNull FixStation station)
      Specified by:
      compareTo in interface java.lang.Comparable<FixStation>