public enum DurationYamler extends Enum<DurationYamler> implements CustomYamlers.CustomYamler
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
org.yaml.snakeyaml.constructor.Construct |
getConstructor() |
org.yaml.snakeyaml.representer.Represent |
getRepresenter() |
Class<?> |
getYamledClass() |
static DurationYamler |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DurationYamler[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DurationYamler INSTANCE
public static DurationYamler[] values()
for (DurationYamler c : DurationYamler.values()) System.out.println(c);
public static DurationYamler valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic org.yaml.snakeyaml.representer.Represent getRepresenter()
getRepresenter
in interface CustomYamlers.CustomYamler
public org.yaml.snakeyaml.constructor.Construct getConstructor()
getConstructor
in interface CustomYamlers.CustomYamler
public Class<?> getYamledClass()
getYamledClass
in interface CustomYamlers.CustomYamler
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.