
org.kuali.common.deploy.DeployExecutable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kuali-deploy Show documentation
Show all versions of kuali-deploy Show documentation
Project containing deployment logic for Kuali applications
The newest version!
package org.kuali.common.deploy;
import org.kuali.common.util.Assert;
import org.kuali.common.util.execute.Executable;
public class DeployExecutable implements Executable {
private final boolean skip;
public DeployExecutable(DeployService service) {
this(service, false);
}
public DeployExecutable(DeployService service, boolean skip) {
Assert.noNulls(service);
this.service = service;
this.skip = skip;
}
private final DeployService service;
@Override
public void execute() {
if (skip) {
return;
}
service.deploy();
}
public DeployService getService() {
return service;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy