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 TypeMethodDescriptionintrun()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:ExampleRunnableRuns the command and returns an exit code that the application should return- Specified by:
runin interfaceExampleRunnable- Returns:
- Exit code
-