Enum InstallLevel

    • Enum Constant Detail

      • INSTALLED

        public static final InstallLevel INSTALLED

        Enum constant representing the most basic install level. An INSTALLED component exists in the SLEE but has not been verified as legal.

      • VERIFIED

        public static final InstallLevel VERIFIED

        Enum constant representing the intermediate install level. A VERIFIED component has been determined as legal, eg. component references have been checked and any classes referenced in the deployment descriptor have been verified as necessary, but the component is not yet deployed to the runtime subsystem.

      • DEPLOYED

        public static final InstallLevel DEPLOYED

        Enum constant representing a completed install level. A DEPLOYED component has been verified and deployed to the runtime subsystem and is ready for use in services, resource adaptors, profile tables, etc.

    • Method Detail

      • values

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

        public static InstallLevel 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
      • implies

        public boolean implies​(InstallLevel installLevel)

        Determine if this install level implies the specified install level has been reached or passed. For example, the DEPLOYED install level implies both INSTALLED and VERIFIED while the VERIFIED level implies INSTALLED. An install level always implies itself.

        Parameters:
        installLevel - the install level to compare this to.
        Returns:
        true if this install level implies installLevel, false otherwise.