
public class AgentLockInfo extends Object implements AgentLock, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
AgentLockInfo.AgentLockInfoString
Class that allows the serialization of the AgentLockInfo
We use the PersistenceService to make sure the locks are stored at any given
time.
|
static class |
AgentLockInfo.Status |
| Constructor and Description |
|---|
AgentLockInfo(AgentLockInfo lock,
AgentLockInfo.Status status,
int level,
String token) |
AgentLockInfo(AgentLockInfo lock,
AgentLockInfo.Status status,
String token) |
AgentLockInfo(String agentName,
String owner,
int maxLevel,
AgentLockInfo.Status status,
String token,
AgentInfo originatingAgent) |
public AgentLockInfo(String agentName, String owner, int maxLevel, AgentLockInfo.Status status, String token, AgentInfo originatingAgent)
public AgentLockInfo(AgentLockInfo lock, AgentLockInfo.Status status, String token)
public AgentLockInfo(AgentLockInfo lock, AgentLockInfo.Status status, int level, String token)
public static AgentLockInfo createLockRequest(String agentName, String userId, AgentInfo originatingAgent)
public static AgentLockInfo createLockRequest(AgentLockInfo request, int maxLevel)
public static AgentLockInfo createAttachRequest(String agentName, String userId, AgentInfo attachingAgent)
public static AgentLockInfo createAttachRequest(AgentLockInfo attachRequest, AgentLockInfo originalLock)
public static AgentLockInfo createReject(AgentLockInfo request)
public static AgentLockInfo createAcknowledge(AgentLockInfo request)
public static AgentLockInfo createAcknowledgeLegacy(AgentLockInfo request, int level)
public static AgentLockInfo createReminder(AgentLockInfo lock)
public static AgentLockInfo createInfo(AgentLockInfo lock)
public static AgentLockInfo createRelease(String agentName, String userId)
public static AgentLockInfo createDetach(String agentName, String userId, AgentInfo attachingAgent)
public static AgentLockInfo createLoginVisble(AgentLockInfo lock)
public static AgentLockInfo createLoginInvisble(AgentLockInfo lock)
public String getAgentName()
AgentLockgetAgentName in interface AgentLockpublic String getOwner()
AgentLockpublic AgentLockInfo.Status getStatus()
public int getMaxLevel()
AgentLockgetMaxLevel in interface AgentLockpublic org.lsst.ccs.utilities.taitime.CCSTimeStamp getTimeStamp()
public String getOriginatingAgent()
public boolean isScriptingOriginator()
public String getCurrentAgent()
Copyright © 2021 LSST. All rights reserved.