public class UploadLocalLicenseFile
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
boolean |
backupCurrentLicenseFile |
static boolean |
DEFAULT_BACKUP_CURRENT_LICENSE_FILE |
java.lang.String |
path |
Constructor and Description |
---|
UploadLocalLicenseFile() |
UploadLocalLicenseFile(UploadLocalLicenseFile o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this UploadLocalLicenseFile.
|
static UploadLocalLicenseFile |
fromString(java.lang.String s)
String representation of this UploadLocalLicenseFile.
|
java.lang.String |
getPath() |
boolean |
isBackupCurrentLicenseFile()
If enabled, the current license file will be renamed to filename.
|
UploadLocalLicenseFile |
makeCopy()
Creates and returns a deep copy of this UploadLocalLicenseFile.
|
static UploadLocalLicenseFile |
readFrom(java.io.InputStream is)
Read this UploadLocalLicenseFile from an XML fragment.
|
void |
setBackupCurrentLicenseFile(boolean backupCurrentLicenseFile)
If enabled, the current license file will be renamed to filename.
|
void |
setPath(java.lang.String path) |
java.lang.String |
toString()
String representation of this UploadLocalLicenseFile.
|
UploadLocalLicenseFile |
withBackupCurrentLicenseFile(boolean backupCurrentLicenseFile) |
UploadLocalLicenseFile |
withBackupCurrentLicenseFile(java.lang.Boolean backupCurrentLicenseFile) |
UploadLocalLicenseFile |
withPath(java.lang.String path) |
void |
writeTo(java.io.OutputStream os)
Write this UploadLocalLicenseFile as an XML fragment
|
public java.lang.String path
public boolean backupCurrentLicenseFile
public static final boolean DEFAULT_BACKUP_CURRENT_LICENSE_FILE
public UploadLocalLicenseFile()
public UploadLocalLicenseFile(UploadLocalLicenseFile o)
public void setPath(java.lang.String path)
public java.lang.String getPath()
public UploadLocalLicenseFile withPath(java.lang.String path)
public void setBackupCurrentLicenseFile(boolean backupCurrentLicenseFile)
public boolean isBackupCurrentLicenseFile()
public UploadLocalLicenseFile withBackupCurrentLicenseFile(boolean backupCurrentLicenseFile)
public UploadLocalLicenseFile withBackupCurrentLicenseFile(java.lang.Boolean backupCurrentLicenseFile)
public UploadLocalLicenseFile makeCopy()
public static UploadLocalLicenseFile 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 UploadLocalLicenseFile 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.