Class CardResourceProfileConfigurator
- java.lang.Object
-
- org.eclipse.keyple.core.service.resource.CardResourceProfileConfigurator
-
public final class CardResourceProfileConfigurator extends java.lang.ObjectConfigurator of a card resource profile.- Since:
- 2.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCardResourceProfileConfigurator.BuilderBuilder ofCardResourceProfileConfigurator.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CardResourceProfileConfigurator.Builderbuilder(java.lang.String profileName, CardResourceProfileExtension cardResourceProfileExtension)Gets the configurator's builder to use in order to create a new instance of a card resource profile with the provided name and a card resource profile extension to handle specific card operations to be performed at allocation time.
-
-
-
Method Detail
-
builder
public static CardResourceProfileConfigurator.Builder builder(java.lang.String profileName, CardResourceProfileExtension cardResourceProfileExtension)
Gets the configurator's builder to use in order to create a new instance of a card resource profile with the provided name and a card resource profile extension to handle specific card operations to be performed at allocation time.- Parameters:
profileName- The name of the profile (must be unique).cardResourceProfileExtension- The associated specific extension able to select a card.- Returns:
- A not null reference.
- Throws:
java.lang.IllegalArgumentException- If the name or the card profile extension is null or empty.java.lang.IllegalStateException- If the name is already in use (performed by the methodCardResourceServiceConfigurator.configure()).- Since:
- 2.0.0
-
-