Package com.gemalto.mfs.mwsdk.payment
Enum Class PluginRegistrationManager
- All Implemented Interfaces:
Serializable,Comparable<PluginRegistrationManager>,Constable
This enum contains the plugin registration methods.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanChecks if any plugin has been registered.final voidregister(CustomApduListener customApduListener, String[] customAidList) Registers AIDs with the corresponding listener.static PluginRegistrationManagerReturns the enum constant of this class with the specified name.static PluginRegistrationManager[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
register
Registers AIDs with the corresponding listener.- Parameters:
customApduListener- the custom listener used for registration.customAidList- the list of AIDs used for registration with the listener.
-
hasRegisteredPlugin
public final boolean hasRegisteredPlugin()Checks if any plugin has been registered.- Returns:
- TRUE if a plugin has been registered and FALSE otherwise.
-