Uses of Class
org.forgerock.opendj.config.DurationUnit
-
Packages that use DurationUnit Package Description org.forgerock.opendj.config Common administration classes. -
-
Uses of DurationUnit in org.forgerock.opendj.config
Methods in org.forgerock.opendj.config that return DurationUnit Modifier and Type Method Description DurationUnitDurationPropertyDefinition. getBaseUnit()Get the base unit for this property definition (values including limits are specified in this unit).DurationUnitDurationPropertyDefinition. getMaximumUnit()Get the maximum unit for this property definition if specified.static DurationUnitDurationUnit. getUnit(String s)Get the unit corresponding to the provided unit name.static DurationUnitDurationUnit. valueOf(String name)Returns the enum constant of this type with the specified name.static DurationUnit[]DurationUnit. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.forgerock.opendj.config with parameters of type DurationUnit Modifier and Type Method Description static longDurationUnit. parseValue(String s, DurationUnit defaultUnit)Parse the provided duration string and return its equivalent duration in milliseconds.voidDurationPropertyDefinition.Builder. setBaseUnit(DurationUnit unit)Set the base unit for this property definition (values including limits are specified in this unit).voidDurationPropertyDefinition.Builder. setMaximumUnit(DurationUnit unit)Set the maximum unit for this property definition.
-