Package akka.actor.typed
Class LogOptions.LogOptionsImpl
- java.lang.Object
-
- akka.actor.typed.LogOptions
-
- akka.actor.typed.LogOptions.LogOptionsImpl
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
,scala.Serializable
- Enclosing class:
- LogOptions
public static final class LogOptions.LogOptionsImpl extends LogOptions implements scala.Product, scala.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class akka.actor.typed.LogOptions
LogOptions.LogOptionsImpl, LogOptions.LogOptionsImpl$
-
-
Constructor Summary
Constructors Constructor Description LogOptionsImpl(boolean enabled, Logging.LogLevel level, scala.Option<Logger> logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canEqual(java.lang.Object x$1)
LogOptions.LogOptionsImpl
copy(boolean enabled, Logging.LogLevel level, scala.Option<Logger> logger)
boolean
copy$default$1()
Logging.LogLevel
copy$default$2()
scala.Option<Logger>
copy$default$3()
boolean
enabled()
boolean
equals(java.lang.Object x$1)
java.util.Optional<Logger>
getLogger()
Java APIint
hashCode()
Logging.LogLevel
level()
scala.Option<Logger>
logger()
int
productArity()
java.lang.Object
productElement(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
java.lang.String
toString()
LogOptions
withEnabled(boolean enabled)
LogOptions
withLevel(Logging.LogLevel level)
TheLogging.LogLevel
to use when logging messages.LogOptions
withLogger(Logger logger)
ALogger
to use when logging messages.-
Methods inherited from class akka.actor.typed.LogOptions
apply, create
-
-
-
-
Constructor Detail
-
LogOptionsImpl
public LogOptionsImpl(boolean enabled, Logging.LogLevel level, scala.Option<Logger> logger)
-
-
Method Detail
-
enabled
public boolean enabled()
- Specified by:
enabled
in classLogOptions
-
level
public Logging.LogLevel level()
- Specified by:
level
in classLogOptions
-
logger
public scala.Option<Logger> logger()
- Specified by:
logger
in classLogOptions
-
withEnabled
public LogOptions withEnabled(boolean enabled)
- Specified by:
withEnabled
in classLogOptions
-
withLevel
public LogOptions withLevel(Logging.LogLevel level)
TheLogging.LogLevel
to use when logging messages.- Specified by:
withLevel
in classLogOptions
- Parameters:
level
- (undocumented)- Returns:
- (undocumented)
-
withLogger
public LogOptions withLogger(Logger logger)
ALogger
to use when logging messages.- Specified by:
withLogger
in classLogOptions
- Parameters:
logger
- (undocumented)- Returns:
- (undocumented)
-
getLogger
public java.util.Optional<Logger> getLogger()
Java API- Specified by:
getLogger
in classLogOptions
-
copy
public LogOptions.LogOptionsImpl copy(boolean enabled, Logging.LogLevel level, scala.Option<Logger> logger)
-
copy$default$1
public boolean copy$default$1()
-
copy$default$2
public Logging.LogLevel copy$default$2()
-
copy$default$3
public scala.Option<Logger> copy$default$3()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-