Class CardResourceProfileConfigurator

java.lang.Object
org.eclipse.keyple.core.service.resource.CardResourceProfileConfigurator

public final class CardResourceProfileConfigurator extends Object
Configurator of a card resource profile.
Since:
2.0.0
  • Method Details

    • builder

      public static CardResourceProfileConfigurator.Builder builder(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:
      IllegalArgumentException - If the name or the card profile extension is null or empty.
      IllegalStateException - If the name is already in use (performed by the method CardResourceServiceConfigurator.configure()).
      Since:
      2.0.0