TriggeredAgentPrinter.java 1.38 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  org.apache.sling.api.resource.ValueMap
 */
package com.day.cq.replication.impl.inventory;

import com.day.cq.replication.impl.inventory.BaseAgentPrinter;
import java.io.PrintWriter;
import org.apache.sling.api.resource.ValueMap;

final class TriggeredAgentPrinter
extends BaseAgentPrinter {
    TriggeredAgentPrinter() {
    }

    @Override
    public void print(String id, ValueMap valueMap, PrintWriter target) {
        super.print(id, valueMap, target);
        target.println();
        target.println("== Triggers ==");
        this.printFlag(valueMap, "noStatusUpdate", "Agent does not force a replication status update.", target);
        this.printFlag(valueMap, "noVersioning", "Agent does not force versioning of activated pages.", target);
        this.printFlag(valueMap, "triggerDistribute", "Agent is triggered when content marked for distribution is modified.", target);
        this.printFlag(valueMap, "triggerModified", "Agent is triggered on modification.", target);
        this.printFlag(valueMap, "triggerOnOffTime", "Agent is triggered when on-/offtime reached.", target);
        this.printFlag(valueMap, "triggerReceive", "Agent is triggered when receiving replication events.", target);
        this.printFlag(valueMap, "triggerSpecific", "Agent is ignored on normal replication.", target);
    }
}