public static class PluginData.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PluginData.Builder |
addComponent(Component component)
Adds a component to the plugin data.
|
PluginData |
build()
Returns the configured plugin data instance
|
PluginData.Builder |
host(String host)
Sets the host of the agent.
|
PluginData.Builder |
pid(int pid)
Sets the pid of the agent.
|
PluginData.Builder |
version(String version)
Sets the version of the agent.
|
public PluginData.Builder host(String host)
host
- The host of the agentpublic PluginData.Builder pid(int pid)
pid
- The pid of the agentpublic PluginData.Builder version(String version)
version
- The version of the agentpublic PluginData.Builder addComponent(Component component)
component
- The component to be addedpublic PluginData build()
Copyright © 2018. All rights reserved.