Class CardResourcePluginFactoryBuilder

java.lang.Object
org.eclipse.keyple.plugin.cardresource.CardResourcePluginFactoryBuilder

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

    • builder

      public static CardResourcePluginFactoryBuilder.Builder builder(String pluginName, org.eclipse.keyple.core.service.resource.CardResourceService cardResourceService, Collection<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:
      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(String pluginName, org.eclipse.keyple.core.service.resource.CardResourceService cardResourceService, 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:
      IllegalArgumentException - If the one of the given references is null or empty.
      Since:
      1.0.0