All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.marklogic.appdeployer.command.cpf.DeployDefaultPipelinesCommand Maven / Gradle / Ivy

Go to download

Java client for the MarkLogic REST Management API and for deploying applications to MarkLogic

There is a newer version: 5.0.0
Show newest version
package com.marklogic.appdeployer.command.cpf;

import com.marklogic.appdeployer.command.AbstractCommand;
import com.marklogic.appdeployer.command.CommandContext;
import com.marklogic.appdeployer.command.SortOrderConstants;
import com.marklogic.mgmt.resource.cpf.PipelineManager;

public class DeployDefaultPipelinesCommand extends AbstractCommand {

	public DeployDefaultPipelinesCommand() {
		setExecuteSortOrder(SortOrderConstants.DEPLOY_DEFAULT_PIPELINES);
	}

	@Override
	public void execute(CommandContext context) {
		new PipelineManager(context.getManageClient(), context.getAppConfig().getCpfDatabaseName())
			.loadDefaultPipelines();
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy