Class Redis
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<LogstashIndexer<?>>
-
- jenkins.plugins.logstash.configuration.LogstashIndexer<T>
-
- jenkins.plugins.logstash.configuration.HostBasedLogstashIndexer<RedisDao>
-
- jenkins.plugins.logstash.configuration.Redis
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<LogstashIndexer<?>>
,ReconfigurableDescribable<LogstashIndexer<?>>
public class Redis extends HostBasedLogstashIndexer<RedisDao>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Redis.RedisDescriptor
-
Nested classes/interfaces inherited from class jenkins.plugins.logstash.configuration.LogstashIndexer
LogstashIndexer.LogstashIndexerDescriptor
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description Redis()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RedisDao
createIndexerInstance()
Creates a newAbstractLogstashIndexerDao
instance corresponding to this configuration.boolean
equals(Object obj)
String
getKey()
Secret
getPassword()
int
hashCode()
void
setKey(String key)
void
setPassword(Secret password)
-
Methods inherited from class jenkins.plugins.logstash.configuration.HostBasedLogstashIndexer
getHost, getPort, setHost, setPort
-
Methods inherited from class jenkins.plugins.logstash.configuration.LogstashIndexer
all, 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
-
getKey
public String getKey()
-
setKey
@DataBoundSetter public void setKey(String key)
-
getPassword
public Secret getPassword()
-
setPassword
@DataBoundSetter public void setPassword(Secret password)
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classHostBasedLogstashIndexer<RedisDao>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classHostBasedLogstashIndexer<RedisDao>
-
createIndexerInstance
public RedisDao createIndexerInstance()
Description copied from class:LogstashIndexer
Creates a newAbstractLogstashIndexerDao
instance corresponding to this configuration.- Specified by:
createIndexerInstance
in classLogstashIndexer<RedisDao>
- Returns:
AbstractLogstashIndexerDao
instance
-
-