Enum PostType

    • Enum Constant Detail

      • DEFAULT

        public static final PostType DEFAULT
      • SLACK_ATTACHMENT

        public static final PostType SLACK_ATTACHMENT
      • SYSTEM_GENERIC

        public static final PostType SYSTEM_GENERIC
      • JOIN_CHANNEL

        public static final PostType JOIN_CHANNEL
      • LEAVE_CHANNEL

        public static final PostType LEAVE_CHANNEL
      • ADD_TO_CHANNEL

        public static final PostType ADD_TO_CHANNEL
      • REMOVE_FROM_CHANNEL

        public static final PostType REMOVE_FROM_CHANNEL
      • HEADER_CHANGE

        public static final PostType HEADER_CHANGE
      • DISPLAYNAME_CHANGE

        public static final PostType DISPLAYNAME_CHANGE
      • PURPOSE_CHANGE

        public static final PostType PURPOSE_CHANGE
      • CHANNEL_DELETED

        public static final PostType CHANNEL_DELETED
      • EPHEMERAL

        public static final PostType EPHEMERAL
      • JOIN_TEAM

        public static final PostType JOIN_TEAM
      • LEAVE_TEAM

        public static final PostType LEAVE_TEAM
      • AUTO_RESPONDER

        public static final PostType AUTO_RESPONDER
      • MOVE_CHANNEL

        public static final PostType MOVE_CHANNEL
      • ADD_TO_TEAM

        public static final PostType ADD_TO_TEAM
      • REMOVE_FROM_TEAM

        public static final PostType REMOVE_FROM_TEAM
      • CONVERT_CHANNEL

        public static final PostType CONVERT_CHANNEL
      • CHANGE_CHANNEL_PRIVACY

        public static final PostType CHANGE_CHANNEL_PRIVACY
    • Method Detail

      • values

        public static PostType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PostType c : PostType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PostType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null