public class TransformationStatus
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ENABLED |
static boolean |
DEFAULT_PROCESSING |
long |
durationInMS |
boolean |
enabled |
long |
memoryUsageInBytes |
boolean |
processing |
long |
transformedDocumentCount |
Constructor and Description |
---|
TransformationStatus() |
TransformationStatus(TransformationStatus o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this TransformationStatus.
|
static TransformationStatus |
fromString(java.lang.String s)
String representation of this TransformationStatus.
|
long |
getDurationInMS() |
long |
getMemoryUsageInBytes() |
long |
getTransformedDocumentCount() |
boolean |
isEnabled() |
boolean |
isProcessing() |
TransformationStatus |
makeCopy()
Creates and returns a deep copy of this TransformationStatus.
|
static TransformationStatus |
readFrom(java.io.InputStream is)
Read this TransformationStatus from an XML fragment.
|
void |
setDurationInMS(long durationInMS) |
void |
setEnabled(boolean enabled) |
void |
setMemoryUsageInBytes(long memoryUsageInBytes) |
void |
setProcessing(boolean processing) |
void |
setTransformedDocumentCount(long transformedDocumentCount) |
java.lang.String |
toString()
String representation of this TransformationStatus.
|
TransformationStatus |
withDurationInMS(long durationInMS) |
TransformationStatus |
withDurationInMS(java.lang.Long durationInMS) |
TransformationStatus |
withEnabled(boolean enabled) |
TransformationStatus |
withEnabled(java.lang.Boolean enabled) |
TransformationStatus |
withMemoryUsageInBytes(long memoryUsageInBytes) |
TransformationStatus |
withMemoryUsageInBytes(java.lang.Long memoryUsageInBytes) |
TransformationStatus |
withProcessing(boolean processing) |
TransformationStatus |
withProcessing(java.lang.Boolean processing) |
TransformationStatus |
withTransformedDocumentCount(long transformedDocumentCount) |
TransformationStatus |
withTransformedDocumentCount(java.lang.Long transformedDocumentCount) |
void |
writeTo(java.io.OutputStream os)
Write this TransformationStatus as an XML fragment
|
public boolean enabled
public static final boolean DEFAULT_ENABLED
public boolean processing
public static final boolean DEFAULT_PROCESSING
public long durationInMS
public long transformedDocumentCount
public long memoryUsageInBytes
public TransformationStatus()
public TransformationStatus(TransformationStatus o)
public void setEnabled(boolean enabled)
public boolean isEnabled()
public TransformationStatus withEnabled(boolean enabled)
public TransformationStatus withEnabled(java.lang.Boolean enabled)
public void setProcessing(boolean processing)
public boolean isProcessing()
public TransformationStatus withProcessing(boolean processing)
public TransformationStatus withProcessing(java.lang.Boolean processing)
public void setDurationInMS(long durationInMS)
public long getDurationInMS()
public TransformationStatus withDurationInMS(long durationInMS)
public TransformationStatus withDurationInMS(java.lang.Long durationInMS)
public void setTransformedDocumentCount(long transformedDocumentCount)
public long getTransformedDocumentCount()
public TransformationStatus withTransformedDocumentCount(long transformedDocumentCount)
public TransformationStatus withTransformedDocumentCount(java.lang.Long transformedDocumentCount)
public void setMemoryUsageInBytes(long memoryUsageInBytes)
public long getMemoryUsageInBytes()
public TransformationStatus withMemoryUsageInBytes(long memoryUsageInBytes)
public TransformationStatus withMemoryUsageInBytes(java.lang.Long memoryUsageInBytes)
public TransformationStatus makeCopy()
public static TransformationStatus 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 TransformationStatus 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.