public static enum AdministrativeLock.Type extends Enum<AdministrativeLock.Type>
AdminstrativeLock
value,
along with some data about them.Enum Constant and Description |
---|
EXTEND_GRACE
Causes all roles that start to end to be given an extended grace period until the
specified date.
|
LEAVER_MESSAGE
Causes an account to be locked until the specified date instead of closing, allowing an
email auto-response to work for a period after account 'closure'.
|
LOCK
Causes an account to be locked.
|
PROTECT
Causes an account to be protected.
|
SCRAMBLED
Records that the password on an account has been scrambled.
|
Modifier and Type | Method and Description |
---|---|
boolean |
clearAtDate() |
boolean |
dateRequired() |
boolean |
hasDate() |
static AdministrativeLock.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdministrativeLock.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdministrativeLock.Type EXTEND_GRACE
public static final AdministrativeLock.Type LEAVER_MESSAGE
EXTEND_GRACE
the end dates of any roles that start to end will be delayed until
the specified date. The field will not be cleared when the date is reached in case
someone fiddles with the dates resulting in the full closure of the account being
delayed.public static final AdministrativeLock.Type LOCK
public static final AdministrativeLock.Type PROTECT
public static final AdministrativeLock.Type SCRAMBLED
public static AdministrativeLock.Type[] values()
for (AdministrativeLock.Type c : AdministrativeLock.Type.values()) System.out.println(c);
public static AdministrativeLock.Type 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 boolean hasDate()
public boolean dateRequired()
public boolean clearAtDate()
Copyright © 2018. All rights reserved.