public enum RefreshOffline extends Enum<RefreshOffline>
Should the offline file be refreshed from its online counterpart (or created if it doesn't exist)?.
aliteralmind __DASH__ github __AT__ yahoo __DOT__ com), dual-licensed under the LGPL (version 3.0 or later) or the ASL (version 2.0). See source code for details. http://codelet.aliteralmind.com, https://github.com/aliteralmind/codelet| Modifier and Type | Method and Description |
|---|---|
static RefreshOffline |
getForBoolean(boolean flag)
Return
RefreshOffline.YES if the flag is true, or NO if false. |
boolean |
isNo()
Is this
RefreshOffline equal to NO?. |
boolean |
isYes()
Is this
RefreshOffline equal to YES?. |
static RefreshOffline |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RefreshOffline[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RefreshOffline YES
YYY.
public static final RefreshOffline NO
YYY.
public static RefreshOffline[] values()
for (RefreshOffline c : RefreshOffline.values()) System.out.println(c);
public static RefreshOffline 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 final boolean isYes()
Is this RefreshOffline equal to YES?.
public final boolean isNo()
Is this RefreshOffline equal to NO?.
public static final RefreshOffline getForBoolean(boolean flag)
Return RefreshOffline.YES if the flag is true, or NO if false.
Copyright 2014, Jeff Epstein, All Rights Reserved. See top of source code files for copyright notice.
https://github.com/aliteralmind/codelet