Enum EdgePlugin
- java.lang.Object
-
- java.lang.Enum<EdgePlugin>
-
- com.inductiveautomation.ignition.gateway.licensing.EdgePlugin
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EdgePlugin>
public enum EdgePlugin extends java.lang.Enum<EdgePlugin>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPUTE
EAM
ENTERPRISE
IIOT
PANEL
SYNC
TRANSMISSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
getModuleDependencies()
java.lang.String
getPluginName()
boolean
hasPlatformLicense(LicenseManager manager)
boolean
isAvailable(GatewayContext context)
Returns true if the plugin is installed and is either licensed or in demo mode.boolean
modulesAreActivated(ModuleManager manager)
boolean
modulesAreInstalled(ModuleManager manager)
boolean
modulesAreLicensed(LicenseManager manager)
boolean
requiresModules()
static EdgePlugin
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EdgePlugin[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PANEL
public static final EdgePlugin PANEL
-
ENTERPRISE
public static final EdgePlugin ENTERPRISE
-
TRANSMISSION
public static final EdgePlugin TRANSMISSION
-
IIOT
public static final EdgePlugin IIOT
-
SYNC
public static final EdgePlugin SYNC
-
COMPUTE
public static final EdgePlugin COMPUTE
-
EAM
public static final EdgePlugin EAM
-
-
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 namejava.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()
-
-