All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sap.cloud.sdk.cloudplatform.connectivity.ScpCfGenericDestination Maven / Gradle / Ivy

Go to download

Implementation of the Cloud platform abstraction for general-purpose connectivity on the SAP Cloud Platform (Cloud Foundry).

The newest version!
/*
 * Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
 */

package com.sap.cloud.sdk.cloudplatform.connectivity;

import java.util.Collections;
import java.util.Map;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;

/**
 * A CloudFoundry specific generic destination.
 *
 * @see ScpCfDestination
 * @see ScpCfRfcDestination
 */
public class ScpCfGenericDestination extends AbstractGenericDestination
{
    public ScpCfGenericDestination(
        @Nonnull final DestinationType destinationType,
        @Nonnull final String name,
        @Nullable final String description,
        @Nonnull final Map propertiesByName )
    {
        super(destinationType, name, description, propertiesByName);
    }

    /**
     * Creates a mocked {@link ScpCfGenericDestination} returning an empty destination name.
     * 

* This no-arguments constructor is required to ensure compatibility with mocking frameworks such as Mockito. */ private ScpCfGenericDestination() { this(DestinationType.HTTP, "", null, Collections.emptyMap()); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy