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

devonfw / IDEasy / 26101908636

19 May 2026 01:55PM UTC coverage: 70.982% (+0.003%) from 70.979%
26101908636

Pull #1859

github

web-flow
Merge cf4a7f717 into b4eeee25f
Pull Request #1859: #1392: Smart completions

4472 of 6964 branches covered (64.22%)

Branch coverage included in aggregate %.

11521 of 15567 relevant lines covered (74.01%)

3.14 hits per line

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

71.43
cli/src/main/java/com/devonfw/tools/ide/property/EditionProperty.java
1
package com.devonfw.tools.ide.property;
2

3
import com.devonfw.tools.ide.commandlet.Commandlet;
4
import com.devonfw.tools.ide.completion.CompletionCandidateCollector;
5
import com.devonfw.tools.ide.context.IdeContext;
6
import com.devonfw.tools.ide.validation.PropertyValidator;
7

8
public class EditionProperty extends Property<String> {
9

10
  /**
11
   * The constructor.
12
   *
13
   * @param name the {@link #getName() property name}.
14
   * @param required the {@link #isRequired() required flag}.
15
   * @param alias the {@link #getAlias() property alias}.
16
   */
17
  public EditionProperty(String name, boolean required, String alias) {
18

19
    this(name, required, alias, null);
6✔
20
  }
1✔
21

22
  /**
23
   * The constructor.
24
   *
25
   * @param name the {@link #getName() property name}.
26
   * @param required the {@link #isRequired() required flag}.
27
   * @param alias the {@link #getAlias() property alias}.
28
   * @param validator the {@link PropertyValidator} used to {@link #validate() validate} the {@link #getValue() value}.
29
   */
30
  public EditionProperty(String name, boolean required, String alias, PropertyValidator<String> validator) {
31

32
    super(name, required, alias, false, validator);
7✔
33
  }
1✔
34

35
  @Override
36
  public Class<String> getValueType() {
37

38
    return String.class;
×
39
  }
40

41
  @Override
42
  public String parse(String valueAsString, IdeContext context) {
43

44
    return valueAsString;
2✔
45
  }
46

47
  @Override
48
  protected void completeValue(String arg, IdeContext contextual, Commandlet commandlet,
49
                               CompletionCandidateCollector collector) {}
×
50
}
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