public class RemoveSearchAfterCompleteCommand extends Object implements org.apache.karaf.shell.api.action.Action
| Modifier and Type | Class and Description |
|---|---|
static class |
RemoveSearchAfterCompleteCommand.TrueAndFalseCompleter |
| Constructor and Description |
|---|
RemoveSearchAfterCompleteCommand() |
RemoveSearchAfterCompleteCommand(QueryMonitorPlugin q) |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute()
Method to implement
Action. |
boolean |
setRemoveSearchAfterComplete(boolean b)
Method to set the boolean in a
QueryMonitorPlugin which determines whether ActiveSearch's should be removed from the ActiveSearch Map when the
search completes. |
public RemoveSearchAfterCompleteCommand(QueryMonitorPlugin q)
public RemoveSearchAfterCompleteCommand()
public boolean setRemoveSearchAfterComplete(boolean b)
QueryMonitorPlugin which determines whether ActiveSearch's should be removed from the ActiveSearch Map when the
search completes. A value of true has the effect that searches will be removed while a value of
false has the effect that ActiveSearch's will be left inside of the ActiveSearch Map after query completion.public Object execute() throws Exception
Action. Called when the catalog:removesearchaftercomplete command
is called by the shell. Sets the value of the boolean which determines whether or not ActiveSearch's are removed from the ActiveSearch Map after search
completion.execute in interface org.apache.karaf.shell.api.action.ActionnullExceptionThis work is licensed under a Creative Commons Attribution 4.0 International License.