Class CheckPostcodes
- java.lang.Object
-
- com.github.rvesse.airline.examples.sendit.CheckPostcodes
-
- All Implemented Interfaces:
ExampleRunnable
@Command(name="check-postcodes", description="Checks whether postcodes are valid") public class CheckPostcodes extends java.lang.Object implements ExampleRunnable
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<java.lang.String>
postCodes
-
Constructor Summary
Constructors Constructor Description CheckPostcodes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
run()
Runs the command and returns an exit code that the application should return
-
-
-
Field Detail
-
postCodes
@Arguments(title="PostCode", description="Specifies one/more postcodes to validate") public java.util.List<java.lang.String> postCodes
-
-
Method Detail
-
run
public int run()
Description copied from interface:ExampleRunnable
Runs the command and returns an exit code that the application should return- Specified by:
run
in interfaceExampleRunnable
- Returns:
- Exit code
-
-