public final class IntegerStartupParameter extends StartupParameter<java.lang.Integer>
Integer startup parameters.name, originalName, prefix, value| Constructor and Description |
|---|
IntegerStartupParameter(java.lang.String name,
java.lang.String originalName)
This is the default constructor which calls the
StartupParameter constructor. |
IntegerStartupParameter(java.lang.String prefix,
java.lang.String name,
java.lang.String originalName)
This is the default constructor which calls the
StartupParameter constructor. |
| Modifier and Type | Method and Description |
|---|---|
private static java.lang.Integer |
getIntegerParameter(java.lang.String parameter)
Converts the parameter from string to integer and handles the relevant errors.
|
void |
initFromBootstrap(BootstrapConfig bootstrapConfig)
Initialize the parameter from the
BootstrapConfig |
void |
initFromDirectory()
Initialize the parameter from the
DirectoryService. |
void |
readExternal(java.io.ObjectInput in)
Used for helping with
Externalizable.readExternal(ObjectInput) |
void |
writeExternal(java.io.ObjectOutput out)
Used for helping with
Externalizable.writeExternal(ObjectOutput) |
getValue, toStringpublic IntegerStartupParameter(java.lang.String name,
java.lang.String originalName)
StartupParameter constructor.name - is the parameter name used by FWD.originalName - is the original name used by OE.public IntegerStartupParameter(java.lang.String prefix,
java.lang.String name,
java.lang.String originalName)
StartupParameter constructor.prefix - is the parameter name prefix used by FWD.name - is the parameter name used by FWD.originalName - is the original name used by OE.private static java.lang.Integer getIntegerParameter(java.lang.String parameter)
parameter - is the string parameter value.public void initFromDirectory()
DirectoryService.initFromDirectory in class StartupParameter<java.lang.Integer>public void initFromBootstrap(BootstrapConfig bootstrapConfig)
BootstrapConfiginitFromBootstrap in class StartupParameter<java.lang.Integer>bootstrapConfig - is the bootstrap configuration.public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
Externalizable.readExternal(ObjectInput)readExternal in class StartupParameter<java.lang.Integer>in - the stream to read data from in order to restore the objectjava.io.IOException - if I/O errors occurpublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
Externalizable.writeExternal(ObjectOutput)writeExternal in class StartupParameter<java.lang.Integer>out - the stream to write the object tojava.io.IOException - Includes any I/O exceptions that may occur