* @since 4.0.2
*/
final class DataLocationEntries {
public static void addTo(IntegrationEntityToolTip tt, DataLocation loc, SourceTarget st) {
DataLocationType type = loc.getDataLocationType();
tt.addEntry("Type:", type);
if (loc instanceof FileLocation) {
addFileLocationEntries(tt, (FileLocation) loc, st);
} else if (loc instanceof DatabaseLocation) {
addDbLocationEntries(tt, (DatabaseLocation) loc);