Package org.apache.sling.replication.serialization.impl

Examples of org.apache.sling.replication.serialization.impl.SimpleReplicationPackageInfo


    protected static final String ACTION = "replication.package.action";

    protected static final String ORIGIN = "replication.package.origin";

    public static ReplicationQueueItem getPackage(final Job job) {
        ReplicationPackageInfo packageInfo = new SimpleReplicationPackageInfo();
        packageInfo.setOrigin((String) job.getProperty(ORIGIN));

        return new ReplicationQueueItem((String) job.getProperty(ID),
                (String[]) job.getProperty(PATHS),
                String.valueOf(job.getProperty(ACTION)),
                String.valueOf(job.getProperty(TYPE)), packageInfo);
View Full Code Here

TOP

Related Classes of org.apache.sling.replication.serialization.impl.SimpleReplicationPackageInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.