public class NutsCommandHistoryImpl extends Object implements net.thevpc.nuts.NutsCommandHistory
| Constructor and Description |
|---|
NutsCommandHistoryImpl(net.thevpc.nuts.NutsSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Instant time,
String line) |
net.thevpc.nuts.NutsCommandHistoryEntry |
getEntry(int index) |
net.thevpc.nuts.NutsPath |
getPath() |
int |
getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext context) |
ListIterator<net.thevpc.nuts.NutsCommandHistoryEntry> |
iterator(int index) |
void |
load() |
void |
load(InputStream in) |
void |
purge() |
void |
save() |
void |
save(OutputStream outs) |
net.thevpc.nuts.NutsCommandHistory |
setPath(File path) |
net.thevpc.nuts.NutsCommandHistory |
setPath(net.thevpc.nuts.NutsPath path) |
net.thevpc.nuts.NutsCommandHistory |
setPath(Path path) |
int |
size() |
public NutsCommandHistoryImpl(net.thevpc.nuts.NutsSession session)
public void load()
load in interface net.thevpc.nuts.NutsCommandHistorypublic void save()
save in interface net.thevpc.nuts.NutsCommandHistorypublic void load(InputStream in)
load in interface net.thevpc.nuts.NutsCommandHistorypublic void save(OutputStream outs)
save in interface net.thevpc.nuts.NutsCommandHistorypublic net.thevpc.nuts.NutsCommandHistory setPath(Path path)
setPath in interface net.thevpc.nuts.NutsCommandHistorypublic net.thevpc.nuts.NutsCommandHistory setPath(File path)
setPath in interface net.thevpc.nuts.NutsCommandHistorypublic net.thevpc.nuts.NutsCommandHistory setPath(net.thevpc.nuts.NutsPath path)
setPath in interface net.thevpc.nuts.NutsCommandHistorypublic net.thevpc.nuts.NutsPath getPath()
getPath in interface net.thevpc.nuts.NutsCommandHistorypublic int size()
size in interface net.thevpc.nuts.NutsCommandHistorypublic void purge()
purge in interface net.thevpc.nuts.NutsCommandHistorypublic net.thevpc.nuts.NutsCommandHistoryEntry getEntry(int index)
getEntry in interface net.thevpc.nuts.NutsCommandHistorypublic ListIterator<net.thevpc.nuts.NutsCommandHistoryEntry> iterator(int index)
iterator in interface net.thevpc.nuts.NutsCommandHistorypublic void add(Instant time, String line)
add in interface net.thevpc.nuts.NutsCommandHistorypublic int getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NutsComponentCopyright © 2022 vpc open source initiative. All rights reserved.