com.ibm.cics.server

Enum Application.MatchStyle

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Application.MatchStyle>
    Enclosing class:
    Application


    public static enum Application.MatchStyle
    extends java.lang.Enum<Application.MatchStyle>
    The style of matching that will be used when invoking an application.
    Since CICS TS version:
    5.2
    Since package version:
    1.500.0
    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      EXACTMATCH
      EXACTMATCH Specifies that an exact match on the application major version number and minor version number is required.
      MINIMUM
      MINIMUM Specifies that the specified minor version number is the minimum that is required, but use a higher version if it is available.
      NONE
      NONE Specifies that no Version is to be used and that the highest version will be invoked.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getMatchStyle() 
      static Application.MatchStyle valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static Application.MatchStyle[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • NONE

        public static final Application.MatchStyle NONE
        NONE Specifies that no Version is to be used and that the highest version will be invoked.
      • EXACTMATCH

        public static final Application.MatchStyle EXACTMATCH
        EXACTMATCH Specifies that an exact match on the application major version number and minor version number is required. If no higher minor version exists nor the minimum required minor version, then an ApplicationNotFoundException is thrown when the Application.invoke() method is called. There is no match criteria for micro version. The highest micro version is always used.
      • MINIMUM

        public static final Application.MatchStyle MINIMUM
        MINIMUM Specifies that the specified minor version number is the minimum that is required, but use a higher version if it is available. If multiple higher minor versions are available the highest is used. This applies to minor version numbers only. The major version number cannot be exceeded and must match exactly. If no higher minor version exists nor the minimum required minor version, then an ApplicationNotFoundException is thrown when the Application.invoke() method is called. There is no match criteria for micro version. The highest micro version is always used.
    • Method Detail

      • values

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

        public static Application.MatchStyle 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
      • getMatchStyle

        public int getMatchStyle()
        Returns:
        The match style