public class FilesystemRepositoryOptions extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
DEFAULT_ADDRESS
Default EB address of the file system repository verticle
|
String |
DEFAULT_CATALOGUE
Default root folder of the filesystem repository
|
| Constructor and Description |
|---|
FilesystemRepositoryOptions()
Default constructor
|
FilesystemRepositoryOptions(FilesystemRepositoryOptions other)
Copy constructor
|
FilesystemRepositoryOptions(io.vertx.core.json.JsonObject json)
Create an settings from JSON
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAddress() |
String |
getCatalogue() |
FilesystemRepositoryOptions |
setAddress(String address)
Set the EB address of the file system repository verticle
|
FilesystemRepositoryOptions |
setCatalogue(String catalogue)
Set the root folder of the repository on file system.
|
io.vertx.core.json.JsonObject |
toJson()
Convert to JSON
|
public final String DEFAULT_ADDRESS
public final String DEFAULT_CATALOGUE
public FilesystemRepositoryOptions()
public FilesystemRepositoryOptions(FilesystemRepositoryOptions other)
other - the instance to copypublic FilesystemRepositoryOptions(io.vertx.core.json.JsonObject json)
json - the JSONpublic io.vertx.core.json.JsonObject toJson()
public String getAddress()
public FilesystemRepositoryOptions setAddress(String address)
address - an EB address of the verticlepublic String getCatalogue()
public FilesystemRepositoryOptions setCatalogue(String catalogue)
catalogue - a root path to the repository filesCopyright © 2016–2020. All rights reserved.