Enum IgniteComponentType

    • Method Detail

      • values

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

        public static IgniteComponentType 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
      • className

        public String className()
        Returns:
        Component class name.
      • module

        public String module()
        Returns:
        Component module name.
      • inClassPath

        public boolean inClassPath()
        Check whether real component class is in classpath.
        Returns:
        True if in classpath.
      • createOptional

        public <T> T createOptional​(GridKernalContext ctx)
                             throws IgniteCheckedException
        First tries to find main component class, if it is not found creates no-op implementation.
        Parameters:
        ctx - Kernal context.
        Returns:
        Created component or no-op implementation.
        Throws:
        IgniteCheckedException - If failed.
      • createOptional

        public <T> T createOptional()
                             throws IgniteCheckedException
        First tries to find main component class, if it is not found creates no-op implementation.
        Returns:
        Created component or no-op implementation.
        Throws:
        IgniteCheckedException - If failed.