public interface CommandHistory
Modifier and Type | Method and Description |
---|---|
List<String> |
asList()
Returns the history as a list of strings.
|
void |
clear()
Clears history.
|
int |
getMaxSize()
The maximum length of the history log.
|
boolean |
isUseHistory()
Returns a boolean indicating whether the history is enabled or not.
|
void |
setUseHistory(boolean useHistory)
Enables or disables history.
|
List<String> asList()
boolean isUseHistory()
void setUseHistory(boolean useHistory)
useHistory
- true enables history, false disables it.void clear()
int getMaxSize()
Copyright © 2023 JBoss by Red Hat. All rights reserved.