class LfsStore extends TextBuiltin
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
LfsStore.AppServer
Tiny web application server for testing
|
private static class |
LfsStore.StorageClass |
private static class |
LfsStore.StoreType |
TextBuiltin.TerminatedByHelpException| Modifier and Type | Field and Description |
|---|---|
(package private) java.lang.String |
accessKey |
(package private) java.lang.String |
bucket |
(package private) java.lang.String |
directory |
(package private) boolean |
disableSslVerify |
(package private) int |
expirationSeconds |
private static java.lang.String |
OBJECTS |
(package private) int |
port |
private static java.lang.String |
PROTOCOL_PATH |
(package private) java.lang.String |
protocolUrl |
(package private) java.lang.String |
region |
(package private) java.lang.String |
secretKey |
(package private) LfsStore.StorageClass |
storageClass |
private static java.lang.String |
STORE_PATH |
(package private) LfsStore.StoreType |
storeType |
(package private) java.lang.String |
storeUrl |
| Constructor and Description |
|---|
LfsStore() |
| Modifier and Type | Method and Description |
|---|---|
private void |
checkOptions() |
private java.lang.String |
getProtocolUrl(java.net.URI baseURI) |
private java.lang.String |
getStoreUrl(java.net.URI baseURI) |
private void |
readAWSKeys() |
protected boolean |
requiresRepository()
If this command requires a repository.
|
protected void |
run()
Perform the actions of this command.
|
containsHelp, die, die, die, die, execute, getErrorWriter, getOutputWriter, getRepository, getResourceBundle, init, initRaw, parseArguments, printUsage, printUsageAndExit, printUsageAndExitprivate static final java.lang.String OBJECTS
private static final java.lang.String STORE_PATH
private static final java.lang.String PROTOCOL_PATH
int port
LfsStore.StoreType storeType
java.lang.String storeUrl
java.lang.String region
java.lang.String bucket
LfsStore.StorageClass storageClass
int expirationSeconds
boolean disableSslVerify
java.lang.String directory
java.lang.String protocolUrl
java.lang.String accessKey
java.lang.String secretKey
protected boolean requiresRepository()
requiresRepository in class TextBuiltinTextBuiltin.db/TextBuiltin.getRepository() is requiredprotected void run()
throws java.lang.Exception
This method should only be invoked by TextBuiltin.execute(String[]).
run in class TextBuiltinjava.lang.Exception - an error occurred while processing the command. The main
framework will catch the exception and print a message on
standard error.private void checkOptions()
private void readAWSKeys()
throws java.io.IOException,
ConfigInvalidException
java.io.IOExceptionConfigInvalidExceptionprivate java.lang.String getStoreUrl(java.net.URI baseURI)
private java.lang.String getProtocolUrl(java.net.URI baseURI)