Package jadex.base
Interface IExtendedPlatformConfiguration
-
- All Superinterfaces:
IPlatformConfiguration
public interface IExtendedPlatformConfiguration extends IPlatformConfiguration
-
-
Field Summary
-
Fields inherited from interface jadex.base.IPlatformConfiguration
ASYNCEXECUTION, AWADELAY, AWAEXCLUDES, AWAINCLUDES, AWAMECHANISM_BROADCAST, AWAMECHANISM_LOCAL, AWAMECHANISM_MULTICAST, AWAMECHANISM_REGISTRY, AWAMECHANISM_SCANNER, AWAMECHANISMS, AWARENESS, BASECLASSLOADER, BINARYMESSAGES, BOOLEAN_ARGS, CHAT, CLI, CLICONSOLE, COMPONENT, COMPONENT_FACTORY, CONFIGURATION_FILE, CONFIGURATION_NAME, CONTEXTSERVICECLASS, DEBUGFUTURES, DEBUGSERVICES, DEBUGSTEPS, DEFTIMEOUT, FALLBACK_COMPONENT_FACTORY, FALLBACK_PLATFORM_CONFIGURATION, GUI, JCCPLATFORMS, KERNELS, LIBPATH, LOCALTRANSPORT, LOGGING, LOGGING_LEVEL, MAVEN_DEPENDENCIES, MONITORING, NOSTACKCOMPACTION, OPENGL, PARAMETERCOPY, PERSIST, PLATFORM_COMPONENT, PLATFORM_NAME, PLATFORMARGS, PLATFORMCONFIG, PLATFORMMODEL, PLATFORMPROXIES, PRINTEXCEPTIONS, PRINTSECRET, PROGRAM_ARGUMENTS, REALTIMETIMEOUT, RELAYADDRESSES, RELAYFORWARDING, RELAYTRANSPORT, RSPUBLISH, RSPUBLISHCOMPONENT, SAVEONEXIT, SIMULATION, STRICTCOM, TCPPORT, TCPTRANSPORT, THREADPOOLCLASS, THREADPOOLDEFER, UNIQUEIDS, WELCOME, WSPORT, WSPUBLISH, WSTRANSPORT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getAddress()
Get the address flag.boolean
getAsyncExecution()
Get the async execution mode flag.long
getAwaDelay()
Get the delay between awareness notifications.java.lang.String
getAwaExcludes()
Get the awareness platform excludes.java.lang.String
getAwaIncludes()
Get the awareness platform includes.java.lang.String[]
getAwaMechanisms()
Get the awareness mechanisms.java.lang.ClassLoader
getBaseClassloader()
Get the base classloader.boolean
getBinaryMessages()
Get the flag for binary messages.boolean
getChat()
Get the flag for starting with chat.boolean
getCli()
Get the flag if command line interface is opened.boolean
getCliConsole()
Should the cli console (in jcc)boolean
getClock()
Get the clock flag.java.lang.String
getComponentFactory()
Get the component factory.java.lang.String
getConfigurationFile()
Get the configuration file.boolean
getContext()
Get the context flag.boolean
getDebugFutures()
Get the debug futures flag.boolean
getDebugServices()
Get the debug services flag.boolean
getDebugSteps()
Get the debug steps flag.boolean
getDf()
Get the df (directory facilitator) flag.boolean
getFiletransfer()
Get the file transfer flag.java.lang.String
getJccPlatforms()
Get flag for open jcc for specific remote platforms.java.lang.String
getLibPath()
Get the library path.boolean
getLibrary()
Get the library flag.IMonitoringService.PublishEventLevel
getMonitoring()
Get the monitoring level.boolean
getMonitoringComp()
Get the monitoring component flag.boolean
getNoStackCompaction()
Get the no stack compaction flag.boolean
getOpenGl()
Get the opengl flag.java.lang.String
getRelayAddresses()
Get the relay addresses.boolean
getRelayForwarding()
Should the platform act as relay, i.e.boolean
getRelayTransport()
Get the flag if the relay transport is active.boolean
getRsPublish()
Get the flag if rest publishing is on.java.lang.String
getRsPublishComponent()
Get the rest publish component.boolean
getSaveOnExit()
Get flag for save settings on exit.boolean
getSecurity()
Get the security flag.boolean
getSettings()
Get the settings flag.boolean
getSimul()
Get the simulation flag.boolean
getSimulation()
Get the flag for simulation execution.boolean
getStrictCom()
Get flag for strict communication.int
getTcpPort()
Get the tcp port of the tcp transport.boolean
getTcpTransport()
Get the flag if the tcp transport is active.java.lang.String
getThreadpoolClass()
Get the threadpool class.boolean
getThreadpoolDefer()
Get the flag for deferred thread creation/deletion in threadpool.boolean
getUniqueIds()
Get the unique id flag, i.e.int
getWsPort()
Get the websocket port of the websocket transport.boolean
getWsPublish()
Get the flag if wsdl publishing is on.boolean
getWsTransport()
Get the flag if the ws transport is active.boolean
isDropPrivileges()
Gets if the platform should keep admin/root privileges or attempt to drop to a user.boolean
isRelayDynamicRouting()
Checks if the relay transport should support routing through dynamically acquired peers.IExtendedPlatformConfiguration
setAddress(boolean value)
Set the address flag.IExtendedPlatformConfiguration
setAsyncExecution(boolean value)
Set the async execution mode flag.IExtendedPlatformConfiguration
setAwaDelay(long value)
Set the delay between awareness notifications.IExtendedPlatformConfiguration
setAwaExcludes(java.lang.String value)
Set the awareness platform excludes.IExtendedPlatformConfiguration
setAwaIncludes(java.lang.String value)
Set the awareness platform includes.IExtendedPlatformConfiguration
setAwaMechanisms(java.lang.String... values)
Set the awareness mechanisms.IExtendedPlatformConfiguration
setBaseClassloader(java.lang.ClassLoader value)
Set the base classloader.IExtendedPlatformConfiguration
setBinaryMessages(boolean value)
Set the flag for binary messages.IExtendedPlatformConfiguration
setChat(boolean value)
Set the flag for starting with chat.IExtendedPlatformConfiguration
setCli(boolean value)
Set the command line interface flag.IExtendedPlatformConfiguration
setCliConsole(boolean value)
Set the cli console flag (in jcc).IExtendedPlatformConfiguration
setClock(boolean value)
Set the clock flag.IExtendedPlatformConfiguration
setConfigurationFile(java.lang.String value)
Set the configuration file.IExtendedPlatformConfiguration
setContext(boolean value)
Set the context flag.IExtendedPlatformConfiguration
setDebugFutures(boolean value)
Set the debug futures flag.IExtendedPlatformConfiguration
setDebugServices(boolean value)
Set the debug services flag.IExtendedPlatformConfiguration
setDebugSteps(boolean value)
Set the debug steps flag.IExtendedPlatformConfiguration
setDf(boolean value)
Get the df (directory facilitator) flag.IExtendedPlatformConfiguration
setDropPrivileges(boolean value)
Sets if the platform should keep admin/root privileges or attempt to drop to a user.IExtendedPlatformConfiguration
setFiletransfer(boolean value)
Set the file transfer flag.IExtendedPlatformConfiguration
setJccPlatforms(java.lang.String value)
Set flag for open jcc for specific remote platforms.IExtendedPlatformConfiguration
setLibPath(java.lang.String value)
Set the library path.IExtendedPlatformConfiguration
setLibrary(boolean value)
Set the library flag.IExtendedPlatformConfiguration
setMonitoring(IMonitoringService.PublishEventLevel level)
Set the monitoring level.IExtendedPlatformConfiguration
setMonitoringComp(boolean value)
Set the monitoring component flag.IExtendedPlatformConfiguration
setNoStackCompaction(boolean value)
Set the no stack compaction flag.IExtendedPlatformConfiguration
setOpenGl(boolean value)
Set the opengl flag.IExtendedPlatformConfiguration
setRelayAddresses(java.lang.String value)
Set the relay addresses.IExtendedPlatformConfiguration
setRelayDynamicRouting(boolean dynamicrouting)
Sets if the relay transport should support routing through dynamically acquired peers.IExtendedPlatformConfiguration
setRelayForwarding(boolean value)
Should the platform act as relay, i.e.IExtendedPlatformConfiguration
setRelayTransport(boolean value)
Set the flag if the relay transport is active.IExtendedPlatformConfiguration
setRsPublish(boolean value)
Set the flag if rest publishing is on.IExtendedPlatformConfiguration
setRsPublishComponent(java.lang.String value)
Set the rest publishing component.IExtendedPlatformConfiguration
setSaveOnExit(boolean value)
Set flag for save settings on exit.IExtendedPlatformConfiguration
setSecurity(boolean value)
Set the security flag.IExtendedPlatformConfiguration
setSettings(boolean value)
Set the settings flag.IExtendedPlatformConfiguration
setSimul(boolean value)
Set the simulation flag.IExtendedPlatformConfiguration
setSimulation(boolean value)
Set the flag for simulation execution.IExtendedPlatformConfiguration
setStrictCom(boolean value)
Get flag for strict communication.IExtendedPlatformConfiguration
setTcpPort(int value)
Set the tcp port of the tcp transport.IExtendedPlatformConfiguration
setTcpTransport(boolean value)
Set the flag if the tcp transport is active.IExtendedPlatformConfiguration
setThreadpoolClass(java.lang.String value)
Set the threadpool class name.IExtendedPlatformConfiguration
setThreadpoolDefer(boolean value)
Set the flag for deferred thread creation/deletion in threadpool.IExtendedPlatformConfiguration
setUniqueIds(boolean value)
Set the unique id flag, i.e.IExtendedPlatformConfiguration
setWsPort(int value)
Set the websocket port of the websocket transport.IExtendedPlatformConfiguration
setWsPublish(boolean value)
Set the flag if wsdl publishing is on.IExtendedPlatformConfiguration
setWsTransport(boolean value)
Set the flag if the ws transport is active.-
Methods inherited from interface jadex.base.IPlatformConfiguration
addComponent, addComponent, clone, enhanceWith, getAwareness, getComponents, getConfigurationName, getDefaultTimeout, getExtendedPlatformConfiguration, getGui, getInitCommand, getLogging, getLoggingLevel, getNetworkNames, getNetworkSecrets, getPlatformName, getSensors, getSuperpeer, getSuperpeerClient, getSupersuperpeer, getValue, getValues, getWelcome, isPrintExceptions, isPrintSecret, isRefuseUnauth, isUseSecret, setAwareness, setComponents, setConfigurationName, setDefaultTimeout, setGui, setInitCommand, setLogging, setLoggingLevel, setNetworkNames, setNetworkSecrets, setPlatformName, setPrintExceptions, setPrintSecret, setRefuseUnauth, setSensors, setSuperpeer, setSuperpeerClient, setSupersuperpeer, setUseSecret, setValue, setWelcome
-
-
-
-
Method Detail
-
getComponentFactory
java.lang.String getComponentFactory()
Get the component factory.- Returns:
- The component factory filename.
-
setConfigurationFile
IExtendedPlatformConfiguration setConfigurationFile(java.lang.String value)
Set the configuration file.- Parameters:
value
- The configuration file.
-
getConfigurationFile
java.lang.String getConfigurationFile()
Get the configuration file.- Returns:
- The configuration file.
-
setDebugFutures
IExtendedPlatformConfiguration setDebugFutures(boolean value)
Set the debug futures flag.- Parameters:
value
- The debug futures flag.
-
getDebugFutures
boolean getDebugFutures()
Get the debug futures flag.- Returns:
- The debug futures flag.
-
setDebugServices
IExtendedPlatformConfiguration setDebugServices(boolean value)
Set the debug services flag.- Parameters:
value
- The debug futures flag.
-
getDebugServices
boolean getDebugServices()
Get the debug services flag.- Returns:
- The debug services flag.
-
setDebugSteps
IExtendedPlatformConfiguration setDebugSteps(boolean value)
Set the debug steps flag.- Parameters:
value
- The debug steps flag.
-
getDebugSteps
boolean getDebugSteps()
Get the debug steps flag.- Returns:
- The debug steps flag.
-
setNoStackCompaction
IExtendedPlatformConfiguration setNoStackCompaction(boolean value)
Set the no stack compaction flag.- Parameters:
value
- The no stack compaction flag.
-
getNoStackCompaction
boolean getNoStackCompaction()
Get the no stack compaction flag.- Returns:
- The no stack compaction flag.
-
setOpenGl
IExtendedPlatformConfiguration setOpenGl(boolean value)
Set the opengl flag.- Parameters:
value
- The opengl flag.
-
getOpenGl
boolean getOpenGl()
Get the opengl flag.- Returns:
- The opengl flag.
-
setDropPrivileges
IExtendedPlatformConfiguration setDropPrivileges(boolean value)
Sets if the platform should keep admin/root privileges or attempt to drop to a user.- Parameters:
value
- True, if the platform should retain root privileges.
-
isDropPrivileges
boolean isDropPrivileges()
Gets if the platform should keep admin/root privileges or attempt to drop to a user.- Returns:
- True, if the platform should retain root privileges.
-
setMonitoring
IExtendedPlatformConfiguration setMonitoring(IMonitoringService.PublishEventLevel level)
Set the monitoring level.- Parameters:
level
- The monitoring level.
-
getMonitoring
IMonitoringService.PublishEventLevel getMonitoring()
Get the monitoring level.- Returns:
- The level.
-
getCli
boolean getCli()
Get the flag if command line interface is opened.- Returns:
- True means start with cli.
-
setCli
IExtendedPlatformConfiguration setCli(boolean value)
Set the command line interface flag.- Parameters:
value
- True for starting with gui.
-
getCliConsole
boolean getCliConsole()
Should the cli console (in jcc)- Returns:
- Flag if cli console should be active.
-
setCliConsole
IExtendedPlatformConfiguration setCliConsole(boolean value)
Set the cli console flag (in jcc).- Parameters:
value
- Flag if cli console should be active.
-
getSaveOnExit
boolean getSaveOnExit()
Get flag for save settings on exit.- Returns:
- True, if settings are saved on exit.
-
setSaveOnExit
IExtendedPlatformConfiguration setSaveOnExit(boolean value)
Set flag for save settings on exit.- Parameters:
True
- , if settings are saved on exit.
-
getJccPlatforms
java.lang.String getJccPlatforms()
Get flag for open jcc for specific remote platforms.- Returns:
- The jcc platform names.
-
setJccPlatforms
IExtendedPlatformConfiguration setJccPlatforms(java.lang.String value)
Set flag for open jcc for specific remote platforms.- Parameters:
value
- The jcc platform names.
-
getSimulation
boolean getSimulation()
Get the flag for simulation execution.- Returns:
- True for simulation mode.
-
setSimulation
IExtendedPlatformConfiguration setSimulation(boolean value)
Set the flag for simulation execution.- Parameters:
value
- True for simulation mode.
-
getAsyncExecution
boolean getAsyncExecution()
Get the async execution mode flag.- Returns:
- The async execution mode flag.
-
setAsyncExecution
IExtendedPlatformConfiguration setAsyncExecution(boolean value)
Set the async execution mode flag.- Parameters:
value
- The async execution mode flag.
-
getUniqueIds
boolean getUniqueIds()
Get the unique id flag, i.e. do not reuse ids formerly used by dead components.- Returns:
- True for unique ids.
-
setUniqueIds
IExtendedPlatformConfiguration setUniqueIds(boolean value)
Set the unique id flag, i.e. do not reuse ids formerly used by dead components.- Parameters:
value
- True for unique ids.
-
getThreadpoolDefer
boolean getThreadpoolDefer()
Get the flag for deferred thread creation/deletion in threadpool.- Returns:
- The defer flag.
-
setThreadpoolDefer
IExtendedPlatformConfiguration setThreadpoolDefer(boolean value)
Set the flag for deferred thread creation/deletion in threadpool.- Parameters:
value
- The defer flag.
-
getLibPath
java.lang.String getLibPath()
Get the library path.- Returns:
- The library path.
-
setLibPath
IExtendedPlatformConfiguration setLibPath(java.lang.String value)
Set the library path.- Parameters:
value
- The library path.
-
getBaseClassloader
java.lang.ClassLoader getBaseClassloader()
Get the base classloader.- Returns:
- The base classloader.
-
setBaseClassloader
IExtendedPlatformConfiguration setBaseClassloader(java.lang.ClassLoader value)
Set the base classloader.- Parameters:
value
- The base classloader.
-
getChat
boolean getChat()
Get the flag for starting with chat.- Returns:
- True for starting with chat.
-
setChat
IExtendedPlatformConfiguration setChat(boolean value)
Set the flag for starting with chat.- Parameters:
value
- True for starting with chat.
-
getAwaMechanisms
java.lang.String[] getAwaMechanisms()
Get the awareness mechanisms.- Returns:
- The awareness mechanisms.
-
setAwaMechanisms
IExtendedPlatformConfiguration setAwaMechanisms(java.lang.String... values)
Set the awareness mechanisms.- Parameters:
values
- The awareness mechanisms.
-
getAwaDelay
long getAwaDelay()
Get the delay between awareness notifications.- Returns:
- The delay in millis.
-
setAwaDelay
IExtendedPlatformConfiguration setAwaDelay(long value)
Set the delay between awareness notifications.- Parameters:
value
- The delay in millis.
-
getAwaIncludes
java.lang.String getAwaIncludes()
Get the awareness platform includes.- Returns:
- The awareness platform includes.
-
setAwaIncludes
IExtendedPlatformConfiguration setAwaIncludes(java.lang.String value)
Set the awareness platform includes.- Parameters:
value
- The awareness platform includes.
-
getAwaExcludes
java.lang.String getAwaExcludes()
Get the awareness platform excludes.- Returns:
- The awareness platform excludes.
-
setAwaExcludes
IExtendedPlatformConfiguration setAwaExcludes(java.lang.String value)
Set the awareness platform excludes.- Parameters:
value
- The awareness platform excludes.
-
getBinaryMessages
boolean getBinaryMessages()
Get the flag for binary messages.- Returns:
- The flag for binary messages.
-
setBinaryMessages
IExtendedPlatformConfiguration setBinaryMessages(boolean value)
Set the flag for binary messages.- Parameters:
value
- The flag for binary messages.
-
getStrictCom
boolean getStrictCom()
Get flag for strict communication. Fail on recoverable message decoding errors instead of ignoring- Returns:
- Strict communication flag.
-
setStrictCom
IExtendedPlatformConfiguration setStrictCom(boolean value)
Get flag for strict communication. Fail on recoverable message decoding errors instead of ignoring- Returns:
- Strict communication flag.
-
getTcpTransport
boolean getTcpTransport()
Get the flag if the tcp transport is active.- Returns:
- Flag if the tcp transport is active.
-
setTcpTransport
IExtendedPlatformConfiguration setTcpTransport(boolean value)
Set the flag if the tcp transport is active.- Parameters:
value
- Flag if the tcp transport is active.
-
getTcpPort
int getTcpPort()
Get the tcp port of the tcp transport.- Returns:
- The tcp port.
-
setTcpPort
IExtendedPlatformConfiguration setTcpPort(int value)
Set the tcp port of the tcp transport.- Parameters:
value
- The tcp port.
-
getRelayTransport
boolean getRelayTransport()
Get the flag if the relay transport is active.- Returns:
- Flag if the relay transport is active.
-
setRelayTransport
IExtendedPlatformConfiguration setRelayTransport(boolean value)
Set the flag if the relay transport is active.- Parameters:
value
- Flag if the relay transport is active.
-
getRelayAddresses
java.lang.String getRelayAddresses()
Get the relay addresses.- Returns:
- The relay addresses.
-
setRelayAddresses
IExtendedPlatformConfiguration setRelayAddresses(java.lang.String value)
Set the relay addresses.- Parameters:
value
- The relay addresses.
-
isRelayDynamicRouting
boolean isRelayDynamicRouting()
Checks if the relay transport should support routing through dynamically acquired peers.- Returns:
- True, if the routing service should support dynamic routing.
-
setRelayDynamicRouting
IExtendedPlatformConfiguration setRelayDynamicRouting(boolean dynamicrouting)
Sets if the relay transport should support routing through dynamically acquired peers.- Parameters:
dynamicrouting
- If true, the routing service should support dynamic routing.
-
getWsTransport
boolean getWsTransport()
Get the flag if the ws transport is active.- Returns:
- Flag if the ws transport is active.
-
setWsTransport
IExtendedPlatformConfiguration setWsTransport(boolean value)
Set the flag if the ws transport is active.- Parameters:
value
- Flag if the ws transport is active.
-
getWsPort
int getWsPort()
Get the websocket port of the websocket transport.- Returns:
- The websocket port.
-
setWsPort
IExtendedPlatformConfiguration setWsPort(int value)
Set the websocket port of the websocket transport.- Parameters:
value
- The websocket port.
-
getRelayForwarding
boolean getRelayForwarding()
Should the platform act as relay, i.e. forward messages from one platform to another platform?
-
setRelayForwarding
IExtendedPlatformConfiguration setRelayForwarding(boolean value)
Should the platform act as relay, i.e. forward messages from one platform to another platform?
-
getWsPublish
boolean getWsPublish()
Get the flag if wsdl publishing is on.- Returns:
- True if wsdl publishing is on.
-
setWsPublish
IExtendedPlatformConfiguration setWsPublish(boolean value)
Set the flag if wsdl publishing is on.- Parameters:
value
- True if wsdl publishing is on.
-
getRsPublish
boolean getRsPublish()
Get the flag if rest publishing is on.- Returns:
- True if rest publishing is on.
-
setRsPublish
IExtendedPlatformConfiguration setRsPublish(boolean value)
Set the flag if rest publishing is on.- Parameters:
value
- True if rest publishing is on.
-
getRsPublishComponent
java.lang.String getRsPublishComponent()
Get the rest publish component.- Returns:
- The rest publish component.
-
setRsPublishComponent
IExtendedPlatformConfiguration setRsPublishComponent(java.lang.String value)
Set the rest publishing component.- Parameters:
value
- The rest publishing component.
-
getMonitoringComp
boolean getMonitoringComp()
Get the monitoring component flag.- Returns:
- The monitoring component flag.
-
setMonitoringComp
IExtendedPlatformConfiguration setMonitoringComp(boolean value)
Set the monitoring component flag.- Parameters:
value
- The monitoring component flag.
-
getThreadpoolClass
java.lang.String getThreadpoolClass()
Get the threadpool class.- Returns:
- The threadpool class name.
-
setThreadpoolClass
IExtendedPlatformConfiguration setThreadpoolClass(java.lang.String value)
Set the threadpool class name.- Parameters:
value
- The threadpool class name.
-
getDf
boolean getDf()
Get the df (directory facilitator) flag.- Returns:
- The df flag.
-
setDf
IExtendedPlatformConfiguration setDf(boolean value)
Get the df (directory facilitator) flag.- Parameters:
value
- The df flag.
-
getClock
boolean getClock()
Get the clock flag.- Returns:
- The clock flag.
-
setClock
IExtendedPlatformConfiguration setClock(boolean value)
Set the clock flag.- Parameters:
value
- The clock flag.
-
getSimul
boolean getSimul()
Get the simulation flag.- Returns:
- The simulation flag.
-
setSimul
IExtendedPlatformConfiguration setSimul(boolean value)
Set the simulation flag.- Parameters:
value
- The simulation flag.
-
getFiletransfer
boolean getFiletransfer()
Get the file transfer flag.- Returns:
- The file transfer flag.
-
setFiletransfer
IExtendedPlatformConfiguration setFiletransfer(boolean value)
Set the file transfer flag.- Parameters:
value
- The file transfer flag.
-
getSecurity
boolean getSecurity()
Get the security flag.- Returns:
- The security flag.
-
setSecurity
IExtendedPlatformConfiguration setSecurity(boolean value)
Set the security flag.- Parameters:
value
- The security flag.
-
getLibrary
boolean getLibrary()
Get the library flag.- Returns:
- The library flag.
-
setLibrary
IExtendedPlatformConfiguration setLibrary(boolean value)
Set the library flag.- Parameters:
value
- The library flag.
-
getSettings
boolean getSettings()
Get the settings flag.- Returns:
- The settings flag.
-
setSettings
IExtendedPlatformConfiguration setSettings(boolean value)
Set the settings flag.- Parameters:
value
- The settings flag.
-
getContext
boolean getContext()
Get the context flag.- Returns:
- The context flag.
-
setContext
IExtendedPlatformConfiguration setContext(boolean value)
Set the context flag.- Parameters:
value
- The context flag.
-
getAddress
boolean getAddress()
Get the address flag.- Returns:
- The address flag.
-
setAddress
IExtendedPlatformConfiguration setAddress(boolean value)
Set the address flag.- Parameters:
value
- The address flag.
-
-