Class PriorityAdjustment


  • class PriorityAdjustment
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      PriorityAdjustment​(java.lang.String value)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int adjust​(int priority)  
      private static java.lang.IllegalArgumentException wrongFormat​(java.lang.String value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • NUMBER_PATTERN

        private static final java.util.regex.Pattern NUMBER_PATTERN
      • adjustmentValue

        private final int adjustmentValue
      • isDelta

        private final boolean isDelta
    • Constructor Detail

      • PriorityAdjustment

        PriorityAdjustment​(java.lang.String value)
    • Method Detail

      • wrongFormat

        private static java.lang.IllegalArgumentException wrongFormat​(java.lang.String value)
      • adjust

        public int adjust​(int priority)