Record Class PythonAsyncioConfiguration
java.lang.Object
java.lang.Record
io.micronaut.context.python.PythonAsyncioConfiguration
- Record Components:
enabled- Whether asyncio integration is enabled.
@ConfigurationProperties("micronaut.python.asyncio")
public record PythonAsyncioConfiguration(boolean enabled)
extends Record
Configuration for Python asyncio integration.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPythonAsyncioConfiguration(boolean enabled) Creates an instance of aPythonAsyncioConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanenabled()Returns the value of theenabledrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
PREFIX
-
ENABLED
Property used to enable or disable Python asyncio support.- See Also:
-
-
Constructor Details
-
PythonAsyncioConfiguration
Creates an instance of aPythonAsyncioConfigurationrecord class.- Parameters:
enabled- the value for theenabledrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
enabled
-