BaseAgentPrinter.java 2.2 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.AbstractAgentPrinter;
import java.io.PrintWriter;
import org.apache.sling.api.resource.ValueMap;

class BaseAgentPrinter
extends AbstractAgentPrinter {
    BaseAgentPrinter() {
    }

    @Override
    public void print(String id, ValueMap valueMap, PrintWriter target) {
        super.print(id, valueMap, target);
        target.println();
        target.println("== Transport ==");
        this.replicatingTarget(valueMap, target);
        this.printStringProperty(valueMap, "transportNTLMDomain", "NTLM Domain", target);
        this.printStringProperty(valueMap, "transportNTLMHost", "NTLM Host", target);
        this.printFlag(valueMap, "protocolHTTPSRelaxed", "Enable to accept self-certified SSL certificates.", target);
        this.printFlag(valueMap, "protocolHTTPExpired", "Enable to accept expired SSL certificates.", target);
        target.println();
        target.println("== Proxy ==");
        this.printStringProperty(valueMap, "proxyHost", "Host", target);
        this.printStringProperty(valueMap, "proxyPort", "Port", target);
        this.printStringProperty(valueMap, "proxyUser", "User", target);
        this.printStringProperty(valueMap, "proxyNTLMDomain", "NTLM Domain ", target);
        this.printStringProperty(valueMap, "proxyNTLMHost", "NTLM Host", target);
        target.println();
        target.println("== Extended ==");
        this.printStringProperty(valueMap, "protocolInterface", "Interface", target);
        this.printStringProperty(valueMap, "protocolHTTPMethod", "Method", target);
        this.printStringProperty(valueMap, "protocolHTTPHeaders", "Headers", target);
        this.printFlag(valueMap, "protocolHTTPConnectionClose", "Enable to close connection after each request", target);
        this.printStringProperty(valueMap, "protocolConnectTimeout", "Connect Timeout", target);
        this.printStringProperty(valueMap, "protocolSocketTimeout", "Socket Timeout", target);
        this.printStringProperty(valueMap, "protocolVersion", "Protocol Version", target);
    }
}