public class LegacyProxyConfig
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
pkg
The Java package for these programs.
|
private java.util.Map<java.lang.String,LegacyProxyClientConfig> |
programs
The map of configured external programs.
|
Constructor and Description |
---|
LegacyProxyConfig(java.lang.String pkg)
Initialize this instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addProxyProgram(LegacyProxyClientConfig cfg)
Add a new program.
|
java.util.List<java.lang.String> |
getAstFiles()
Get all the JAST file names for this configuration.
|
java.lang.String |
getPkg()
Get the java package for these programs.
|
LegacyProxyClientConfig |
getProgram(java.lang.String filename)
Get the proxy configuration for this program.
|
private final java.lang.String pkg
private java.util.Map<java.lang.String,LegacyProxyClientConfig> programs
public LegacyProxyConfig(java.lang.String pkg)
pkg
- The Java package name.public void addProxyProgram(LegacyProxyClientConfig cfg)
cfg
- The program's configuration.public java.lang.String getPkg()
public java.util.List<java.lang.String> getAstFiles()
public LegacyProxyClientConfig getProgram(java.lang.String filename)
filename
- The full file name for a converted external program.null
.