Enum CirrusModule
- java.lang.Object
-
- java.lang.Enum<CirrusModule>
-
- com.inductiveautomation.ignition.gateway.licensing.CirrusModule
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CirrusModule>
public enum CirrusModule extends java.lang.Enum<CirrusModule>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AWS_ENGINE
AWS_INJECTOR
AZURE_INJECTOR
GCP_INJECTOR
IBM_CLOUD_INJECTOR
MQTT_DISTRIBUTOR
MQTT_ENGINE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
cirrusModulesAreInstalled(ModuleManager manager)
boolean
modulesAreActivated(ModuleManager manager)
boolean
modulesAreLicensed(LicenseManager manager)
boolean
requiresModules()
static CirrusModule
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CirrusModule[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MQTT_ENGINE
public static final CirrusModule MQTT_ENGINE
-
MQTT_DISTRIBUTOR
public static final CirrusModule MQTT_DISTRIBUTOR
-
AWS_ENGINE
public static final CirrusModule AWS_ENGINE
-
AWS_INJECTOR
public static final CirrusModule AWS_INJECTOR
-
AZURE_INJECTOR
public static final CirrusModule AZURE_INJECTOR
-
IBM_CLOUD_INJECTOR
public static final CirrusModule IBM_CLOUD_INJECTOR
-
GCP_INJECTOR
public static final CirrusModule GCP_INJECTOR
-
-
Method Detail
-
values
public static CirrusModule[] 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 (CirrusModule c : CirrusModule.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CirrusModule 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
-
cirrusModulesAreInstalled
public boolean cirrusModulesAreInstalled(@Nonnull ModuleManager manager)
- Returns:
- true is all module dependencies exist
-
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()
-
modulesAreLicensed
public boolean modulesAreLicensed(LicenseManager manager)
- Returns:
- true if the license exists for all module dependencies
-
-