public class UploadLicenseFileBytes
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
boolean |
backupCurrentLicenseFile |
java.lang.String |
base64EncodedBytes |
static boolean |
DEFAULT_BACKUP_CURRENT_LICENSE_FILE |
Constructor and Description |
---|
UploadLicenseFileBytes() |
UploadLicenseFileBytes(UploadLicenseFileBytes o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this UploadLicenseFileBytes.
|
static UploadLicenseFileBytes |
fromString(java.lang.String s)
String representation of this UploadLicenseFileBytes.
|
java.lang.String |
getBase64EncodedBytes() |
boolean |
isBackupCurrentLicenseFile()
If enabled, the current license file will be renamed to filename.
|
UploadLicenseFileBytes |
makeCopy()
Creates and returns a deep copy of this UploadLicenseFileBytes.
|
static UploadLicenseFileBytes |
readFrom(java.io.InputStream is)
Read this UploadLicenseFileBytes from an XML fragment.
|
void |
setBackupCurrentLicenseFile(boolean backupCurrentLicenseFile)
If enabled, the current license file will be renamed to filename.
|
void |
setBase64EncodedBytes(java.lang.String base64EncodedBytes) |
java.lang.String |
toString()
String representation of this UploadLicenseFileBytes.
|
UploadLicenseFileBytes |
withBackupCurrentLicenseFile(boolean backupCurrentLicenseFile) |
UploadLicenseFileBytes |
withBackupCurrentLicenseFile(java.lang.Boolean backupCurrentLicenseFile) |
UploadLicenseFileBytes |
withBase64EncodedBytes(java.lang.String base64EncodedBytes) |
void |
writeTo(java.io.OutputStream os)
Write this UploadLicenseFileBytes as an XML fragment
|
public java.lang.String base64EncodedBytes
public boolean backupCurrentLicenseFile
public static final boolean DEFAULT_BACKUP_CURRENT_LICENSE_FILE
public UploadLicenseFileBytes()
public UploadLicenseFileBytes(UploadLicenseFileBytes o)
public void setBase64EncodedBytes(java.lang.String base64EncodedBytes)
public java.lang.String getBase64EncodedBytes()
public UploadLicenseFileBytes withBase64EncodedBytes(java.lang.String base64EncodedBytes)
public void setBackupCurrentLicenseFile(boolean backupCurrentLicenseFile)
public boolean isBackupCurrentLicenseFile()
public UploadLicenseFileBytes withBackupCurrentLicenseFile(boolean backupCurrentLicenseFile)
public UploadLicenseFileBytes withBackupCurrentLicenseFile(java.lang.Boolean backupCurrentLicenseFile)
public UploadLicenseFileBytes makeCopy()
public static UploadLicenseFileBytes readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static UploadLicenseFileBytes fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.