public abstract class AbstractInstallationBuilder<T extends AbstractInstallationBuilder> extends Object
| Constructor and Description |
|---|
AbstractInstallationBuilder(int size,
int numberOfGroups) |
| Modifier and Type | Method and Description |
|---|---|
T |
analyticsEnabled()
Will start the server with analytics functionality
|
abstract Installation |
build() |
T |
disabled()
Will start the server without starting Gateway plugin.
|
T |
disablePolicyDeployment()
Will start the server without policy deployment functionality.
|
T |
flexibleGateKeeper()
Will start the server with GateKeeper disabled
|
T |
gateKeeperDisabled()
Will start the server with GateKeeper disabled
|
T |
offline()
Will start the server without client id and secret being set.
|
T |
onApiDeleted(com.mulesoft.mule.runtime.gw.api.config.OnApiDeletedConfiguration.Mode mode) |
T |
withApplications(com.mulesoft.anypoint.tita.environment.api.artifact.Artifact... applications)
Sets the initial apps that will be deployed when server starts.
|
T |
withClientModeEnabled(boolean clientModeEnabled)
Sets the clientMode.
|
AbstractInstallationBuilder<T> |
withDomains(com.mulesoft.anypoint.tita.environment.api.artifact.Artifact... domains) |
T |
withDynamicPort(ClusterDynamicPort dynamicPort)
Set the port provider for cluster.
|
T |
withEncryptedProperties()
Will start the server with Client ID and Secret properties encrypted
|
T |
withEncryptionKey(String key)
Will start the server with the provided encryption key
|
T |
withJdbcStore(JdbcStoreConfiguration jdbcStoreConfiguration) |
T |
withPolicyDefinitions(PolicyDefinition... policyDefinitions)
Sets the initial policies that will be present in policies folder when server starts.
|
T |
withPolicyTemplates(com.mulesoft.anypoint.tita.environment.api.artifact.PolicyJar... policyTemplates)
Sets the initial templates that will be present in policy-templates folder when server starts.
|
public AbstractInstallationBuilder(int size,
int numberOfGroups)
public T withApplications(com.mulesoft.anypoint.tita.environment.api.artifact.Artifact... applications)
applications - the appspublic AbstractInstallationBuilder<T> withDomains(com.mulesoft.anypoint.tita.environment.api.artifact.Artifact... domains)
public T withClientModeEnabled(boolean clientModeEnabled)
clientModeEnabled - whether the installation ahs to be as client.public T withPolicyTemplates(com.mulesoft.anypoint.tita.environment.api.artifact.PolicyJar... policyTemplates)
policyTemplates - the templatespublic T analyticsEnabled()
public T offline()
public T disabled()
public T gateKeeperDisabled()
public T withEncryptedProperties()
public T withEncryptionKey(String key)
public T flexibleGateKeeper()
public T withJdbcStore(JdbcStoreConfiguration jdbcStoreConfiguration)
public T withDynamicPort(ClusterDynamicPort dynamicPort)
dynamicPort - the port providerpublic T disablePolicyDeployment()
public T withPolicyDefinitions(PolicyDefinition... policyDefinitions)
policyDefinitions - the policy definitionspublic T onApiDeleted(com.mulesoft.mule.runtime.gw.api.config.OnApiDeletedConfiguration.Mode mode)
mode - public abstract Installation build()
Copyright © 2014–2024 MuleSoft, Inc.. All rights reserved.