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 booleangetAddress()Get the address flag.booleangetAsyncExecution()Get the async execution mode flag.longgetAwaDelay()Get the delay between awareness notifications.java.lang.StringgetAwaExcludes()Get the awareness platform excludes.java.lang.StringgetAwaIncludes()Get the awareness platform includes.java.lang.String[]getAwaMechanisms()Get the awareness mechanisms.java.lang.ClassLoadergetBaseClassloader()Get the base classloader.booleangetBinaryMessages()Get the flag for binary messages.booleangetChat()Get the flag for starting with chat.booleangetCli()Get the flag if command line interface is opened.booleangetCliConsole()Should the cli console (in jcc)booleangetClock()Get the clock flag.java.lang.StringgetComponentFactory()Get the component factory.java.lang.StringgetConfigurationFile()Get the configuration file.booleangetContext()Get the context flag.booleangetDebugFutures()Get the debug futures flag.booleangetDebugServices()Get the debug services flag.booleangetDebugSteps()Get the debug steps flag.booleangetDf()Get the df (directory facilitator) flag.booleangetFiletransfer()Get the file transfer flag.java.lang.StringgetJccPlatforms()Get flag for open jcc for specific remote platforms.java.lang.StringgetLibPath()Get the library path.booleangetLibrary()Get the library flag.IMonitoringService.PublishEventLevelgetMonitoring()Get the monitoring level.booleangetMonitoringComp()Get the monitoring component flag.booleangetNoStackCompaction()Get the no stack compaction flag.booleangetOpenGl()Get the opengl flag.java.lang.StringgetRelayAddresses()Get the relay addresses.booleangetRelayForwarding()Should the platform act as relay, i.e.booleangetRelayTransport()Get the flag if the relay transport is active.booleangetRsPublish()Get the flag if rest publishing is on.java.lang.StringgetRsPublishComponent()Get the rest publish component.booleangetSaveOnExit()Get flag for save settings on exit.booleangetSecurity()Get the security flag.booleangetSettings()Get the settings flag.booleangetSimul()Get the simulation flag.booleangetSimulation()Get the flag for simulation execution.booleangetStrictCom()Get flag for strict communication.intgetTcpPort()Get the tcp port of the tcp transport.booleangetTcpTransport()Get the flag if the tcp transport is active.java.lang.StringgetThreadpoolClass()Get the threadpool class.booleangetThreadpoolDefer()Get the flag for deferred thread creation/deletion in threadpool.booleangetUniqueIds()Get the unique id flag, i.e.intgetWsPort()Get the websocket port of the websocket transport.booleangetWsPublish()Get the flag if wsdl publishing is on.booleangetWsTransport()Get the flag if the ws transport is active.booleanisDropPrivileges()Gets if the platform should keep admin/root privileges or attempt to drop to a user.booleanisRelayDynamicRouting()Checks if the relay transport should support routing through dynamically acquired peers.IExtendedPlatformConfigurationsetAddress(boolean value)Set the address flag.IExtendedPlatformConfigurationsetAsyncExecution(boolean value)Set the async execution mode flag.IExtendedPlatformConfigurationsetAwaDelay(long value)Set the delay between awareness notifications.IExtendedPlatformConfigurationsetAwaExcludes(java.lang.String value)Set the awareness platform excludes.IExtendedPlatformConfigurationsetAwaIncludes(java.lang.String value)Set the awareness platform includes.IExtendedPlatformConfigurationsetAwaMechanisms(java.lang.String... values)Set the awareness mechanisms.IExtendedPlatformConfigurationsetBaseClassloader(java.lang.ClassLoader value)Set the base classloader.IExtendedPlatformConfigurationsetBinaryMessages(boolean value)Set the flag for binary messages.IExtendedPlatformConfigurationsetChat(boolean value)Set the flag for starting with chat.IExtendedPlatformConfigurationsetCli(boolean value)Set the command line interface flag.IExtendedPlatformConfigurationsetCliConsole(boolean value)Set the cli console flag (in jcc).IExtendedPlatformConfigurationsetClock(boolean value)Set the clock flag.IExtendedPlatformConfigurationsetConfigurationFile(java.lang.String value)Set the configuration file.IExtendedPlatformConfigurationsetContext(boolean value)Set the context flag.IExtendedPlatformConfigurationsetDebugFutures(boolean value)Set the debug futures flag.IExtendedPlatformConfigurationsetDebugServices(boolean value)Set the debug services flag.IExtendedPlatformConfigurationsetDebugSteps(boolean value)Set the debug steps flag.IExtendedPlatformConfigurationsetDf(boolean value)Get the df (directory facilitator) flag.IExtendedPlatformConfigurationsetDropPrivileges(boolean value)Sets if the platform should keep admin/root privileges or attempt to drop to a user.IExtendedPlatformConfigurationsetFiletransfer(boolean value)Set the file transfer flag.IExtendedPlatformConfigurationsetJccPlatforms(java.lang.String value)Set flag for open jcc for specific remote platforms.IExtendedPlatformConfigurationsetLibPath(java.lang.String value)Set the library path.IExtendedPlatformConfigurationsetLibrary(boolean value)Set the library flag.IExtendedPlatformConfigurationsetMonitoring(IMonitoringService.PublishEventLevel level)Set the monitoring level.IExtendedPlatformConfigurationsetMonitoringComp(boolean value)Set the monitoring component flag.IExtendedPlatformConfigurationsetNoStackCompaction(boolean value)Set the no stack compaction flag.IExtendedPlatformConfigurationsetOpenGl(boolean value)Set the opengl flag.IExtendedPlatformConfigurationsetRelayAddresses(java.lang.String value)Set the relay addresses.IExtendedPlatformConfigurationsetRelayDynamicRouting(boolean dynamicrouting)Sets if the relay transport should support routing through dynamically acquired peers.IExtendedPlatformConfigurationsetRelayForwarding(boolean value)Should the platform act as relay, i.e.IExtendedPlatformConfigurationsetRelayTransport(boolean value)Set the flag if the relay transport is active.IExtendedPlatformConfigurationsetRsPublish(boolean value)Set the flag if rest publishing is on.IExtendedPlatformConfigurationsetRsPublishComponent(java.lang.String value)Set the rest publishing component.IExtendedPlatformConfigurationsetSaveOnExit(boolean value)Set flag for save settings on exit.IExtendedPlatformConfigurationsetSecurity(boolean value)Set the security flag.IExtendedPlatformConfigurationsetSettings(boolean value)Set the settings flag.IExtendedPlatformConfigurationsetSimul(boolean value)Set the simulation flag.IExtendedPlatformConfigurationsetSimulation(boolean value)Set the flag for simulation execution.IExtendedPlatformConfigurationsetStrictCom(boolean value)Get flag for strict communication.IExtendedPlatformConfigurationsetTcpPort(int value)Set the tcp port of the tcp transport.IExtendedPlatformConfigurationsetTcpTransport(boolean value)Set the flag if the tcp transport is active.IExtendedPlatformConfigurationsetThreadpoolClass(java.lang.String value)Set the threadpool class name.IExtendedPlatformConfigurationsetThreadpoolDefer(boolean value)Set the flag for deferred thread creation/deletion in threadpool.IExtendedPlatformConfigurationsetUniqueIds(boolean value)Set the unique id flag, i.e.IExtendedPlatformConfigurationsetWsPort(int value)Set the websocket port of the websocket transport.IExtendedPlatformConfigurationsetWsPublish(boolean value)Set the flag if wsdl publishing is on.IExtendedPlatformConfigurationsetWsTransport(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.
-
-