public class Config extends Object
Constructor and Description |
---|
Config()
Constructor
|
Config(JsonObject json)
Constructor (from JSON representation)
|
Config(List<ConfigEntry> entries)
Constructor
|
Modifier and Type | Method and Description |
---|---|
List<ConfigEntry> |
getEntries() |
Config |
setEntries(List<ConfigEntry> entries)
Set the configuration entries for a resource
|
JsonObject |
toJson()
Convert object to JSON representation
|
String |
toString() |
public Config()
public Config(List<ConfigEntry> entries)
entries
- configuration entries for a resourcepublic Config(JsonObject json)
json
- JSON representationpublic List<ConfigEntry> getEntries()
public Config setEntries(List<ConfigEntry> entries)
entries
- configuration entries for a resourcepublic JsonObject toJson()
Copyright © 2024 Eclipse. All rights reserved.