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

devonfw / IDEasy / 13240466137

10 Feb 2025 12:07PM UTC coverage: 68.153% (-0.3%) from 68.469%
13240466137

Pull #1021

github

web-flow
Merge afb8b57cb into 9c2006bd8
Pull Request #1021: #786: support ide upgrade to automatically update to the latest version of IDEasy

2914 of 4695 branches covered (62.07%)

Branch coverage included in aggregate %.

7570 of 10688 relevant lines covered (70.83%)

3.08 hits per line

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

85.71
cli/src/main/java/com/devonfw/tools/ide/url/model/AbstractUrlArtifact.java
1
package com.devonfw.tools.ide.url.model;
2

3
import java.nio.file.Path;
4

5
/**
6
 * Abstract base implementation of {@link UrlArtifact}.
7
 */
8
public abstract class AbstractUrlArtifact implements UrlArtifact {
9

10
  private final Path path;
11

12
  private final String name;
13

14
  /** {@code true} if already {@link #load(boolean) loaded}, {@code false} otherwise. */
15
  protected boolean loaded;
16

17
  /**
18
   * The constructor.
19
   *
20
   * @param path the {@link #getPath() path}.
21
   * @param name the {@link #getName() filename}.
22
   */
23
  public AbstractUrlArtifact(Path path, String name) {
24

25
    super();
2✔
26
    this.path = path;
3✔
27
    this.name = name;
3✔
28
  }
1✔
29

30
  @Override
31
  public Path getPath() {
32

33
    return this.path;
3✔
34
  }
35

36
  @Override
37
  public String getName() {
38

39
    return this.name;
3✔
40
  }
41

42
  @Override
43
  public String toString() {
44

45
    return this.name + "[" + getClass().getSimpleName() + "@" + this.path + "]";
×
46
  }
47

48
}
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