public interface RootView extends VirtualView
| Modifier and Type | Method and Description |
|---|---|
@NotNull ViewConfig |
getConfig()
The configuration for this view.
|
@NotNull ElementFactory |
getElementFactory()
The ElementFactory for this view.
|
@UnmodifiableView java.util.Set<IFContext> |
getInternalContexts()
All contexts linked to this view.
|
@NotNull java.util.Map<java.lang.String,java.lang.Object> |
getMetadata() |
@NotNull Pipeline<VirtualView> |
getPipeline()
The execution pipeline for this view.
|
Job |
getScheduledUpdateJob()
This is an internal inventory-framework API that should not be used from outside of
this library.
|
@NotNull java.util.UUID |
getUniqueId()
The unique identifier of this view.
|
void |
nextTick(java.lang.Runnable task)
Runs a task in the next tick.
|
void |
setConfig(@NotNull ViewConfig config)
Sets the configuration for this view.
|
void |
setScheduledUpdateJob(@NotNull Job job)
This is an internal inventory-framework API that should not be used from outside of
this library.
|
@NotNull @NotNull java.util.UUID getUniqueId()
@ApiStatus.Internal @UnmodifiableView java.util.Set<IFContext> getInternalContexts()
This is an internal inventory-framework API that should not be used from outside of this library. No compatibility guarantees are provided.
@NotNull @NotNull ViewConfig getConfig()
java.lang.IllegalStateException - If the configuration is not available yet (uninitialized)void setConfig(@NotNull
@NotNull ViewConfig config)
config - The new configuration of this view.java.lang.IllegalStateException - If the configuration was already set before.@NotNull @NotNull Pipeline<VirtualView> getPipeline()
@ApiStatus.Internal @NotNull @NotNull ElementFactory getElementFactory()
This is an internal inventory-framework API that should not be used from outside of this library. No compatibility guarantees are provided.
@ApiStatus.Internal void nextTick(java.lang.Runnable task)
This is an internal inventory-framework API that should not be used from outside of this library. No compatibility guarantees are provided.
task - The task to run.@ApiStatus.Internal Job getScheduledUpdateJob()
@ApiStatus.Internal
void setScheduledUpdateJob(@NotNull
@NotNull Job job)
@NotNull @NotNull java.util.Map<java.lang.String,java.lang.Object> getMetadata()