public final class ManagementCenterConfig extends Object
| Constructor and Description |
|---|
ManagementCenterConfig() |
| Modifier and Type | Method and Description |
|---|---|
ManagementCenterConfig |
addTrustedInterface(String ip)
Adds a trusted interface.
|
boolean |
equals(Object obj) |
Set<String> |
getTrustedInterfaces()
Gets the trusted interfaces.
|
int |
hashCode() |
boolean |
isScriptingEnabled()
Returns if scripting is allowed (
true) or disallowed (false). |
ManagementCenterConfig |
setScriptingEnabled(boolean scriptingEnabled)
Enables/disables scripting on the member.
|
ManagementCenterConfig |
setTrustedInterfaces(Set<String> interfaces)
Sets the trusted interfaces.
|
String |
toString() |
public ManagementCenterConfig setScriptingEnabled(boolean scriptingEnabled)
Default value for this config element is false.
scriptingEnabled - true to allow scripting on the member, false to disallowpublic boolean isScriptingEnabled()
true) or disallowed (false).public Set<String> getTrustedInterfaces()
setTrustedInterfaces(java.util.Set)public ManagementCenterConfig setTrustedInterfaces(Set<String> interfaces)
The interface is an IP address where the last octet can be a wildcard '*' or a range '10-20'.
interfaces - the new trusted interfacesif interfaces is {@code null}public ManagementCenterConfig addTrustedInterface(String ip)
ip - the IP of the trusted interfaceIllegalArgumentException - if IP is nullsetTrustedInterfaces(java.util.Set)Copyright © 2020 Hazelcast, Inc.. All rights reserved.