public abstract class Model extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Model.DataStoreModel
Creates a basic data store model configuration for setup.
|
static class |
Model.Type
This enumeration is used to know what kind of server we want to set up.
|
Constructor and Description |
---|
Model() |
Modifier and Type | Method and Description |
---|---|
org.forgerock.opendj.server.setup.model.DataConfiguration |
getDataConfiguration()
Returns the data configuration of this model.
|
org.forgerock.opendj.server.setup.model.RuntimeOptions |
getImportLdifRuntimeOptions()
Returns the runtime options that apply to the current import LDIF.
|
String |
getInstallationPath()
Returns the installation path of this model.
|
String |
getInstancePath()
Returns the instance path.
|
String |
getLicense()
Returns the license.
|
ListenerSettings |
getListenerSettings()
Returns the listener settings.
|
org.forgerock.opendj.server.setup.model.ReplicationConfiguration |
getReplicationConfiguration()
Returns the replication configuration of this model.
|
org.forgerock.opendj.server.setup.model.RuntimeOptions |
getServerRuntimeSettings()
Returns the runtime options that apply to this installation.
|
Model.Type |
getType()
Returns the type of this configuration.
|
boolean |
hasLicense()
Returns
true if this configuration has a non-empty license. |
boolean |
isService()
Returns
true if the directory server should start as a service. |
boolean |
isStartingServerAfterSetup()
Returns
true if the server must start after the installation. |
void |
setDataConfiguration(org.forgerock.opendj.server.setup.model.DataConfiguration dConfiguration)
Sets the data configuration of this model.
|
void |
setImportLdifRuntimeOptions(org.forgerock.opendj.server.setup.model.RuntimeOptions settings)
Sets the runtime options that apply to the current import LDIF.
|
void |
setInstallationPath(String installationPath)
Sets the installation path of this model.
|
void |
setInstancePath(String iPath)
Sets the current instance path location.
|
void |
setLicense(String theLicense)
Sets the license linked to this installation.
|
void |
setListenerSettings(ListenerSettings lSettings)
Sets the listener settings.
|
void |
setReplicationConfiguration(org.forgerock.opendj.server.setup.model.ReplicationConfiguration replicationConfiguration)
Sets the replication configuration of this model.
|
void |
setServerRuntimeOptions(org.forgerock.opendj.server.setup.model.RuntimeOptions settings)
Sets the runtime options that apply to this installation.
|
void |
setService(boolean isAService)
Sets the directory server as a service.
|
void |
setStartingServerAfterSetup(boolean startServerAfterSetup)
Sets if the server should start after its installation.
|
void |
setType(Model.Type mtype)
Sets the type of this configuration.
|
public Model()
public ListenerSettings getListenerSettings()
public void setListenerSettings(ListenerSettings lSettings)
lSettings
- The listener settings to set.public boolean hasLicense()
true
if this configuration has a non-empty license.true
if this configuration has a license.public Model.Type getType()
public void setType(Model.Type mtype)
mtype
- The type of this configuration (standalone, etc...)public boolean isStartingServerAfterSetup()
true
if the server must start after the installation.true
if the server must start after the installation.public void setStartingServerAfterSetup(boolean startServerAfterSetup)
startServerAfterSetup
- true
if the server must start after the installation.public boolean isService()
true
if the directory server should start as a service.true
if the directory server should start as a service, false
otherwise.public void setService(boolean isAService)
isAService
- true
if the directory server should start as a service, false
otherwise.public String getInstancePath()
public void setInstancePath(String iPath)
iPath
- The instance path.public String getLicense()
public void setLicense(String theLicense)
theLicense
- The license to set.public org.forgerock.opendj.server.setup.model.RuntimeOptions getServerRuntimeSettings()
public void setServerRuntimeOptions(org.forgerock.opendj.server.setup.model.RuntimeOptions settings)
settings
- The runtime options that apply to this installation.public org.forgerock.opendj.server.setup.model.RuntimeOptions getImportLdifRuntimeOptions()
public void setImportLdifRuntimeOptions(org.forgerock.opendj.server.setup.model.RuntimeOptions settings)
settings
- The runtime options that apply to the current import LDIF.public org.forgerock.opendj.server.setup.model.DataConfiguration getDataConfiguration()
public void setDataConfiguration(org.forgerock.opendj.server.setup.model.DataConfiguration dConfiguration)
dConfiguration
- The data configuration to set for this model.public org.forgerock.opendj.server.setup.model.ReplicationConfiguration getReplicationConfiguration()
public void setReplicationConfiguration(org.forgerock.opendj.server.setup.model.ReplicationConfiguration replicationConfiguration)
replicationConfiguration
- The replication configuration to set for this model.public String getInstallationPath()
public void setInstallationPath(String installationPath)
installationPath
- The installation path of this model.Copyright © 2011-2015 ForgeRock AS. All Rights Reserved.