Package com.isode.som

Class SomPriority


  • public class SomPriority
    extends java.lang.Object
    Java implementation of message priority values, including Military settings
    Author:
    tc
    • Constructor Detail

      • SomPriority

        public SomPriority()
    • Method Detail

      • name

        public static java.lang.String name​(int prio,
                                            boolean military)
        Return priority name
        Parameters:
        prio - priority ID
        military - if military names
        Returns:
        name or null (if prio unknown)
      • getCount

        public static int getCount()
        Returns number of priorities.
        Returns:
        number of priorities
      • getCountWithoutBulkJunk

        public static int getCountWithoutBulkJunk()