public final class Factory extends Object
Modifier and Type | Method and Description |
---|---|
static Client |
createClient(Communicator communicator)
Creates a
Client based on the passed Communicator . |
static Client |
createClient(CommunicatorConfiguration configuration)
Creates a
Client based on the passed configuration. |
static Client |
createClient(URI apiEndpoint,
Connection connection,
Authenticator authenticator,
MetadataProvider metadataProvider)
Creates a
Client based on the passed parameters. |
static Client |
createClient(URI configurationFileUri,
String authorizationId,
String authorizationSecret)
Creates a
Client based on the configuration values in
configurationFileUri , authorizationId and authorizationSecret . |
static Communicator |
createCommunicator(CommunicatorConfiguration configuration)
Creates a
Communicator based on the passed configuration. |
static Communicator |
createCommunicator(URI apiEndpoint,
Connection connection,
Authenticator authenticator,
MetadataProvider metadataProvider)
Creates a
Communicator based on the passed parameters. |
static Communicator |
createCommunicator(URI configurationFileUri,
String authorizationId,
String authorizationSecret)
Creates a
Communicator based on the configuration values in
configurationFileUri , authorizationId and authorizationSecret . |
static CommunicatorBuilder |
createCommunicatorBuilder(CommunicatorConfiguration configuration)
Creates a
CommunicatorBuilder based on the passed configuration. |
static CommunicatorBuilder |
createCommunicatorBuilder(URI configurationFileUri,
String authorizationId,
String authorizationSecret)
Creates a
CommunicatorBuilder based on the configuration values in
configurationFileUri , authorizationId and authorizationSecret . |
static CommunicatorConfiguration |
createConfiguration(URI configurationFileUri,
String authorizationId,
String authorizationSecret)
Creates a
CommunicatorConfiguration based on the configuration
values in configurationFileUri and authorizationId and
authorizationSecret . |
public static CommunicatorConfiguration createConfiguration(URI configurationFileUri, String authorizationId, String authorizationSecret)
CommunicatorConfiguration
based on the configuration
values in configurationFileUri
and authorizationId
and
authorizationSecret
.public static CommunicatorBuilder createCommunicatorBuilder(URI configurationFileUri, String authorizationId, String authorizationSecret)
CommunicatorBuilder
based on the configuration values in
configurationFileUri
, authorizationId
and authorizationSecret
.public static CommunicatorBuilder createCommunicatorBuilder(CommunicatorConfiguration configuration)
CommunicatorBuilder
based on the passed configuration.public static Communicator createCommunicator(URI configurationFileUri, String authorizationId, String authorizationSecret)
Communicator
based on the configuration values in
configurationFileUri
, authorizationId
and authorizationSecret
.public static Communicator createCommunicator(CommunicatorConfiguration configuration)
Communicator
based on the passed configuration.public static Communicator createCommunicator(URI apiEndpoint, Connection connection, Authenticator authenticator, MetadataProvider metadataProvider)
Communicator
based on the passed parameters.public static Client createClient(URI configurationFileUri, String authorizationId, String authorizationSecret)
Client
based on the configuration values in
configurationFileUri
, authorizationId
and authorizationSecret
.public static Client createClient(CommunicatorConfiguration configuration)
Client
based on the passed configuration.public static Client createClient(URI apiEndpoint, Connection connection, Authenticator authenticator, MetadataProvider metadataProvider)
Client
based on the passed parameters.public static Client createClient(Communicator communicator)
Client
based on the passed Communicator
.Copyright © 2024 Worldline Global Collect. All rights reserved.