public class AgentLockServiceCommands extends Object
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAllWorkerAgents() |
int |
getLevel(String agentName) |
List<String> |
getLockableAgents() |
List<String> |
getLockedAgents() |
void |
lock(String agentName) |
void |
setLevel(String agentName,
int level) |
void |
unlock(String agentName) |
@Command(description="Set this agent\'s authorized operational level for the given subsystem")
public void setLevel(@Argument(allowedValueProvider="getAllWorkerAgents")
String agentName,
int level)
throws Exception
Exception@Command(description="Get this agent\'s authorized operatinal level for the given subsystem")
public int getLevel(@Argument(allowedValueProvider="getAllWorkerAgents")
String agentName)
@Command(description="Lock the given subsystem")
public void lock(@Argument(allowedValueProvider="getLockableAgents")
String agentName)
throws Exception
Exception@Command(description="Unlock the given subsystem")
public void unlock(@Argument(allowedValueProvider="getLockedAgents")
String agentName)
throws Exception
Exception@Command(description="Show agents that could be locked") public List<String> getLockableAgents()
Copyright © 2018 LSST. All rights reserved.