public class RunModuleSearchActionFactory extends Object implements SearchActionFactory
Constructor and Description |
---|
RunModuleSearchActionFactory() |
Modifier and Type | Method and Description |
---|---|
SearchAction |
create(SearchResult result) |
boolean |
supports(SearchResult result)
Gets whether this object is compatible with the given data object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getType
public boolean supports(SearchResult result)
Typed
By default, this method will return true
iff the data is assignable
to the associated type given by Typed.getType()
. But individual
implementations may have other requirements beyond class assignability.
supports
in interface Typed<SearchResult>
public SearchAction create(SearchResult result)
create
in interface FactoryPlugin<SearchResult,SearchAction>
Copyright © 2015–2022 SciJava. All rights reserved.