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

devonfw / IDEasy / 26097176558

19 May 2026 12:28PM UTC coverage: 70.958% (+0.04%) from 70.918%
26097176558

Pull #1891

github

web-flow
Merge db7b1296e into 921801555
Pull Request #1891: #1880: Allow reset of installed plugins when launching IDE in force mode

4446 of 6930 branches covered (64.16%)

Branch coverage included in aggregate %.

11479 of 15513 relevant lines covered (74.0%)

3.13 hits per line

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

90.0
cli/src/main/java/com/devonfw/tools/ide/os/SystemInfo.java
1
package com.devonfw.tools.ide.os;
2

3
import com.devonfw.tools.ide.version.VersionIdentifier;
4

5
/**
6
 * Interface to get information about the current machine running the IDE.
7
 */
8
public interface SystemInfo {
9

10
  /**
11
   * @return the current {@link OperatingSystem}.
12
   */
13
  OperatingSystem getOs();
14

15
  /**
16
   * @return the raw name of the current {@link OperatingSystem}.
17
   */
18
  String getOsName();
19

20
  /**
21
   * @return the version of the current {@link OperatingSystem}.
22
   */
23
  VersionIdentifier getOsVersion();
24

25
  /**
26
   * @return the raw name of the current {@link SystemArchitecture}.
27
   */
28
  String getArchitectureName();
29

30
  /**
31
   * @return the current {@link SystemArchitecture}.
32
   */
33
  SystemArchitecture getArchitecture();
34

35
  /**
36
   * @return {@code true} if we are on {@link OperatingSystem#WINDOWS windows}.
37
   */
38
  default boolean isWindows() {
39

40
    return getOs() == OperatingSystem.WINDOWS;
8✔
41
  }
42

43
  /**
44
   * @return {@code true} if we are on {@link OperatingSystem#MAC mac OS}.
45
   */
46
  default boolean isMac() {
47

48
    return getOs() == OperatingSystem.MAC;
8✔
49
  }
50

51
  /**
52
   * @return {@code true} if we are on {@link OperatingSystem#LINUX linux}.
53
   */
54
  default boolean isLinux() {
55

56
    return getOs() == OperatingSystem.LINUX;
8✔
57
  }
58

59
  /**
60
   * @return {@code true} if we are running inside WSL (Windows Subsystem for Linux).
61
   */
62
  default boolean isWsl() {
63

64
    return false;
×
65
  }
66

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