com.axway.apim.apiimport.lib.params.APIImportParams Maven / Gradle / Ivy
package com.axway.apim.apiimport.lib.params;
import com.axway.apim.lib.CoreParameters;
import com.axway.apim.lib.Parameters;
import com.axway.apim.lib.StandardImportParams;
public class APIImportParams extends StandardImportParams implements Parameters {
private boolean forceUpdate;
private boolean useFEAPIDefinition;
private boolean validateRemoteHost;
private boolean updateOnly = false;
private boolean changeOrganization = false;
private String apiDefinition;
public static synchronized APIImportParams getInstance() {
return (APIImportParams) CoreParameters.getInstance();
}
public boolean isUseFEAPIDefinition() {
return useFEAPIDefinition;
}
public void setUseFEAPIDefinition(boolean useFEAPIDefinition) {
this.useFEAPIDefinition = useFEAPIDefinition;
}
public boolean isForceUpdate() {
return forceUpdate;
}
public void setForceUpdate(boolean forceUpdate) {
this.forceUpdate = forceUpdate;
}
public boolean isValidateRemoteHost() {
return validateRemoteHost;
}
public void setValidateRemoteHost(boolean validateRemoteHost) {
this.validateRemoteHost = validateRemoteHost;
}
public String getApiDefinition() {
return apiDefinition;
}
public void setApiDefinition(String apiDefinition) {
this.apiDefinition = apiDefinition;
}
public Boolean isUpdateOnly() {
return updateOnly;
}
public void setUpdateOnly(boolean updateOnly) {
this.updateOnly = updateOnly;
}
public boolean isChangeOrganization() {
return changeOrganization;
}
public void setChangeOrganization(boolean changeOrganization) {
this.changeOrganization = changeOrganization;
}
}