Enum EdgePlugin

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

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

      • ENTERPRISE

        public static final EdgePlugin ENTERPRISE
      • TRANSMISSION

        public static final EdgePlugin TRANSMISSION
    • 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
      • isInstalled

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

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

        public boolean isActivated​(ModuleManager manager)
        Returns:
        true if the module dependencies exist and none of the trials are expired
      • 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()