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

devonfw / IDEasy / 13788578520

11 Mar 2025 12:57PM UTC coverage: 67.476% (-1.1%) from 68.619%
13788578520

Pull #1025

github

web-flow
Merge ae2f75eb8 into 2cf68279f
Pull Request #1025: #1024: Move urls into url-updater module

3034 of 4915 branches covered (61.73%)

Branch coverage included in aggregate %.

7798 of 11138 relevant lines covered (70.01%)

3.06 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

© 2025 Coveralls, Inc