com.sforce.soap.metadata.DeployOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of force-metadata-api Show documentation
Show all versions of force-metadata-api Show documentation
Force.com Web Service Connector
package com.sforce.soap.metadata;
/**
* This is a generated class for the SObject Enterprise API.
* Do not edit this file, as your changes will be lost.
*/
public class DeployOptions implements com.sforce.ws.bind.XMLizable {
/**
* Constructor
*/
public DeployOptions() {}
/* Cache the typeInfo instead of declaring static fields throughout*/
private transient java.util.Map typeInfoCache = new java.util.HashMap();
private com.sforce.ws.bind.TypeInfo _lookupTypeInfo(String fieldName, String namespace, String name, String typeNS, String type, int minOcc, int maxOcc, boolean elementForm) {
com.sforce.ws.bind.TypeInfo typeInfo = typeInfoCache.get(fieldName);
if (typeInfo == null) {
typeInfo = new com.sforce.ws.bind.TypeInfo(namespace, name, typeNS, type, minOcc, maxOcc, elementForm);
typeInfoCache.put(fieldName, typeInfo);
}
return typeInfo;
}
/**
* element : allowMissingFiles of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean allowMissingFiles__is_set = false;
private boolean allowMissingFiles;
public boolean getAllowMissingFiles() {
return allowMissingFiles;
}
public boolean isAllowMissingFiles() {
return allowMissingFiles;
}
public void setAllowMissingFiles(boolean allowMissingFiles) {
this.allowMissingFiles = allowMissingFiles;
allowMissingFiles__is_set = true;
}
protected void setAllowMissingFiles(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.verifyElement(__in, _lookupTypeInfo("allowMissingFiles", "http://soap.sforce.com/2006/04/metadata","allowMissingFiles","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
setAllowMissingFiles(__typeMapper.readBoolean(__in, _lookupTypeInfo("allowMissingFiles", "http://soap.sforce.com/2006/04/metadata","allowMissingFiles","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
}
}
private void writeFieldAllowMissingFiles(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("allowMissingFiles", "http://soap.sforce.com/2006/04/metadata","allowMissingFiles","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), allowMissingFiles, allowMissingFiles__is_set);
}
/**
* element : autoUpdatePackage of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean autoUpdatePackage__is_set = false;
private boolean autoUpdatePackage;
public boolean getAutoUpdatePackage() {
return autoUpdatePackage;
}
public boolean isAutoUpdatePackage() {
return autoUpdatePackage;
}
public void setAutoUpdatePackage(boolean autoUpdatePackage) {
this.autoUpdatePackage = autoUpdatePackage;
autoUpdatePackage__is_set = true;
}
protected void setAutoUpdatePackage(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.verifyElement(__in, _lookupTypeInfo("autoUpdatePackage", "http://soap.sforce.com/2006/04/metadata","autoUpdatePackage","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
setAutoUpdatePackage(__typeMapper.readBoolean(__in, _lookupTypeInfo("autoUpdatePackage", "http://soap.sforce.com/2006/04/metadata","autoUpdatePackage","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
}
}
private void writeFieldAutoUpdatePackage(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("autoUpdatePackage", "http://soap.sforce.com/2006/04/metadata","autoUpdatePackage","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), autoUpdatePackage, autoUpdatePackage__is_set);
}
/**
* element : checkOnly of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean checkOnly__is_set = false;
private boolean checkOnly;
public boolean getCheckOnly() {
return checkOnly;
}
public boolean isCheckOnly() {
return checkOnly;
}
public void setCheckOnly(boolean checkOnly) {
this.checkOnly = checkOnly;
checkOnly__is_set = true;
}
protected void setCheckOnly(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.verifyElement(__in, _lookupTypeInfo("checkOnly", "http://soap.sforce.com/2006/04/metadata","checkOnly","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
setCheckOnly(__typeMapper.readBoolean(__in, _lookupTypeInfo("checkOnly", "http://soap.sforce.com/2006/04/metadata","checkOnly","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
}
}
private void writeFieldCheckOnly(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("checkOnly", "http://soap.sforce.com/2006/04/metadata","checkOnly","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), checkOnly, checkOnly__is_set);
}
/**
* element : ignoreWarnings of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean ignoreWarnings__is_set = false;
private boolean ignoreWarnings;
public boolean getIgnoreWarnings() {
return ignoreWarnings;
}
public boolean isIgnoreWarnings() {
return ignoreWarnings;
}
public void setIgnoreWarnings(boolean ignoreWarnings) {
this.ignoreWarnings = ignoreWarnings;
ignoreWarnings__is_set = true;
}
protected void setIgnoreWarnings(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.verifyElement(__in, _lookupTypeInfo("ignoreWarnings", "http://soap.sforce.com/2006/04/metadata","ignoreWarnings","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
setIgnoreWarnings(__typeMapper.readBoolean(__in, _lookupTypeInfo("ignoreWarnings", "http://soap.sforce.com/2006/04/metadata","ignoreWarnings","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
}
}
private void writeFieldIgnoreWarnings(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("ignoreWarnings", "http://soap.sforce.com/2006/04/metadata","ignoreWarnings","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), ignoreWarnings, ignoreWarnings__is_set);
}
/**
* element : performRetrieve of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean performRetrieve__is_set = false;
private boolean performRetrieve;
public boolean getPerformRetrieve() {
return performRetrieve;
}
public boolean isPerformRetrieve() {
return performRetrieve;
}
public void setPerformRetrieve(boolean performRetrieve) {
this.performRetrieve = performRetrieve;
performRetrieve__is_set = true;
}
protected void setPerformRetrieve(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.verifyElement(__in, _lookupTypeInfo("performRetrieve", "http://soap.sforce.com/2006/04/metadata","performRetrieve","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
setPerformRetrieve(__typeMapper.readBoolean(__in, _lookupTypeInfo("performRetrieve", "http://soap.sforce.com/2006/04/metadata","performRetrieve","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
}
}
private void writeFieldPerformRetrieve(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("performRetrieve", "http://soap.sforce.com/2006/04/metadata","performRetrieve","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), performRetrieve, performRetrieve__is_set);
}
/**
* element : purgeOnDelete of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean purgeOnDelete__is_set = false;
private boolean purgeOnDelete;
public boolean getPurgeOnDelete() {
return purgeOnDelete;
}
public boolean isPurgeOnDelete() {
return purgeOnDelete;
}
public void setPurgeOnDelete(boolean purgeOnDelete) {
this.purgeOnDelete = purgeOnDelete;
purgeOnDelete__is_set = true;
}
protected void setPurgeOnDelete(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.verifyElement(__in, _lookupTypeInfo("purgeOnDelete", "http://soap.sforce.com/2006/04/metadata","purgeOnDelete","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
setPurgeOnDelete(__typeMapper.readBoolean(__in, _lookupTypeInfo("purgeOnDelete", "http://soap.sforce.com/2006/04/metadata","purgeOnDelete","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
}
}
private void writeFieldPurgeOnDelete(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("purgeOnDelete", "http://soap.sforce.com/2006/04/metadata","purgeOnDelete","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), purgeOnDelete, purgeOnDelete__is_set);
}
/**
* element : rollbackOnError of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean rollbackOnError__is_set = false;
private boolean rollbackOnError;
public boolean getRollbackOnError() {
return rollbackOnError;
}
public boolean isRollbackOnError() {
return rollbackOnError;
}
public void setRollbackOnError(boolean rollbackOnError) {
this.rollbackOnError = rollbackOnError;
rollbackOnError__is_set = true;
}
protected void setRollbackOnError(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.verifyElement(__in, _lookupTypeInfo("rollbackOnError", "http://soap.sforce.com/2006/04/metadata","rollbackOnError","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
setRollbackOnError(__typeMapper.readBoolean(__in, _lookupTypeInfo("rollbackOnError", "http://soap.sforce.com/2006/04/metadata","rollbackOnError","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
}
}
private void writeFieldRollbackOnError(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("rollbackOnError", "http://soap.sforce.com/2006/04/metadata","rollbackOnError","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), rollbackOnError, rollbackOnError__is_set);
}
/**
* element : runTests of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String[]
*/
private boolean runTests__is_set = false;
private java.lang.String[] runTests = new java.lang.String[0];
public java.lang.String[] getRunTests() {
return runTests;
}
public void setRunTests(java.lang.String[] runTests) {
this.runTests = runTests;
runTests__is_set = true;
}
protected void setRunTests(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.isElement(__in, _lookupTypeInfo("runTests", "http://soap.sforce.com/2006/04/metadata","runTests","http://www.w3.org/2001/XMLSchema","string",0,-1,true))) {
setRunTests((java.lang.String[])__typeMapper.readObject(__in, _lookupTypeInfo("runTests", "http://soap.sforce.com/2006/04/metadata","runTests","http://www.w3.org/2001/XMLSchema","string",0,-1,true), java.lang.String[].class));
}
}
private void writeFieldRunTests(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("runTests", "http://soap.sforce.com/2006/04/metadata","runTests","http://www.w3.org/2001/XMLSchema","string",0,-1,true), runTests, runTests__is_set);
}
/**
* element : singlePackage of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean singlePackage__is_set = false;
private boolean singlePackage;
public boolean getSinglePackage() {
return singlePackage;
}
public boolean isSinglePackage() {
return singlePackage;
}
public void setSinglePackage(boolean singlePackage) {
this.singlePackage = singlePackage;
singlePackage__is_set = true;
}
protected void setSinglePackage(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.verifyElement(__in, _lookupTypeInfo("singlePackage", "http://soap.sforce.com/2006/04/metadata","singlePackage","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
setSinglePackage(__typeMapper.readBoolean(__in, _lookupTypeInfo("singlePackage", "http://soap.sforce.com/2006/04/metadata","singlePackage","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
}
}
private void writeFieldSinglePackage(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("singlePackage", "http://soap.sforce.com/2006/04/metadata","singlePackage","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), singlePackage, singlePackage__is_set);
}
/**
* element : testLevel of type {http://soap.sforce.com/2006/04/metadata}TestLevel
* java type: com.sforce.soap.metadata.TestLevel
*/
private boolean testLevel__is_set = false;
private com.sforce.soap.metadata.TestLevel testLevel;
public com.sforce.soap.metadata.TestLevel getTestLevel() {
return testLevel;
}
public void setTestLevel(com.sforce.soap.metadata.TestLevel testLevel) {
this.testLevel = testLevel;
testLevel__is_set = true;
}
protected void setTestLevel(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.verifyElement(__in, _lookupTypeInfo("testLevel", "http://soap.sforce.com/2006/04/metadata","testLevel","http://soap.sforce.com/2006/04/metadata","TestLevel",1,1,true))) {
setTestLevel((com.sforce.soap.metadata.TestLevel)__typeMapper.readObject(__in, _lookupTypeInfo("testLevel", "http://soap.sforce.com/2006/04/metadata","testLevel","http://soap.sforce.com/2006/04/metadata","TestLevel",1,1,true), com.sforce.soap.metadata.TestLevel.class));
}
}
private void writeFieldTestLevel(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("testLevel", "http://soap.sforce.com/2006/04/metadata","testLevel","http://soap.sforce.com/2006/04/metadata","TestLevel",1,1,true), testLevel, testLevel__is_set);
}
/**
*/
@Override
public void write(javax.xml.namespace.QName __element,
com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper)
throws java.io.IOException {
__out.writeStartTag(__element.getNamespaceURI(), __element.getLocalPart());
writeFields(__out, __typeMapper);
__out.writeEndTag(__element.getNamespaceURI(), __element.getLocalPart());
}
protected void writeFields(com.sforce.ws.parser.XmlOutputStream __out,
com.sforce.ws.bind.TypeMapper __typeMapper)
throws java.io.IOException {
writeFields1(__out, __typeMapper);
}
@Override
public void load(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__typeMapper.consumeStartTag(__in);
loadFields(__in, __typeMapper);
__typeMapper.consumeEndTag(__in);
}
protected void loadFields(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
loadFields1(__in, __typeMapper);
}
@Override
public String toString() {
java.lang.StringBuilder sb = new java.lang.StringBuilder();
sb.append("[DeployOptions ");
toString1(sb);
sb.append("]\n");
return sb.toString();
}
private void toStringHelper(StringBuilder sb, String name, Object value) {
sb.append(' ').append(name).append("='").append(com.sforce.ws.util.Verbose.toString(value)).append("'\n");
}
private void writeFields1(com.sforce.ws.parser.XmlOutputStream __out,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
writeFieldAllowMissingFiles(__out, __typeMapper);
writeFieldAutoUpdatePackage(__out, __typeMapper);
writeFieldCheckOnly(__out, __typeMapper);
writeFieldIgnoreWarnings(__out, __typeMapper);
writeFieldPerformRetrieve(__out, __typeMapper);
writeFieldPurgeOnDelete(__out, __typeMapper);
writeFieldRollbackOnError(__out, __typeMapper);
writeFieldRunTests(__out, __typeMapper);
writeFieldSinglePackage(__out, __typeMapper);
writeFieldTestLevel(__out, __typeMapper);
}
private void loadFields1(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
setAllowMissingFiles(__in, __typeMapper);
setAutoUpdatePackage(__in, __typeMapper);
setCheckOnly(__in, __typeMapper);
setIgnoreWarnings(__in, __typeMapper);
setPerformRetrieve(__in, __typeMapper);
setPurgeOnDelete(__in, __typeMapper);
setRollbackOnError(__in, __typeMapper);
setRunTests(__in, __typeMapper);
setSinglePackage(__in, __typeMapper);
setTestLevel(__in, __typeMapper);
}
private void toString1(StringBuilder sb) {
toStringHelper(sb, "allowMissingFiles", allowMissingFiles);
toStringHelper(sb, "autoUpdatePackage", autoUpdatePackage);
toStringHelper(sb, "checkOnly", checkOnly);
toStringHelper(sb, "ignoreWarnings", ignoreWarnings);
toStringHelper(sb, "performRetrieve", performRetrieve);
toStringHelper(sb, "purgeOnDelete", purgeOnDelete);
toStringHelper(sb, "rollbackOnError", rollbackOnError);
toStringHelper(sb, "runTests", runTests);
toStringHelper(sb, "singlePackage", singlePackage);
toStringHelper(sb, "testLevel", testLevel);
}
}