public enum ExpiryOption extends Enum<ExpiryOption>
Enum Constant and Description |
---|
Absolute
Interpret as date/time.
|
NeverExpire
No expiry.
|
RelativeToCreationDate
Interpet as milliseconds from the file's creation date+time.
|
RelativeToNow
Interpret as miliseconds from now.
|
Modifier and Type | Method and Description |
---|---|
static ExpiryOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExpiryOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExpiryOption NeverExpire
public static final ExpiryOption RelativeToNow
public static final ExpiryOption RelativeToCreationDate
public static final ExpiryOption Absolute
public static ExpiryOption[] values()
for (ExpiryOption c : ExpiryOption.values()) System.out.println(c);
public static ExpiryOption 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 nullCopyright © 2019 Microsoft Corporation. All rights reserved.