Improve javadoc for all addons (#15667)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
This commit is contained in:
@@ -15,7 +15,7 @@ package org.openhab.binding.fronius.internal.api;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
/**
|
||||
* The {@link MeterRealtimeBody} is responsible for storing
|
||||
* The {@link MeterRealtimeBodyDTO} is responsible for storing
|
||||
* the "body" node of the JSON response
|
||||
*
|
||||
* @author Jimmy Tanagra - Initial contribution
|
||||
|
||||
@@ -15,7 +15,7 @@ package org.openhab.binding.fronius.internal.api;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
/**
|
||||
* The {@link MeterRealtimeBodyData} is responsible for storing
|
||||
* The {@link MeterRealtimeBodyDataDTO} is responsible for storing
|
||||
* the "data" node of the JSON response
|
||||
*
|
||||
* The main SerializedName values use Smart Meter 63A names
|
||||
|
||||
@@ -15,7 +15,7 @@ package org.openhab.binding.fronius.internal.api;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
/**
|
||||
* The {@link MeterRealtimeDetails} is responsible for storing
|
||||
* The {@link MeterRealtimeDetailsDTO} is responsible for storing
|
||||
* the "body" node of the JSON response
|
||||
*
|
||||
* @author Jimmy Tanagra - Initial contribution
|
||||
|
||||
@@ -15,7 +15,7 @@ package org.openhab.binding.fronius.internal.api;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
/**
|
||||
* The {@link MeterRealtimeResponse} is responsible for storing
|
||||
* The {@link MeterRealtimeResponseDTO} is responsible for storing
|
||||
* the response from the powerflowrealtime api
|
||||
*
|
||||
* @author Jimmy Tanagra - Initial contribution
|
||||
|
||||
@@ -15,7 +15,7 @@ package org.openhab.binding.fronius.internal.api;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
/**
|
||||
* The {@link OhmpilotRealtimeBody} is responsible for storing
|
||||
* The {@link OhmpilotRealtimeBodyDTO} is responsible for storing
|
||||
* the "body" node of the JSON response
|
||||
*
|
||||
* @author Hannes Spenger - Initial contribution
|
||||
|
||||
@@ -15,7 +15,7 @@ package org.openhab.binding.fronius.internal.api;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
/**
|
||||
* The {@link OhmpilotRealtimeBodyData} is responsible for storing
|
||||
* The {@link OhmpilotRealtimeBodyDataDTO} is responsible for storing
|
||||
* the "data" node of the JSON response
|
||||
*
|
||||
* @author Hannes Spenger - Initial contribution
|
||||
|
||||
@@ -15,7 +15,7 @@ package org.openhab.binding.fronius.internal.api;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
/**
|
||||
* The {@link OhmpilotRealtimeDetails} is responsible for storing
|
||||
* The {@link OhmpilotRealtimeDetailsDTO} is responsible for storing
|
||||
* the "body" node of the JSON response
|
||||
*
|
||||
* @author Hannes Spenger - Initial contribution
|
||||
|
||||
@@ -15,7 +15,7 @@ package org.openhab.binding.fronius.internal.api;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
/**
|
||||
* The {@link OhmpilotRealtimeResponse} is responsible for storing
|
||||
* The {@link OhmpilotRealtimeResponseDTO} is responsible for storing
|
||||
* the response from the GetOhmPilotRealtimeData api
|
||||
*
|
||||
* @author Hannes Spenger - Initial contribution
|
||||
|
||||
@@ -192,7 +192,6 @@ public abstract class FroniusBaseThingHandler extends BaseThingHandler {
|
||||
Thread.sleep(500 * attempts);
|
||||
attempts++;
|
||||
}
|
||||
|
||||
} catch (JsonSyntaxException | NumberFormatException e) {
|
||||
logger.debug("Received Invalid JSON Data", e);
|
||||
throw new FroniusCommunicationException("Invalid JSON data received", e);
|
||||
|
||||
Reference in New Issue
Block a user