Interface ServerScope


public interface ServerScope
The server-specific scope of a punishment. To get a scope, see ScopeManager
Author:
A248
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    appliesTo(String server)
    Deprecated.
    For categorical scopes produced from ScopeManager.category(String), it may not be known whether a scope applies to a certain server, because the configuration for the other server is not accessible by the current API instance.
    boolean
    equals(Object object)
    Determines equality with a given object.
  • Method Details

    • appliesTo

      @Deprecated boolean appliesTo(String server)
      Deprecated.
      For categorical scopes produced from ScopeManager.category(String), it may not be known whether a scope applies to a certain server, because the configuration for the other server is not accessible by the current API instance.
      Whether this scope applies to a server
      Parameters:
      server - the server name
      Returns:
      true if applicable, false otherwise
    • equals

      boolean equals(Object object)
      Determines equality with a given object. The other object must be a scope applying to the same servers as described in appliesTo(String)
      Overrides:
      equals in class Object
      Parameters:
      object - the object to determine equality with
      Returns:
      true if equal, false otherwise