Enum MergeBehavior

  • All Implemented Interfaces:
    Serializable, Comparable<MergeBehavior>

    public enum MergeBehavior
    extends Enum<MergeBehavior>
    This class is responsible for implementing the strategies for the mosaicking which can be a flat merge of band-stacking merge.
    Author:
    Simone Giannecchini, GeoSolutions TODO check more conditions to use MosaicDescriptor
    • Method Detail

      • values

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

        public static MergeBehavior 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
      • valuesAsStrings

        public static String[] valuesAsStrings()
        Retrieves the possible values as Strings.
        Returns:
        an arrays of String that contains the representation of each value.