
com.marklogic.appdeployer.command.cpf.DeployDefaultPipelinesCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ml-app-deployer Show documentation
Show all versions of ml-app-deployer Show documentation
Java client for the MarkLogic REST Management API and for deploying applications to MarkLogic
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