Package | Description |
---|---|
org.forgerock.opendj.config |
Common administration classes.
|
Modifier and Type | Method and Description |
---|---|
DurationUnit |
DurationPropertyDefinition.getBaseUnit()
Get the base unit for this property definition (values including limits
are specified in this unit).
|
DurationUnit |
DurationPropertyDefinition.getMaximumUnit()
Get the maximum unit for this property definition if specified.
|
static DurationUnit |
DurationUnit.getUnit(String s)
Get the unit corresponding to the provided unit name.
|
static DurationUnit |
DurationUnit.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.
|
Modifier and Type | Method and Description |
---|---|
static long |
DurationUnit.parseValue(String s,
DurationUnit defaultUnit)
Parse the provided duration string and return its equivalent duration in
milliseconds.
|
void |
DurationPropertyDefinition.Builder.setBaseUnit(DurationUnit unit)
Set the base unit for this property definition (values including
limits are specified in this unit).
|
void |
DurationPropertyDefinition.Builder.setMaximumUnit(DurationUnit unit)
Set the maximum unit for this property definition.
|
Copyright 2010-2017 ForgeRock AS.