public interface IPlatformConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ASYNCEXECUTION
Use asynchronous execution mode?
|
static java.lang.String |
AWADELAY
The awareness delay in milliseconds
|
static java.lang.String |
AWAEXCLUDES
Exclude entries for awareness agent.
|
static java.lang.String |
AWAINCLUDES
Include entries for awareness agent.
|
static java.lang.String |
AWAMECHANISM_BROADCAST
Uses IPv4 broadcast to announce awareness infos in local networks.
|
static java.lang.String |
AWAMECHANISM_LOCAL
The local discovery uses a file-based mechanism to detect platforms running on the same host.
|
static java.lang.String |
AWAMECHANISM_MULTICAST
Uses IPv4 Multicast to find other platforms.
|
static java.lang.String |
AWAMECHANISM_REGISTRY
The Registry mechanism implements a master-slave mechanism, where one
platform is the registry.
|
static java.lang.String |
AWAMECHANISM_SCANNER
The IP-Scanner discovery mechanism sends out awareness infos to all IP
addresses within the local network (using port 55668)
|
static java.lang.String |
AWAMECHANISMS
Specify the awareness agent discovery mechanisms (comma separated).
|
static java.lang.String |
AWARENESS
Start the awareness agent (awa) for automatic platform discovery.
|
static java.lang.String |
BASECLASSLOADER
The base classloader.
|
static java.lang.String |
BINARYMESSAGES
Use a compact binary message format instead of XML by default.
|
static java.lang.String[] |
BOOLEAN_ARGS
This is used for consistency checks and includes all argument names which refer to boolean
arguments.
|
static java.lang.String |
CHAT
Start the chat agent for instant messaging and file transfer with user
Jadex users.
|
static java.lang.String |
CLI
Start the platform with command line interface (cli) activated? (requires
Jadex Pro add-on)
|
static java.lang.String |
CLICONSOLE
Start cli with console in or not
|
static java.lang.String |
COMPONENT
The component flag argument (for starting an additional component).
|
static java.lang.String |
COMPONENT_FACTORY
The component factory classname argument.
|
static java.lang.String |
CONFIGURATION_FILE
The configuration file argument.
|
static java.lang.String |
CONFIGURATION_NAME
The configuration to use.
|
static java.lang.String |
CONTEXTSERVICECLASS
Optionally provide alternative context service implementation.
|
static java.lang.String |
DEBUGFUTURES
The debug futures flag argument.
|
static java.lang.String |
DEBUGSERVICES
The debug futures services argument.
|
static java.lang.String |
DEBUGSTEPS
The debug futures services argument.
|
static java.lang.String |
DEFTIMEOUT
The default timeout argument.
|
static java.lang.String |
FALLBACK_COMPONENT_FACTORY
The default component factory to be used for platform component.
|
static java.lang.String |
FALLBACK_PLATFORM_CONFIGURATION
The default platform configuration.
|
static java.lang.String |
GUI
Start the JCC agent to open the platform GUI?
|
static java.lang.String |
JCCPLATFORMS
Open JCC for specific remote platforms.
|
static java.lang.String |
KERNELS
The name(s) of kernel(s) to load (separated by comma).
|
static java.lang.String |
LIBPATH
Additional library paths (classpath entries) for loading agent models and
classes.
|
static java.lang.String |
LOCALTRANSPORT
Flag if local transport is enabled.
|
static java.lang.String |
LOGGING
Enable verbose logging (shortcut for setting logging_level to info).
|
static java.lang.String |
LOGGING_LEVEL
Logging level for platform.
|
static java.lang.String |
MAVEN_DEPENDENCIES
Flag to enable the Maven dependency service (requires Jadex Pro add-on).
|
static java.lang.String |
MONITORING
The monitoring flag argument.
|
static java.lang.String |
NOSTACKCOMPACTION
The stack compaction disable flag argument.
|
static java.lang.String |
OPENGL
The opengl disable flag argument.
|
static java.lang.String |
PARAMETERCOPY
Flag if copying parameters for local service calls is allowed.
|
static java.lang.String |
PERSIST
The persist flag argument.
|
static java.lang.String |
PLATFORM_COMPONENT
Tell the starter to use the default platform component implementation (usually no need to change).
|
static java.lang.String |
PLATFORM_NAME
The name of the platform component (null for auto generation).
|
static java.lang.String |
PLATFORMARGS |
static java.lang.String |
PLATFORMCONFIG |
static java.lang.String |
PLATFORMMODEL |
static java.lang.String |
PLATFORMPROXIES
Flag if CIDs may be reused (true for not).
|
static java.lang.String |
PRINTEXCEPTIONS
Flag if exceptions should be printed.
|
static java.lang.String |
PROGRAM_ARGUMENTS |
static java.lang.String |
REALTIMETIMEOUT
Flag if local timeouts should be realtime (instead of clock dependent).
|
static java.lang.String |
RELAYADDRESSES
Address(es) for relay transport (one or more addresses separated by
commas).
|
static java.lang.String |
RELAYFORWARDING |
static java.lang.String |
RELAYTRANSPORT
Flag if relay transport is enabled.
|
static java.lang.String |
RSPUBLISH
Flag if rest service publishing is enabled.
|
static java.lang.String |
RSPUBLISHCOMPONENT
Optionally provide alternative rs publish implementation.
|
static java.lang.String |
SAVEONEXIT
Save platform settings on shutdown?
|
static java.lang.String |
SIMULATION
Use simulation execution mode?
|
static java.lang.String |
STRICTCOM
Fail on recoverable message decoding errors instead of ignoring.
|
static java.lang.String |
TCPPORT
Port for TCP transport.
|
static java.lang.String |
TCPTRANSPORT
Flag if tcp transport is enabled.
|
static java.lang.String |
THREADPOOLCLASS
Optionally provide alternative thread pool implementation.
|
static java.lang.String |
THREADPOOLDEFER
Flag for deferring thread creation/deletion in thread pool
|
static java.lang.String |
UNIQUEIDS
Flag if CIDs may be reused (true for not).
|
static java.lang.String |
WELCOME
Tell starter to print welcome message.
|
static java.lang.String |
WSPORT |
static java.lang.String |
WSPUBLISH
Flag if web service publishing is enabled.
|
static java.lang.String |
WSTRANSPORT |
Modifier and Type | Method and Description |
---|---|
void |
addComponent(java.lang.Class<?> clazz)
Add a component via class.
|
void |
addComponent(java.lang.String path)
Add a component via file.
|
IPlatformConfiguration |
clone()
Clone this configuration.
|
void |
enhanceWith(IPlatformConfiguration other)
Enhance this config with given other config.
|
boolean |
getAwareness()
Get the flag for starting with awareness.
|
java.util.List<java.lang.String> |
getComponents()
Get the components as list.
|
java.lang.String |
getConfigurationName()
Get the configuration name.
|
java.lang.Long |
getDefaultTimeout()
Get the default timeout.
|
IExtendedPlatformConfiguration |
getExtendedPlatformConfiguration()
Get the extended platform configuration.
|
boolean |
getGui()
Get the flag if gui is opened.
|
ICommand<IComponentIdentifier> |
getInitCommand()
Get the init command.
|
boolean |
getLogging()
Get the logging flag.
|
java.util.logging.Level |
getLoggingLevel()
Get the logging level.
|
java.lang.String[] |
getNetworkNames()
Get the network name (used at startup).
|
java.lang.String[] |
getNetworkSecrets()
Get the network secret (used at startup).
|
java.lang.String |
getPlatformName()
Get the platform name.
|
boolean |
getSensors()
Get the sensors flag.
|
boolean |
getSuperpeer()
Get the superpeer flag.
|
boolean |
getSuperpeerClient()
Get the superpeer client flag.
|
boolean |
getSupersuperpeer()
Get the superpeer flag.
|
java.lang.Object |
getValue(java.lang.String key,
IModelInfo model)
Get a value per key.
|
java.util.Map<java.lang.String,java.lang.Object> |
getValues()
Get all values of the configuration as map.
|
boolean |
getWelcome()
Get the welcome flag.
|
boolean |
isPrintExceptions()
Shall print exceptions.
|
boolean |
isPrintSecret()
Returns if the security service should print the platform secret during start.
|
boolean |
isReadOnly()
Get the readonly state.
|
boolean |
isRefuseUnauth()
Returns if the security service allows unauthenticated connections.
|
boolean |
isUseSecret()
Returns if the security service should use a platform secret for authentication.
|
void |
setAwareness(boolean value)
Set the flag for starting with awareness.
|
void |
setComponents(java.util.List<java.lang.String> newcomps)
Set multiple components as list.
|
void |
setConfigurationName(java.lang.String value)
Set the configuration name.
|
void |
setDefaultTimeout(long to)
Set the default timeout.
|
void |
setGui(boolean value)
Set the gui flag.
|
void |
setInitCommand(ICommand<IComponentIdentifier> cmd)
Set the init cmd.
|
void |
setLogging(boolean value)
Set the logging flag.
|
void |
setLoggingLevel(java.util.logging.Level value)
Set the logging level.
|
void |
setNetworkNames(java.lang.String... value)
Set the network name (used at startup).
|
void |
setNetworkSecrets(java.lang.String... value)
Set the network secret (used at startup).
|
void |
setPlatformName(java.lang.String value)
Set the platform name.
|
void |
setPrintExceptions(boolean printex)
Set print exceptions flag.
|
void |
setPrintSecret(boolean printsecret)
Returns if the security service should print the platform secret during start.
|
void |
setReadOnly(boolean readonly)
Set the readonly state.
|
void |
setRefuseUnauth(boolean refuseunauth)
Configure the security service to whether to allow unauthenticated connections.
|
void |
setSensors(boolean value)
Set the sensors flag.
|
void |
setSuperpeer(boolean value)
Set the superpeer flag.
|
void |
setSuperpeerClient(boolean value)
Set the superpeer client flag.
|
void |
setSupersuperpeer(boolean value)
Set the supersuperpeer flag.
|
void |
setUseSecret(boolean usesecret)
Sets if the security service should use a platform secret for authentication.
|
void |
setValue(java.lang.String key,
java.lang.Object value)
Set a value per key.
|
void |
setWelcome(boolean value)
Tell starter to print welcome message.
|
static final java.lang.String PLATFORM_NAME
static final java.lang.String CONFIGURATION_NAME
static final java.lang.String PLATFORM_COMPONENT
static final java.lang.String FALLBACK_PLATFORM_CONFIGURATION
static final java.lang.String FALLBACK_COMPONENT_FACTORY
static final java.lang.String CONFIGURATION_FILE
static final java.lang.String COMPONENT_FACTORY
static final java.lang.String MONITORING
static final java.lang.String COMPONENT
static final java.lang.String PERSIST
static final java.lang.String DEFTIMEOUT
static final java.lang.String DEBUGFUTURES
static final java.lang.String DEBUGSERVICES
static final java.lang.String DEBUGSTEPS
static final java.lang.String NOSTACKCOMPACTION
static final java.lang.String OPENGL
static final java.lang.String PRINTEXCEPTIONS
static final java.lang.String PARAMETERCOPY
static final java.lang.String REALTIMETIMEOUT
static final java.lang.String AWAMECHANISM_BROADCAST
static final java.lang.String AWAMECHANISM_MULTICAST
static final java.lang.String AWAMECHANISM_LOCAL
static final java.lang.String AWAMECHANISM_REGISTRY
static final java.lang.String AWAMECHANISM_SCANNER
static final java.lang.String WELCOME
static final java.lang.String PROGRAM_ARGUMENTS
static final java.lang.String GUI
static final java.lang.String CLI
static final java.lang.String CLICONSOLE
static final java.lang.String SAVEONEXIT
static final java.lang.String JCCPLATFORMS
static final java.lang.String LOGGING
static final java.lang.String LOGGING_LEVEL
static final java.lang.String SIMULATION
static final java.lang.String ASYNCEXECUTION
static final java.lang.String UNIQUEIDS
static final java.lang.String PLATFORMPROXIES
static final java.lang.String THREADPOOLDEFER
static final java.lang.String LIBPATH
static final java.lang.String BASECLASSLOADER
static final java.lang.String CHAT
static final java.lang.String AWARENESS
static final java.lang.String AWAMECHANISMS
static final java.lang.String AWADELAY
static final java.lang.String AWAINCLUDES
static final java.lang.String AWAEXCLUDES
static final java.lang.String BINARYMESSAGES
static final java.lang.String STRICTCOM
static final java.lang.String LOCALTRANSPORT
static final java.lang.String TCPTRANSPORT
static final java.lang.String TCPPORT
static final java.lang.String RELAYTRANSPORT
static final java.lang.String RELAYADDRESSES
static final java.lang.String WSPUBLISH
static final java.lang.String RSPUBLISH
static final java.lang.String RSPUBLISHCOMPONENT
static final java.lang.String KERNELS
static final java.lang.String MAVEN_DEPENDENCIES
static final java.lang.String THREADPOOLCLASS
static final java.lang.String CONTEXTSERVICECLASS
static final java.lang.String WSPORT
static final java.lang.String WSTRANSPORT
static final java.lang.String RELAYFORWARDING
static final java.lang.String PLATFORMARGS
static final java.lang.String PLATFORMCONFIG
static final java.lang.String PLATFORMMODEL
static final java.lang.String[] BOOLEAN_ARGS
IExtendedPlatformConfiguration getExtendedPlatformConfiguration()
java.util.Map<java.lang.String,java.lang.Object> getValues()
void enhanceWith(IPlatformConfiguration other)
IPlatformConfiguration clone()
void setReadOnly(boolean readonly)
readonly
- The readonly state.boolean isReadOnly()
java.lang.Object getValue(java.lang.String key, IModelInfo model)
key
- The key.void setValue(java.lang.String key, java.lang.Object value)
key
- The key.java.lang.String getPlatformName()
void setPlatformName(java.lang.String value)
value
- The name.java.lang.String getConfigurationName()
void setConfigurationName(java.lang.String value)
value
- The configuration name.void addComponent(java.lang.Class<?> clazz)
clazz
- The classinfo of the component.void addComponent(java.lang.String path)
path
- The file path.void setComponents(java.util.List<java.lang.String> newcomps)
newcomps
- The list of components.java.util.List<java.lang.String> getComponents()
boolean isPrintExceptions()
void setPrintExceptions(boolean printex)
void setDefaultTimeout(long to)
to
- The timeout.java.lang.Long getDefaultTimeout()
boolean getWelcome()
void setWelcome(boolean value)
value
- boolean getGui()
void setGui(boolean value)
value
- True for starting with gui.boolean getLogging()
void setLogging(boolean value)
value
- The logging flag.java.util.logging.Level getLoggingLevel()
void setLoggingLevel(java.util.logging.Level value)
value
- The logging level.boolean getAwareness()
void setAwareness(boolean value)
value
- True for starting with awareness.boolean getSensors()
void setSensors(boolean value)
value
- The sensors flag.boolean getSuperpeer()
void setSuperpeer(boolean value)
value
- The superpeer flag.boolean getSupersuperpeer()
void setSupersuperpeer(boolean value)
value
- The supersuperpeer flag.boolean getSuperpeerClient()
void setSuperpeerClient(boolean value)
value
- The superpeer client flag.ICommand<IComponentIdentifier> getInitCommand()
void setInitCommand(ICommand<IComponentIdentifier> cmd)
value
- The init cmd.java.lang.String[] getNetworkNames()
void setNetworkNames(java.lang.String... value)
value
- The network name.boolean isUseSecret()
void setUseSecret(boolean usesecret)
usesecret
- Set true (default) if the security service should use a platform secret.boolean isPrintSecret()
void setPrintSecret(boolean printsecret)
Set
- true (default) if the security service should print the platform secret during start.boolean isRefuseUnauth()
void setRefuseUnauth(boolean refuseunauth)
refuseunauth
- Flag if unauthenticated platforms are refused.java.lang.String[] getNetworkSecrets()
void setNetworkSecrets(java.lang.String... value)
value
- The network secret.