@Manager public class DefaultDistributionManager extends Object implements DistributionManager
The default distribution manager implementation.
Constructor and Description |
---|
DefaultDistributionManager(DistributionService distributionService,
AmbiguousIdHelper ambiguousIdHelper) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableCollection<DistributionChannelInfo> |
getAvailableChannelInfo()
Returns a description of the available app distribution channels.
|
void |
sendApp(String appAmbiguousId,
List<String> channelIds,
String comment)
Sends an app to the given distribution channels.
|
void |
sendAppById(String appModelId,
List<String> channelIds,
String comment)
Sends an app to the given distribution channels.
|
public DefaultDistributionManager(DistributionService distributionService, AmbiguousIdHelper ambiguousIdHelper)
public com.google.common.collect.ImmutableCollection<DistributionChannelInfo> getAvailableChannelInfo()
DistributionManager
Returns a description of the available app distribution channels.
getAvailableChannelInfo
in interface DistributionManager
public void sendApp(String appAmbiguousId, List<String> channelIds, String comment)
DistributionManager
Sends an app to the given distribution channels.
sendApp
in interface DistributionManager
appAmbiguousId
- the ID of the app to be sent (either work object ID value or global ID value)channelIds
- the channels to be usedcomment
- the distribution commentpublic void sendAppById(String appModelId, List<String> channelIds, String comment)
DistributionManager
Sends an app to the given distribution channels.
sendAppById
in interface DistributionManager
appModelId
- the ID of the app to be sentchannelIds
- the channels to be usedcomment
- the distribution commentCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.