Interface PontonXPAdapterConfiguration
- All Known Implementing Classes:
PlainPontonXPAdapterConfiguration
public interface PontonXPAdapterConfiguration
This interface defines all information needed for a PontonXPAdapter to establish a connection to a Ponton XP
Messenger.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionID of the adapter that will be used by the Ponton XP Messenger.Version of the adapterAPI endpoint of the Ponton XP Messengerhostname()Address of the Ponton XP Messengerpassword()Password for the given username.intport()Port of the Ponton XP Messenger adapter interface (default: 2600)username()Username for the Ponton XP Messenger to use REST API endpoints that require authentication.Path to the folder where the Ponton XP Adapter will store its files like id.dat which is used by the messenger to identify the adapter.
-
Field Details
-
PREFIX
- See Also:
-
ADAPTER_ID_KEY
- See Also:
-
ADAPTER_VERSION_KEY
- See Also:
-
HOSTNAME_KEY
- See Also:
-
PORT_KEY
- See Also:
-
API_ENDPOINT_KEY
- See Also:
-
WORK_FOLDER_KEY
- See Also:
-
USERNAME_KEY
- See Also:
-
PASSWORD_KEY
- See Also:
-
-
Method Details
-
adapterId
String adapterId()ID of the adapter that will be used by the Ponton XP Messenger. The value used for this should be configured as the default adapter in the messenger -
adapterVersion
String adapterVersion()Version of the adapter -
hostname
String hostname()Address of the Ponton XP Messenger -
apiEndpoint
String apiEndpoint()API endpoint of the Ponton XP Messenger -
port
int port()Port of the Ponton XP Messenger adapter interface (default: 2600) -
workFolder
String workFolder()Path to the folder where the Ponton XP Adapter will store its files like id.dat which is used by the messenger to identify the adapter. -
username
String username()Username for the Ponton XP Messenger to use REST API endpoints that require authentication. Needs to be a user without 2FA activated. -
password
String password()Password for the given username.
-