Class BukkitSignManagement
- java.lang.Object
-
- de.dytanic.cloudnet.ext.bridge.ServiceInfoStateWatcher
-
- de.dytanic.cloudnet.ext.signs.AbstractSignManagement
-
- de.dytanic.cloudnet.ext.signs.bukkit.BukkitSignManagement
-
public class BukkitSignManagement extends AbstractSignManagement
-
-
Field Summary
-
Fields inherited from class de.dytanic.cloudnet.ext.signs.AbstractSignManagement
signs
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBukkitSignManagement(BukkitCloudNetSignsPlugin plugin)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidcleanup()Removes all signs that don't exist anymorestatic BukkitSignManagementgetInstance()Deprecated.SignManagement should be accessed via theIServicesRegistryBukkitCloudNetSignsPlugingetPlugin()protected voidrunTaskLater(@NotNull java.lang.Runnable runnable, long delay)Runs a task on the main thread of the current applicationorg.bukkit.LocationtoLocation(de.dytanic.cloudnet.ext.bridge.WorldPosition worldPosition)protected voidupdateSignNext(@NotNull Sign sign, @NotNull SignLayout signLayout, @Nullable de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot serviceInfoSnapshot)-
Methods inherited from class de.dytanic.cloudnet.ext.signs.AbstractSignManagement
addSign, executeSearchingTask, executeStartingTask, getIndexes, getOwnSignConfigurationEntry, getSigns, getSignsFromNode, handle, handleUpdate, removeSign, sendSignAddUpdate, sendSignRemoveUpdate, shouldShowFullServices, shouldWatchService, updateSignConfiguration, updateSigns
-
-
-
-
Constructor Detail
-
BukkitSignManagement
protected BukkitSignManagement(BukkitCloudNetSignsPlugin plugin)
-
-
Method Detail
-
getInstance
@Deprecated @ScheduledForRemoval public static BukkitSignManagement getInstance()
Deprecated.SignManagement should be accessed via theIServicesRegistry
-
updateSignNext
protected void updateSignNext(@NotNull @NotNull Sign sign, @NotNull @NotNull SignLayout signLayout, @Nullable @Nullable de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot serviceInfoSnapshot)- Specified by:
updateSignNextin classAbstractSignManagement
-
cleanup
public void cleanup()
Description copied from class:AbstractSignManagementRemoves all signs that don't exist anymore- Specified by:
cleanupin classAbstractSignManagement
-
runTaskLater
protected void runTaskLater(@NotNull @NotNull java.lang.Runnable runnable, long delay)Description copied from class:AbstractSignManagementRuns a task on the main thread of the current application- Specified by:
runTaskLaterin classAbstractSignManagement- Parameters:
runnable- the taskdelay- the delay the task should have
-
toLocation
public org.bukkit.Location toLocation(de.dytanic.cloudnet.ext.bridge.WorldPosition worldPosition)
-
getPlugin
public BukkitCloudNetSignsPlugin getPlugin()
-
-