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

eu.binjr.sources.netdata.adapters.NetdataAdapterInfo Maven / Gradle / Ivy

The newest version!
/*
 *    Copyright 2020-2023 Frederic Thevenet
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *         http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

package eu.binjr.sources.netdata.adapters;

import eu.binjr.core.data.adapters.AdapterMetadata;
import eu.binjr.core.data.adapters.BaseDataAdapterInfo;
import eu.binjr.core.data.adapters.SourceLocality;
import eu.binjr.core.data.adapters.VisualizationType;
import eu.binjr.core.data.exceptions.CannotInitializeDataAdapterException;
import eu.binjr.core.preferences.AppEnvironment;

/**
 * Defines the metadata associated with the NetdataDataAdapter
 *
 * @author Frederic Thevenet
 */
@AdapterMetadata(
        name = "Netdata",
        description = "Netdata Adapter",
        copyright = AppEnvironment.COPYRIGHT_NOTICE,
        license = AppEnvironment.LICENSE,
        siteUrl = AppEnvironment.HTTP_WWW_BINJR_EU,
        adapterClass = NetdataAdapter.class,
        dialogClass = NetdataAdapterDialog.class,
        preferencesClass = NetdataAdapterPreferences.class,
        sourceLocality = SourceLocality.REMOTE,
        apiLevel = AppEnvironment.PLUGIN_API_LEVEL,
        visualizationType = VisualizationType.CHARTS
)
public class NetdataAdapterInfo extends BaseDataAdapterInfo {

    /**
     * Initialises a new instance of the {@link NetdataAdapterInfo} class.
     *
     * @throws CannotInitializeDataAdapterException if an error occurs initializing the adapter.
     */
    public NetdataAdapterInfo() throws CannotInitializeDataAdapterException {
        super(NetdataAdapterInfo.class);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy