Class MetaComponent

java.lang.Object
com.booksaw.betterTeams.team.MetaComponent
All Implemented Interfaces:
TeamComponent<TeamMeta>

public class MetaComponent extends Object implements TeamComponent<TeamMeta>
  • Constructor Details

    • MetaComponent

      public MetaComponent()
  • Method Details

    • get

      public TeamMeta get()
      Specified by:
      get in interface TeamComponent<TeamMeta>
      Returns:
      The stored value
    • set

      public void set(TeamMeta value)
      Specified by:
      set in interface TeamComponent<TeamMeta>
      Parameters:
      value - Set what the currently stored value is
    • load

      public void load(TeamStorage section)
      Description copied from interface: TeamComponent
      Load the value stored in the config into this component
      Specified by:
      load in interface TeamComponent<TeamMeta>
      Parameters:
      section - The configuration section where all the team data is stored
    • save

      public void save(TeamStorage storage)
      Description copied from interface: TeamComponent
      Store the loaded value to the configuration section
      Specified by:
      save in interface TeamComponent<TeamMeta>
      Parameters:
      storage - The storage class where all team storage takes place