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 Object
implements ExampleRunnable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
run()
Runs the command and returns an exit code that the application should return
-
Field Details
-
address
-
-
Constructor Details
-
CheckAddress
public CheckAddress()
-
-
Method Details
-
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
-