Enum BannerPattern

    • Field Detail

      • COUNT

        public static final int COUNT
      • PATTERN_ITEM_COUNT

        public static final int PATTERN_ITEM_COUNT
      • AVAILABLE_PATTERNS

        public static final int AVAILABLE_PATTERNS
      • hasPatternItem

        private final boolean hasPatternItem
      • filename

        private final java.lang.String filename
      • hashname

        private final java.lang.String hashname
    • Constructor Detail

      • BannerPattern

        private BannerPattern​(java.lang.String p_i47245_3_,
                              java.lang.String p_i47245_4_)
      • BannerPattern

        private BannerPattern​(java.lang.String p_i231861_3_,
                              java.lang.String p_i231861_4_,
                              boolean p_i231861_5_)
    • Method Detail

      • values

        public static BannerPattern[] 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 (BannerPattern c : BannerPattern.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BannerPattern valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getFilename

        public java.lang.String getFilename()
      • getHashname

        public java.lang.String getHashname()
      • byHash

        @Nullable
        public static BannerPattern byHash​(java.lang.String p_190994_0_)
      • create

        public static BannerPattern create​(java.lang.String enumName,
                                           java.lang.String fileNameIn,
                                           java.lang.String hashNameIn)
      • create

        public static BannerPattern create​(java.lang.String enumName,
                                           java.lang.String fileNameIn,
                                           java.lang.String hashNameIn,
                                           boolean hasPatternItem)