Class Config
- java.lang.Object
-
- com.e1c.g5.v8.dt.platform.standaloneserver.core.config.Config
-
public class Config extends Object
Class to parse the part of infobase configuration file into an object.
-
-
Constructor Summary
Constructors Constructor Description Config()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Config
copy()
Creates a copy of the instance.boolean
equals(Object obj)
void
fill(InfobaseArgumentBuilder builder)
IDatabase
getDatabase()
Gates
getGates()
List<Publication>
getHttp()
Infobase
getInfobase()
Server
getServer()
int
hashCode()
void
setDatabase(IDatabase database)
Set databasevoid
setGates(Gates gates)
void
setInfobase(Infobase infobase)
Set infobasevoid
setServer(Server server)
-
-
-
Method Detail
-
copy
public Config copy()
Creates a copy of the instance.- Returns:
- the copy instance, never
null
-
getDatabase
public IDatabase getDatabase()
- Returns:
- database, never
null
-
setDatabase
public void setDatabase(IDatabase database)
Set database- Parameters:
database
- to set, cannot benull
-
getInfobase
public Infobase getInfobase()
- Returns:
- server, never
null
-
setInfobase
public void setInfobase(Infobase infobase)
Set infobase- Parameters:
infobase
- to set, cannot benull
-
getHttp
public List<Publication> getHttp()
- Returns:
- http, never
null
-
getServer
public Server getServer()
- Returns:
- the server
-
setServer
public void setServer(Server server)
- Parameters:
server
- the server to set
-
getGates
public Gates getGates()
- Returns:
- the gates
-
setGates
public void setGates(Gates gates)
- Parameters:
gates
- the gates to set
-
fill
public void fill(InfobaseArgumentBuilder builder)
- Parameters:
builder
- for fill, cannot benull
-
-