public class BootConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BOOT_AGENT_NAME
Name of the property that contains the agent to boot.
|
static String |
PREFIX
Prefix for the configuration entries of the boot modules.
|
static String |
PROGRAM_NAME_NAME
Name of the property that contains the name of the SRE main program from the external point of view.
|
static String |
PROGRAM_NAME_VALUE
Default value of the property that contains the name of the SRE
main program from the external point of view.
|
static String |
ROOT_CONTEXT_BOOT_TYPE_NAME
Name of the property that contains the type of root context at boot.
|
static String |
ROOT_CONTEXT_ID_NAME
Name of the property that contains the identifier of the root context.
|
static String |
ROOT_CONTEXT_ID_VALUE
The default value for the root context identifier.
|
static String |
ROOT_DEFAULT_SPACE_ID_NAME
Name of the property that contains the identifier for the default space of the root context.
|
static String |
ROOT_DEFAULT_SPACE_ID_VALUE
The default value for the root default space identifier.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getAgentStartArgs()
Replies the arguments to pass to an agent when it is started.
|
String |
getBootAgent()
Replies the name of the agent to launch at boot time.
|
String[] |
getCommandLineArgs()
Replies the command line arguments that are passed to the program.
|
String |
getProgramName()
Replies the name of the SRE main program from the external point of view.
|
RootContextType |
getRootContextBootType()
Replies the type of id computation for the root context.
|
UUID |
getRootContextID()
Replies the identifier of the root context.
|
UUID |
getRootSpaceID()
Construct an identifier for the root default space.
|
Class<? extends Agent> |
loadBootAgent()
Replies the type of the agent to launch at boot time.
|
void |
setAgentStartArgs(args : String[])
Change the arguments to pass to an agent when it is started.
|
void |
setBootAgent(name : String)
Set the name of the agent to launch at boot time.
|
void |
setCommandLineArgs(args : String[])
Change the command line arguments that are passed to the program.
|
void |
setProgramName(name : String)
Set the name of the SRE main program from the external point of view.
|
void |
setRootContextBootType(type : RootContextType)
Set the type of id computation for the root context.
|
void |
setRootContextID(id : UUID)
Set the identifier of the root context.
|
UUID |
setRootSpaceID(id : UUID)
Set the identifier for the root default space.
|
public static val
PREFIX : String
BootConfig
public static val
BOOT_AGENT_NAME : String
BootConfig
public static val
ROOT_CONTEXT_ID_NAME : String
BootConfig
public static val
ROOT_CONTEXT_ID_VALUE : String
BootConfig
public static val
ROOT_DEFAULT_SPACE_ID_NAME : String
BootConfig
public static val
ROOT_DEFAULT_SPACE_ID_VALUE : String
BootConfig
public static val
PROGRAM_NAME_NAME : String
BootConfig
public static val
PROGRAM_NAME_VALUE : String
BootConfig
#PROGRAM_NAME
,
Constant Field Valuespublic static val
ROOT_CONTEXT_BOOT_TYPE_NAME : String
BootConfig
@Pure
public def
getBootAgent() : String
BootConfig
public def
setBootAgent(name : String) : void
BootConfig
name
- the qualified name of the name.public def
loadBootAgent() : Class<? extends Agent>
BootConfig
@Pure
public def
getCommandLineArgs() : String[]
BootConfig
This function replies the arguments passed to the program. The arguments
that are passed to an agent when it is started are replied by
BootConfig.getAgentStartArgs()
.
BootConfig.getAgentStartArgs()
public def
setCommandLineArgs(args : String[]) : void
BootConfig
The arguments that are passed to an agent when it is started are replied by
BootConfig.getAgentStartArgs()
and changed by BootConfig.setAgentStartArgs(String[])
.
args
- the command line arguments.BootConfig.setAgentStartArgs(String[])
@Pure
public def
getAgentStartArgs() : String[]
BootConfig
This function is a subset of the command line arguments that are
replied by BootConfig.getCommandLineArgs()
.
BootConfig.getCommandLineArgs()
public def
setAgentStartArgs(args : String[]) : void
BootConfig
The agent start arguments constitute a subset of the command line arguments that are
replied by BootConfig.getCommandLineArgs()
.
The arguments that are passed to an agent when it is started are replied by
BootConfig.getAgentStartArgs()
and changed by BootConfig.setAgentStartArgs(String[])
.
args
- the command line arguments.@Pure
public def
getRootContextID() : UUID
BootConfig
public def
setRootContextID(id : UUID) : void
BootConfig
id
- the context identifier@Pure
public def
getRootSpaceID() : UUID
BootConfig
public def
setRootSpaceID(id : UUID) : UUID
BootConfig
id
- the space ID@Pure
public def
getProgramName() : String
BootConfig
public def
setProgramName(name : String) : void
BootConfig
name
- the name of the program.@Pure
public def
getRootContextBootType() : RootContextType
BootConfig
public def
setRootContextBootType(type : RootContextType) : void
BootConfig
type
- the type of id computation.Copyright © 2021 the original authors or authors.