public final class SimpleDistributionAgentMBeanImpl extends Object implements SimpleDistributionAgentMBean
| Constructor and Description |
|---|
SimpleDistributionAgentMBeanImpl(DistributionAgent agent,
Map<String,Object> osgiConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDetails()
The display friendly details of the agent.
|
String |
getLogLevel()
The log level recorded in the transient log accessible via http.
|
String |
getName()
The name of the agent.
|
String |
getServiceName()
The name of the service used to access the repository.
|
String |
getStatus()
The distribution agent status, usually one of:
paused
idle
running
blocked
|
String |
getTitle()
The display friendly title of the agent.
|
boolean |
isEnabled()
Whether or not to start the distribution agent.
|
boolean |
isQueueProcessingEnabled()
Whether or not the distribution agent should process packages in the queues.
|
public SimpleDistributionAgentMBeanImpl(DistributionAgent agent, Map<String,Object> osgiConfiguration)
public String getName()
SimpleDistributionAgentMBeangetName in interface SimpleDistributionAgentMBeanpublic String getTitle()
SimpleDistributionAgentMBeangetTitle in interface SimpleDistributionAgentMBeanpublic String getDetails()
SimpleDistributionAgentMBeangetDetails in interface SimpleDistributionAgentMBeanpublic boolean isEnabled()
SimpleDistributionAgentMBeanisEnabled in interface SimpleDistributionAgentMBeanpublic String getServiceName()
SimpleDistributionAgentMBeangetServiceName in interface SimpleDistributionAgentMBeanpublic String getLogLevel()
SimpleDistributionAgentMBeangetLogLevel in interface SimpleDistributionAgentMBeanpublic boolean isQueueProcessingEnabled()
SimpleDistributionAgentMBeanisQueueProcessingEnabled in interface SimpleDistributionAgentMBeanpublic String getStatus()
SimpleDistributionAgentMBeangetStatus in interface SimpleDistributionAgentMBeanDistributionAgentStateCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.