• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

knowledgepixels / nanodash / 17852532121

19 Sep 2025 08:10AM UTC coverage: 13.568% (-0.3%) from 13.87%
17852532121

push

github

tkuhn
feat: Switch to QueryRef provided by nanopub, using multimap

428 of 4008 branches covered (10.68%)

Branch coverage included in aggregate %.

1104 of 7283 relevant lines covered (15.16%)

0.68 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
src/main/java/com/knowledgepixels/nanodash/connector/ConnectorPage.java
1
package com.knowledgepixels.nanodash.connector;
2

3
import org.apache.wicket.request.mapper.parameter.PageParameters;
4

5
import com.knowledgepixels.nanodash.page.NanodashPage;
6

7
/**
8
 * Base class for connector pages in the Nanodash application.
9
 */
10
public abstract class ConnectorPage extends NanodashPage {
11

12
    private String connectorId;
13
    private ConnectorConfig config;
14

15
    /**
16
     * Constructor for ConnectorPage.
17
     *
18
     * @param parameters Page parameters containing the connector ID.
19
     */
20
    public ConnectorPage(PageParameters parameters) {
21
        super(parameters);
×
22

23
        if (parameters.get("journal") != null) {
×
24
            connectorId = parameters.get("journal").toString();
×
25
        }
26
        if (connectorId != null) {
×
27
            config = ConnectorConfig.get(connectorId);
×
28
        }
29
    }
×
30

31
    /**
32
     * Returns the configuration for the connector.
33
     *
34
     * @return the ConnectorConfig object for this connector.
35
     */
36
    public final ConnectorConfig getConfig() {
37
        return config;
×
38
    }
39

40
    /**
41
     * Returns the ID of the connector.
42
     *
43
     * @return the ID of the connector as a String.
44
     */
45
    public String getConnectorId() {
46
        return connectorId;
×
47
    }
48

49
    /**
50
     * Checks if auto-refresh is enabled for this connector page.
51
     *
52
     * @return true if auto-refresh is enabled, false otherwise.
53
     */
54
    protected boolean hasAutoRefreshEnabled() {
55
        return true;
×
56
    }
57

58
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc