Class HostBasedLogstashIndexer<T extends AbstractLogstashIndexerDao>
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<LogstashIndexer<?>>
-
- jenkins.plugins.logstash.configuration.LogstashIndexer<T>
-
- jenkins.plugins.logstash.configuration.HostBasedLogstashIndexer<T>
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<LogstashIndexer<?>>
,ReconfigurableDescribable<LogstashIndexer<?>>
public abstract class HostBasedLogstashIndexer<T extends AbstractLogstashIndexerDao> extends LogstashIndexer<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jenkins.plugins.logstash.configuration.LogstashIndexer
LogstashIndexer.LogstashIndexerDescriptor
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class jenkins.plugins.logstash.configuration.LogstashIndexer
instance
-
-
Constructor Summary
Constructors Constructor Description HostBasedLogstashIndexer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getHost()
Returns the host for connecting to the indexer.int
getPort()
Returns the port for connecting to the indexer.int
hashCode()
void
setHost(String host)
Sets the host for connecting to the indexer.void
setPort(int port)
Sets the port used for connecting to the indexer-
Methods inherited from class jenkins.plugins.logstash.configuration.LogstashIndexer
all, createIndexerInstance, getInstance, reconfigure, validate
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.model.Describable
getDescriptor
-
-
-
-
Method Detail
-
getHost
public String getHost()
Returns the host for connecting to the indexer.- Returns:
- Host of the indexer
-
setHost
@DataBoundSetter public void setHost(String host)
Sets the host for connecting to the indexer.- Parameters:
host
- host to connect to.
-
getPort
public int getPort()
Returns the port for connecting to the indexer.- Returns:
- Port of the indexer
-
setPort
@DataBoundSetter public void setPort(int port)
Sets the port used for connecting to the indexer- Parameters:
port
- The port of the indexer
-
-