Class CardResourceProfileConfigurator


  • public final class CardResourceProfileConfigurator
    extends java.lang.Object
    Configurator of a card resource profile.
    Since:
    2.0.0
    • 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 method CardResourceServiceConfigurator.configure()).
        Since:
        2.0.0