class AmazonS3Client extends TextBuiltin
TextBuiltin.TerminatedByHelpException
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
bucket |
private java.lang.String |
key |
private java.lang.String |
op |
private java.io.File |
propertyFile |
Constructor and Description |
---|
AmazonS3Client() |
Modifier and Type | Method and Description |
---|---|
private java.util.Properties |
properties() |
protected boolean |
requiresRepository()
If this command requires a repository.
|
protected void |
run()
Perform the actions of this command.
|
abbreviateRef, containsHelp, die, die, die, die, execute, getErrorWriter, getOutputWriter, getRepository, getResourceBundle, init, initRaw, parseArguments, printUsage, printUsageAndExit, printUsageAndExit, resolve, setCommandName
private java.io.File propertyFile
private java.lang.String op
private java.lang.String bucket
private java.lang.String key
protected final boolean requiresRepository()
requiresRepository
in class TextBuiltin
TextBuiltin.db
/TextBuiltin.getRepository()
is requiredprotected void run() throws java.lang.Exception
This method should only be invoked by TextBuiltin.execute(String[])
.
run
in class TextBuiltin
java.lang.Exception
- an error occurred while processing the command. The main
framework will catch the exception and print a message on
standard error.private java.util.Properties properties()