Package org.scijava.options
Interface OptionsService
-
- All Superinterfaces:
Comparable<Prioritized>,Contextual,Disposable,HasPluginInfo,Identifiable,Initializable,Locatable,Logged,Prioritized,PTService<OptionsPlugin>,RichPlugin,SciJavaPlugin,SciJavaService,Service,SingletonService<OptionsPlugin>,Versioned
- All Known Implementing Classes:
DefaultOptionsService
public interface OptionsService extends SingletonService<OptionsPlugin>, SciJavaService
Interface for the options handling service.- Author:
- Curtis Rueden, Barry DeZonia
- See Also:
OptionsPlugin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description <O extends OptionsPlugin>
OgetOptions(Class<O> optionsClass)Gets the options plugin of the given class, or null if none.default Class<OptionsPlugin>getPluginType()Gets the type of plugins managed by this service.default voidreset()Clears all option values from persistent storage.-
Methods inherited from interface org.scijava.Contextual
context, getContext, setContext
-
Methods inherited from interface org.scijava.Disposable
dispose
-
Methods inherited from interface org.scijava.plugin.HasPluginInfo
getInfo, setInfo
-
Methods inherited from interface org.scijava.Locatable
getLocation
-
Methods inherited from interface org.scijava.Prioritized
compareTo, getPriority, setPriority
-
Methods inherited from interface org.scijava.plugin.PTService
getPlugins, getPluginService, pluginService
-
Methods inherited from interface org.scijava.plugin.RichPlugin
getIdentifier, log
-
Methods inherited from interface org.scijava.service.Service
registerEventHandlers
-
Methods inherited from interface org.scijava.plugin.SingletonService
create, filterInstances, getInstance, getInstances, initialize, objectService
-
Methods inherited from interface org.scijava.Versioned
getVersion
-
-
-
-
Method Detail
-
getOptions
<O extends OptionsPlugin> O getOptions(Class<O> optionsClass)
Gets the options plugin of the given class, or null if none.
-
reset
default void reset()
Clears all option values from persistent storage.- See Also:
OptionsPlugin.reset()
-
getPluginType
default Class<OptionsPlugin> getPluginType()
Description copied from interface:PTServiceGets the type of plugins managed by this service.- Specified by:
getPluginTypein interfacePTService<OptionsPlugin>
-
-