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

devonfw / IDEasy / 13858963404

14 Mar 2025 02:38PM UTC coverage: 67.657% (-1.0%) from 68.619%
13858963404

push

github

web-flow
#1024: Move urls into url-updater module (#1025)

Co-authored-by: Jörg Hohwiller <hohwille@users.noreply.github.com>

3036 of 4915 branches covered (61.77%)

Branch coverage included in aggregate %.

7825 of 11138 relevant lines covered (70.25%)

3.07 hits per line

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

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

3
import com.devonfw.tools.ide.url.model.folder.UrlFolder;
4

5
/**
6
 * Interface for an {@link UrlArtifact} that has a {@link #getParent() parent}.
7
 *
8
 * @param <P> type of the {@link #getParent() parent} {@link UrlFolder folder}.
9
 */
10
public interface UrlArtifactWithParent<P extends UrlFolder<?>> extends UrlArtifact {
11

12
  /**
13
   * @return the parent {@link UrlFolder} owning this artifact as child.
14
   */
15
  P getParent();
16

17

18
  /**
19
   * Physically deletes this artifact with all its potential children from the disc. Will also remove it from its {@link #getParent() parent}.
20
   */
21
  default void delete() {
22
    getParent().deleteChild(getName());
×
23
  }
×
24
}
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