public static final class OpenNMSProfile.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
OpenNMSProfile |
build()
Build the profile.
|
OpenNMSProfile.Builder |
withFile(Path source,
String target)
Add files to the container over
|
OpenNMSProfile.Builder |
withFile(String resourceName,
String target)
Add files to the container over
|
OpenNMSProfile.Builder |
withFile(String resourceName,
String target,
Set<PosixFilePermission> permissions)
Add files to the container over
|
OpenNMSProfile.Builder |
withFile(URL source,
String target)
Add files to the container over
|
OpenNMSProfile.Builder |
withFile(URL source,
String target,
Set<PosixFilePermission> permissions)
Add files to the container over
|
OpenNMSProfile.Builder |
withJvmDebuggingEnabled(boolean enabled)
Enable/disable JVM debugging.
|
OpenNMSProfile.Builder |
withKafkaProducerEnabled(boolean enabled)
Enable/disable the Kafka producer feature.
|
public OpenNMSProfile.Builder withJvmDebuggingEnabled(boolean enabled)
enabled - true if enabled, false otherwisepublic OpenNMSProfile.Builder withKafkaProducerEnabled(boolean enabled)
enabled - true if enabled, false otherwisepublic OpenNMSProfile.Builder withFile(Path source, String target)
source - path to the source file on disktarget - path the target file relative to $OPENNMS_HOME/public OpenNMSProfile.Builder withFile(URL source, String target)
source - source URLtarget - path the target file related to $OPENNMS_HOME/public OpenNMSProfile.Builder withFile(String resourceName, String target)
resourceName - resource pathtarget - path the target file related to $OPENNMS_HOME/public OpenNMSProfile.Builder withFile(URL source, String target, Set<PosixFilePermission> permissions)
source - source URLtarget - path the target file related to $OPENNMS_HOME/permissions - file permissions to setpublic OpenNMSProfile.Builder withFile(String resourceName, String target, Set<PosixFilePermission> permissions)
resourceName - resource pathtarget - path the target file related to $OPENNMS_HOME/permissions - file permissions to setpublic OpenNMSProfile build()
Copyright © 2022. All rights reserved.