Class DebugSearchComponent
java.lang.Object
org.ametys.web.frontoffice.search.requesttime.impl.DebugSearchComponent
- All Implemented Interfaces:
SearchComponent,Initializable,Configurable,Serviceable
public class DebugSearchComponent
extends Object
implements SearchComponent, Configurable, Serviceable, Initializable
SearchComponent for debugging.-
Field Summary
Fields inherited from interface org.ametys.web.frontoffice.search.requesttime.SearchComponent
DISABLE_DEFAULT_SAX_PARAMETER_NAME, MAX_PRIORITY, MIN_PRIORITY, SEARCH_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(Configuration configuration) voidExecutes the component.voidintpriority()Get the priority of the component.voidservice(ServiceManager manager) booleanReturnstrueif the component must beexecuted.
-
Constructor Details
-
DebugSearchComponent
public DebugSearchComponent()
-
-
Method Details
-
configure
- Specified by:
configurein interfaceConfigurable- Throws:
ConfigurationException
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
initialize
- Specified by:
initializein interfaceInitializable- Throws:
Exception
-
priority
Description copied from interface:SearchComponentGet the priority of the component. The lowest one will be executed first, and so on.- Specified by:
priorityin interfaceSearchComponent- Returns:
- the priority of the component
-
supports
Description copied from interface:SearchComponentReturnstrueif the component must beexecuted.- Specified by:
supportsin interfaceSearchComponent- Parameters:
args- the arguments- Returns:
trueif the component must beexecuted.
-
execute
Description copied from interface:SearchComponentExecutes the component.- Specified by:
executein interfaceSearchComponent- Parameters:
args- the arguments- Throws:
Exception- if an exception occurs. Other search components will be attempted to be executed
-