public enum SelectiveReloadStateHandler extends java.lang.Enum<SelectiveReloadStateHandler>
| Enum Constant and Description | 
|---|
INSTANCE  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
beginReload(java.util.function.Predicate<IResourceType> resourcePredicate)
Pushes a resource type predicate for the current reload. 
 | 
void | 
endReload()
Finishes the current reload and deletes the previously added reload predicate. 
 | 
java.util.function.Predicate<IResourceType> | 
get()
Gets the current reload resource predicate for the initiated reload. 
 | 
static SelectiveReloadStateHandler | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static SelectiveReloadStateHandler[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final SelectiveReloadStateHandler INSTANCE
public static SelectiveReloadStateHandler[] values()
for (SelectiveReloadStateHandler c : SelectiveReloadStateHandler.values()) System.out.println(c);
public static SelectiveReloadStateHandler valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic void beginReload(java.util.function.Predicate<IResourceType> resourcePredicate)
resourcePredicate - the resource requirement predicate for the current reloadpublic java.util.function.Predicate<IResourceType> get()
public void endReload()