public class PublicationStatusUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static Map<String,ReplicationQueue.Entry> |
buildPendingReplicationMap(AgentManager agentManager)
Creates a pending replication map for existing replication agents
|
static List<String> |
getPendingStatus(Map<String,ReplicationQueue.Entry> replicationEntries,
String path,
I18n i18n)
Returns the status of pending publications.
|
static List<String> |
getScheduledStatus(List<Workflow> scheduledWorkflows,
I18n i18n,
Locale locale,
ResourceResolver resourceResolver)
Returns the status of the scheduled publications.
|
static List<Workflow> |
getScheduledWorkflows(WorkflowStatus workflowStatus)
Returns the scheduled publication workflows.
|
public static List<String> getScheduledStatus(List<Workflow> scheduledWorkflows, I18n i18n, Locale locale, ResourceResolver resourceResolver)
<br> for line breaks in HTML.scheduledWorkflows - i18n - locale - resourceResolver - public static List<String> getPendingStatus(Map<String,ReplicationQueue.Entry> replicationEntries, String path, I18n i18n)
<br> for line breaks in HTML.replicationEntries - path - i18n - public static List<Workflow> getScheduledWorkflows(WorkflowStatus workflowStatus)
workflowStatus - public static Map<String,ReplicationQueue.Entry> buildPendingReplicationMap(AgentManager agentManager)
agentManager - The replication agent manager"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"