Class ReleaseChannel

java.lang.Object
ch.njol.skript.update.ReleaseChannel

public class ReleaseChannel extends Object
Allows checking whether releases are in this channel or not.
  • Constructor Details

  • Method Details

    • check

      public boolean check(String release)
      Checks whether the release with given name belongs to this channel.
      Parameters:
      release - Channel name.
      Returns:
      Whether the release belongs to channel or not.
    • getName

      public String getName()
      Gets release channel name. For example, 'beta'.
      Returns:
      Channel name.