Class Send
java.lang.Object
com.github.rvesse.airline.examples.sendit.Send
- All Implemented Interfaces:
ExampleRunnable
@Command(name="send",
description="Sends a package")
public class Send
extends Object
implements ExampleRunnable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
address
-
item
-
service
@Option(name={"-s","--service"}, title="Service", description="Specifies the postal service you would like to use") private PostalService service
-
-
Constructor Details
-
Send
public Send()
-
-
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
-
main
-