public interface IMacroManager<CONTEXT>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRecording() |
int |
play(String id,
CONTEXT context) |
void |
record(String id,
ICommand<CONTEXT>... macros) |
int |
stop()
stops the current recording. can only be called, if
record(String, ICommand...) was called before |
void record(String id, ICommand<CONTEXT>... macros)
id - macro identifier to be used later for play(String, Object). to start recording, the id must
not be null! internally, the invoking will be done without an id (=null) - using the id from first
call.macros - one or more macro to record.boolean isRecording()
#record(String) was called and stop() was not called yet after.int stop()
record(String, ICommand...) was called beforeCopyright © 2012–2021. All rights reserved.