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

devonfw / IDEasy / 22317391561

23 Feb 2026 05:30PM UTC coverage: 70.257% (-0.2%) from 70.474%
22317391561

Pull #1714

github

web-flow
Merge 5be048514 into 379acdc9d
Pull Request #1714: #404: #1713: advanced logging

4066 of 6384 branches covered (63.69%)

Branch coverage included in aggregate %.

10598 of 14488 relevant lines covered (73.15%)

3.08 hits per line

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

88.89
cli/src/main/java/com/devonfw/tools/ide/commandlet/EditionListCommandlet.java
1
package com.devonfw.tools.ide.commandlet;
2

3
import com.devonfw.tools.ide.context.IdeContext;
4
import com.devonfw.tools.ide.property.ToolProperty;
5
import com.devonfw.tools.ide.tool.ToolCommandlet;
6

7
/**
8
 * An internal {@link Commandlet} to list editions for a tool.
9
 *
10
 * @see ToolCommandlet#listEditions()
11
 */
12
public class EditionListCommandlet extends Commandlet {
13

14
  /** The tool to list the editions of. */
15
  public final ToolProperty tool;
16

17
  /**
18
   * The constructor.
19
   *
20
   * @param context the {@link IdeContext}.
21
   */
22
  public EditionListCommandlet(IdeContext context) {
23

24
    super(context);
3✔
25
    addKeyword(getName());
4✔
26
    this.tool = add(new ToolProperty("", true, "tool"));
11✔
27
  }
1✔
28

29
  @Override
30
  public String getName() {
31

32
    return "list-editions";
2✔
33
  }
34

35
  @Override
36
  public boolean isWriteLogFile() {
37

38
    return false;
×
39
  }
40

41
  @Override
42
  protected void doRun() {
43

44
    ToolCommandlet commandlet = this.tool.getValue();
5✔
45
    commandlet.listEditions();
2✔
46
  }
1✔
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