public class RepositoryEntry extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_DO_PROCESSING |
| Constructor and Description |
|---|
RepositoryEntry()
Default constructor
|
RepositoryEntry(io.vertx.core.json.JsonObject json)
Create an settings from JSON
|
RepositoryEntry(RepositoryEntry other)
Copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAddress() |
String |
getPath() |
boolean |
isDoProcessing() |
RepositoryEntry |
setAddress(String address)
Event bus address of the Repository Connector modules, that should deliver content for the requested path matching the regexp in path
|
RepositoryEntry |
setDoProcessing(boolean doProcessing)
Defines if the given repository path should be processed by the Knots or not.
|
RepositoryEntry |
setPath(String path)
Sets the Regular expression of the HTTP Request path
|
io.vertx.core.json.JsonObject |
toJson()
Convert to JSON
|
public static final boolean DEFAULT_DO_PROCESSING
public RepositoryEntry()
public RepositoryEntry(RepositoryEntry other)
other - the instance to copypublic RepositoryEntry(io.vertx.core.json.JsonObject json)
json - the JSONpublic io.vertx.core.json.JsonObject toJson()
public String getPath()
public RepositoryEntry setPath(String path)
path - a stringpublic String getAddress()
public RepositoryEntry setAddress(String address)
address - a stringpublic boolean isDoProcessing()
public RepositoryEntry setDoProcessing(boolean doProcessing)
doProcessing - false - if request path shouldn't be processed by knotsCopyright © 2016–2020. All rights reserved.