java.lang.Object
org.yamcs.commanding.CommandQueue
-
Method Summary
Modifier and TypeMethodDescriptionvoidadd(ActiveCommand pc) voidaddGroups(Collection<String> groups) voidaddTcPatterns(Collection<Pattern> tcPatterns) voidaddUsers(Collection<String> users) voidclear(boolean areSent) getcommand(String id) getcommand(org.yamcs.protobuf.Commanding.CommandId commandId) intorg.yamcs.xtce.Significance.LevelsgetName()intintorg.yamcs.protobuf.Commanding.QueueStategetState()getUsers()booleanbooleanremove(ActiveCommand pc, boolean isSent) remove the command from the queue and return true if it has been removedvoidsetMinLevel(org.yamcs.xtce.Significance.Levels minLevel)
-
Method Details
-
getName
-
getUsers
-
getGroups
-
getTcPatterns
-
getMinLevel
public org.yamcs.xtce.Significance.Levels getMinLevel() -
setMinLevel
public void setMinLevel(org.yamcs.xtce.Significance.Levels minLevel) -
addUsers
-
addGroups
-
addTcPatterns
-
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() -
getNbSentCommands
public int getNbSentCommands() -
getcommand
-
getcommand
-
getCommands
-