1
2
3
4
5
6 package gov.nist.secauto.metaschema.cli.processor.command.impl;
7
8 import gov.nist.secauto.metaschema.cli.processor.command.ExtraArgument;
9
10 import edu.umd.cs.findbugs.annotations.NonNull;
11
12
13
14
15
16
17
18
19
20 public class DefaultExtraArgument implements ExtraArgument {
21 private final String name;
22 private final boolean required;
23
24
25
26
27
28
29
30
31
32 public DefaultExtraArgument(@NonNull String name, boolean required) {
33 this.name = name;
34 this.required = required;
35 }
36
37 @Override
38 public String getName() {
39 return name;
40 }
41
42 @Override
43 public boolean isRequired() {
44 return required;
45 }
46 }