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

devonfw / IDEasy / 9808947434

05 Jul 2024 01:16PM UTC coverage: 61.755% (-0.04%) from 61.798%
9808947434

push

github

web-flow
#396: Display the tools help output on 'ide help <tool>'  (#434)

1987 of 3535 branches covered (56.21%)

Branch coverage included in aggregate %.

5276 of 8226 relevant lines covered (64.14%)

2.81 hits per line

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

66.67
cli/src/main/java/com/devonfw/tools/ide/tool/java/Java.java
1
package com.devonfw.tools.ide.tool.java;
2

3
import com.devonfw.tools.ide.common.Tag;
4
import com.devonfw.tools.ide.context.IdeContext;
5
import com.devonfw.tools.ide.tool.LocalToolCommandlet;
6
import com.devonfw.tools.ide.tool.ToolCommandlet;
7

8
import java.util.Set;
9

10
/**
11
 * {@link ToolCommandlet} for Java (Java Virtual Machine and Java Development Kit).
12
 */
13
public class Java extends LocalToolCommandlet {
14

15
  /**
16
   * The constructor.
17
   *
18
   * @param context the {@link IdeContext}.
19
   */
20
  public Java(IdeContext context) {
21

22
    super(context, "java", Set.of(Tag.JAVA, Tag.RUNTIME));
7✔
23
  }
1✔
24

25
  @Override
26
  public String getToolHelpArguments() {
27

28
    return "--help";
×
29
  }
30
}
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