Enum EdgePlugin

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<EdgePlugin>

    public enum EdgePlugin
    extends java.lang.Enum<EdgePlugin>
    • Method Detail

      • values

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

        public static EdgePlugin 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
      • modulesAreInstalled

        public boolean modulesAreInstalled​(@Nonnull
                                           ModuleManager manager)
        Returns:
        true if all module dependencies exist
      • modulesAreLicensed

        public boolean modulesAreLicensed​(LicenseManager manager)
        Returns:
        true if the license exists for all module dependencies
      • modulesAreActivated

        public boolean modulesAreActivated​(ModuleManager manager)
        Returns:
        true if the module dependencies exist and none of the trials are expired. If no module dependencies exist and the platform is trial expired, returns false
      • requiresModules

        public boolean requiresModules()
      • hasPlatformLicense

        public boolean hasPlatformLicense​(LicenseManager manager)
        Returns:
        true if the platform license contains the license parameter specified by the plugin. Also returns true if the plugin did not specify a license parameter.
      • isAvailable

        public boolean isAvailable​(@Nonnull
                                   GatewayContext context)
        Returns true if the plugin is installed and is either licensed or in demo mode.
      • getPluginName

        public java.lang.String getPluginName()
      • getModuleDependencies

        public java.util.List<java.lang.String> getModuleDependencies()