Package net.md_5.bungee.api.score

# Class Objective

java.lang.Object
net.md_5.bungee.api.score.Objective

public class Objective extends Object
Represents an objective entry.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Objective(String name, String value, String type)`
  Creates a new `Objective` instance.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected boolean`
  `canEqual(Object other)`
  `boolean`
  `equals(Object o)`
  `String`
  `getName()`
  Name of the objective.
  `String`
  `getType()`
  Type; integer or hearts
  `String`
  `getValue()`
  Value of the objective.
  `int`
  `hashCode()`
  `void`
  `setType(String type)`
  Type; integer or hearts
  `void`
  `setValue(String value)`
  Value of the objective.
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### Objective

    public Objective(String name, String value, String type)
    Creates a new `Objective` instance.
    Parameters:
      `name` - Name of the objective.
      `value` - Value of the objective.
      `type` - Type; integer or hearts

- ## Method Details

  - ### getName

    public String getName()
    Name of the objective.

  - ### getValue

    public String getValue()
    Value of the objective.

  - ### getType

    public String getType()
    Type; integer or hearts

  - ### setValue

    public void setValue(String value)
    Value of the objective.

  - ### setType

    public void setType(String type)
    Type; integer or hearts

  - ### equals

    public boolean equals(Object o)
    Overrides:
      `equals` in class `Object`

  - ### canEqual

    protected boolean canEqual(Object other)

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`