public enum SelectiveReloadStateHandler extends java.lang.Enum<SelectiveReloadStateHandler>
列挙型定数と説明 |
---|
INSTANCE |
修飾子とタイプ | メソッドと説明 |
---|---|
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.
|
boolean |
test(IResourceManagerReloadListener listener) |
static SelectiveReloadStateHandler |
valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static SelectiveReloadStateHandler[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
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
- 返される列挙型定数の名前。java.lang.IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合java.lang.NullPointerException
- 引数がnullの場合public 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()
public boolean test(IResourceManagerReloadListener listener)