Package org.openjdk.jmc.common
Interface IStateful
- All Known Implementing Classes:
ItemFilters.AttributeFilter,ItemFilters.AttributeValue,ItemFilters.Composite,ItemFilters.Contains,ItemFilters.HasAttribute,ItemFilters.Matches,ItemFilters.Not,ItemFilters.NotContains,ItemFilters.NotHasAttribute,ItemFilters.NotMatches,ItemFilters.Type,ItemFilters.TypeMatches,ItemFilters.Types,PersistableItemFilter,StatefulState
public interface IStateful
A class that can save its state into an
IWritableState instance.-
Method Summary
Modifier and TypeMethodDescriptionvoidsaveTo(IWritableState state) Saves the state for this object into a state object.
-
Method Details
-
saveTo
Saves the state for this object into a state object.- Parameters:
state- Object to save state to. Since there is no way to check for existing data in the state object an unused one should normally be used.
-