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

devonfw / IDEasy / 13327588889

14 Feb 2025 10:44AM UTC coverage: 67.947% (-0.5%) from 68.469%
13327588889

Pull #1021

github

web-flow
Merge d03159bfe into 52609dacb
Pull Request #1021: #786: support ide upgrade to automatically update to the latest version of IDEasy

2964 of 4791 branches covered (61.87%)

Branch coverage included in aggregate %.

7688 of 10886 relevant lines covered (70.62%)

3.07 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