public enum SynchronisationTimeTakenBucket extends Enum<SynchronisationTimeTakenBucket>
Enum Constant and Description |
---|
MORE_THAN_HOUR |
ONE_MINUTE_TEN_MINUTES |
SUB_10_SECONDS |
TEN_MINUTES_ONE_HOUR |
TEN_SECONDS_ONE_MINUTE |
Modifier and Type | Method and Description |
---|---|
static SynchronisationTimeTakenBucket |
fromMillis(long millis) |
static SynchronisationTimeTakenBucket |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SynchronisationTimeTakenBucket[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SynchronisationTimeTakenBucket SUB_10_SECONDS
public static final SynchronisationTimeTakenBucket TEN_SECONDS_ONE_MINUTE
public static final SynchronisationTimeTakenBucket ONE_MINUTE_TEN_MINUTES
public static final SynchronisationTimeTakenBucket TEN_MINUTES_ONE_HOUR
public static final SynchronisationTimeTakenBucket MORE_THAN_HOUR
public static SynchronisationTimeTakenBucket[] values()
for (SynchronisationTimeTakenBucket c : SynchronisationTimeTakenBucket.values()) System.out.println(c);
public static SynchronisationTimeTakenBucket 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 static SynchronisationTimeTakenBucket fromMillis(long millis)
Copyright © 2020 Atlassian. All rights reserved.