public class AgentVersionsService extends Object implements AgentService, ServiceLifecycle, HasLifecycle
| Modifier and Type | Class and Description |
|---|---|
class |
AgentVersionsService.VersionCommands |
static class |
AgentVersionsService.VersionConstraint |
| Modifier and Type | Field and Description |
|---|---|
static String |
AGENT |
static String |
DISTRIBUTION |
static String |
TOOLKIT |
static String |
VERSIONS_KEY |
| Constructor and Description |
|---|
AgentVersionsService() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterInit() |
protected Properties |
extractVersionConstraintPropertiesFor(String key,
Properties props) |
String |
getAgentServiceName()
Get the name of this service.
|
Map<String,DistributionInfo> |
getAllDistributionInfo() |
CCSVersions |
getCCSVersions() |
KeyValueData |
getCCSVersionsData() |
void |
preBuild() |
void |
preInit() |
void |
preShutdown() |
boolean |
startForAgent(AgentInfo agentInfo)
This method is invoked after an agent service is created to see if
this service is to be started for the tiven Agent.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterBuild, afterStart, preStartbuild, init, postBuild, postInit, postShutdown, postStart, shutdown, startpublic static final String AGENT
public static final String TOOLKIT
public static final String DISTRIBUTION
public static final String VERSIONS_KEY
public String getAgentServiceName()
AgentServicegetAgentServiceName in interface AgentServicepublic boolean startForAgent(AgentInfo agentInfo)
AgentServicestartForAgent in interface AgentServicepublic void preBuild()
preBuild in interface ServiceLifecyclepublic void preInit()
preInit in interface ServiceLifecyclepublic void afterInit()
afterInit in interface ServiceLifecyclepublic void preShutdown()
preShutdown in interface ServiceLifecyclepublic CCSVersions getCCSVersions()
public KeyValueData getCCSVersionsData()
protected Properties extractVersionConstraintPropertiesFor(String key, Properties props)
public Map<String,DistributionInfo> getAllDistributionInfo()
Copyright © 2022 LSST. All rights reserved.