Package com.booksaw.betterTeams.team
Class MetaComponent
java.lang.Object
com.booksaw.betterTeams.team.MetaComponent
- All Implemented Interfaces:
TeamComponent<TeamMeta>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()voidload(TeamStorage section) Load the value stored in the config into this componentvoidsave(TeamStorage storage) Store the loaded value to the configuration sectionvoid
-
Constructor Details
-
MetaComponent
public MetaComponent()
-
-
Method Details
-
get
- Specified by:
getin interfaceTeamComponent<TeamMeta>- Returns:
- The stored value
-
set
- Specified by:
setin interfaceTeamComponent<TeamMeta>- Parameters:
value- Set what the currently stored value is
-
load
Description copied from interface:TeamComponentLoad the value stored in the config into this component- Specified by:
loadin interfaceTeamComponent<TeamMeta>- Parameters:
section- The configuration section where all the team data is stored
-
save
Description copied from interface:TeamComponentStore the loaded value to the configuration section- Specified by:
savein interfaceTeamComponent<TeamMeta>- Parameters:
storage- The storage class where all team storage takes place
-