@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()
DistributionManagerReturns a description of the available app distribution channels.
getAvailableChannelInfo in interface DistributionManagerpublic void sendApp(String appAmbiguousId, List<String> channelIds, String comment)
DistributionManagerSends an app to the given distribution channels.
sendApp in interface DistributionManagerappAmbiguousId - 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)
DistributionManagerSends an app to the given distribution channels.
sendAppById in interface DistributionManagerappModelId - the ID of the app to be sentchannelIds - the channels to be usedcomment - the distribution commentCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.