public class PlaylistCommands extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
definePlaylist(String playListFileName,
String daqFolder,
String... imageNames) |
String |
listPlaylists() |
void |
play(String playListFileName,
boolean repeat)
Start a playlist.
|
String |
showCurrentPlaylist() |
String |
showPlaylist(String playListFileName) |
@Command(type=ACTION,
description="Start a playlist",
level=0,
autoAck=false)
public void play(String playListFileName,
@Argument(defaultValue="false")
boolean repeat)
throws IOException
playListFileName - The play list namerepeat - Whether the playlist should be started in repeat modeIOException@Command(type=ACTION,
description="Define a playlist",
level=0,
autoAck=false)
public void definePlaylist(String playListFileName,
String daqFolder,
String... imageNames)
@Command(type=QUERY,
description="Show contents of a playlist",
level=0,
autoAck=false)
public String showPlaylist(String playListFileName)
throws IOException
IOException@Command(type=QUERY,
description="Show status of the current playlist",
level=0,
autoAck=false)
public String showCurrentPlaylist()
throws IOException
IOException@Command(type=QUERY,
description="Show status of the current playlist",
level=0,
autoAck=false)
public String listPlaylists()
throws IOException
IOExceptionCopyright © 2021 LSST. All rights reserved.