Class CheckAddress
- java.lang.Object
-
- com.github.rvesse.airline.examples.sendit.CheckAddress
-
- All Implemented Interfaces:
ExampleRunnable
@Command(name="check-address", description="Check if an address meets our restrictions") public class CheckAddress extends java.lang.Object implements ExampleRunnable
-
-
Field Summary
Fields Modifier and Type Field Description private PostalAddress
address
-
Constructor Summary
Constructors Constructor Description CheckAddress()
-
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
-
address
@AirlineModule private PostalAddress address
-
-
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
-
-