Class CardResourcePluginFactoryBuilder


  • public final class CardResourcePluginFactoryBuilder
    extends java.lang.Object
    Builds instances of CardResourcePluginFactory.
    Since:
    1.0.0
    • Method Detail

      • builder

        public static CardResourcePluginFactoryBuilder.Builder builder​(java.lang.String pluginName,
                                                                       org.eclipse.keyple.core.service.resource.CardResourceService cardResourceService,
                                                                       java.util.Collection<java.lang.String> cardResourceProfileNames)
        Creates a builder to build a CardResourcePluginFactory.
        Parameters:
        pluginName - The name of the plugin.
        cardResourceService - The card resource service to use. It must be configured and started.
        cardResourceProfileNames - The card resource profile names to use.
        Returns:
        A new builder instance.
        Throws:
        java.lang.IllegalArgumentException - If the one of the given references is null, empty, or contains null or empty elements.
        Since:
        1.0.0
      • builder

        public static CardResourcePluginFactoryBuilder.Builder builder​(java.lang.String pluginName,
                                                                       org.eclipse.keyple.core.service.resource.CardResourceService cardResourceService,
                                                                       java.lang.String cardResourceProfileName)
        Creates a builder to build a CardResourcePluginFactory.
        Parameters:
        pluginName - The name of the plugin.
        cardResourceService - The card resource service to use. It must be configured and started.
        cardResourceProfileName - The card resource profile name to use.
        Returns:
        A new builder instance.
        Throws:
        java.lang.IllegalArgumentException - If the one of the given references is null or empty.
        Since:
        1.0.0