@Priority(value=200) public class DurationConverter extends Object implements org.eclipse.microprofile.config.spi.Converter<Duration>, Serializable
Duration
interface.Constructor and Description |
---|
DurationConverter() |
Modifier and Type | Method and Description |
---|---|
Duration |
convert(String value)
The converter accepts a value which start with a number by implicitly appending `PT` to it.
|
public Duration convert(String value)
Copyright © 2020 JBoss by Red Hat. All rights reserved.