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()
SimpleDistributionAgentMBean
getName
in interface SimpleDistributionAgentMBean
public String getTitle()
SimpleDistributionAgentMBean
getTitle
in interface SimpleDistributionAgentMBean
public String getDetails()
SimpleDistributionAgentMBean
getDetails
in interface SimpleDistributionAgentMBean
public boolean isEnabled()
SimpleDistributionAgentMBean
isEnabled
in interface SimpleDistributionAgentMBean
public String getServiceName()
SimpleDistributionAgentMBean
getServiceName
in interface SimpleDistributionAgentMBean
public String getLogLevel()
SimpleDistributionAgentMBean
getLogLevel
in interface SimpleDistributionAgentMBean
public boolean isQueueProcessingEnabled()
SimpleDistributionAgentMBean
isQueueProcessingEnabled
in interface SimpleDistributionAgentMBean
public String getStatus()
SimpleDistributionAgentMBean
getStatus
in interface SimpleDistributionAgentMBean
DistributionAgentState
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.