java.lang.Object
org.yamcs.commanding.CommandQueue
-
Method Summary
Modifier and TypeMethodDescriptionvoidadd(ActiveCommand pc) voidaddGroups(Collection<String> groups) voidaddUsers(Collection<String> users) voidclear(boolean areSent) getcommand(String id) getcommand(UUID uuid) Deprecated.getcommand(org.yamcs.protobuf.Commanding.CommandId commandId) intgetName()intintorg.yamcs.protobuf.Commanding.QueueStategetState()intgetUsers()booleanmatches(User user, MetaCommand metaCmd) booleanremove(ActiveCommand pc, boolean isSent) remove the command from the queue and return true if it has been removedvoidsetMinLevel(Significance.Levels minLevel)
-
Method Details
-
getName
-
getUsers
-
getGroups
-
getMinLevel
-
setMinLevel
-
addUsers
-
addGroups
-
matches
-
getState
public org.yamcs.protobuf.Commanding.QueueState getState() -
getProcessor
-
getCommandArray
-
getCommandCount
public int getCommandCount() -
add
-
remove
remove the command from the queue and return true if it has been removed- Parameters:
pc-isSent- : true if the command has been sent, false if the command has been rejected- Returns:
-
clear
public void clear(boolean areSent) -
getNbRejectedCommands
public int getNbRejectedCommands() -
getStateExpirationRemainingS
public int getStateExpirationRemainingS() -
getNbSentCommands
public int getNbSentCommands() -
getcommand
-
getcommand
-
getcommand
Deprecated. -
getCommands
-