public class ApplyStatus
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
currentAction |
static boolean |
DEFAULT_RUNNING |
int |
progress |
boolean |
running |
Constructor and Description |
---|
ApplyStatus() |
ApplyStatus(ApplyStatus o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this ApplyStatus.
|
static ApplyStatus |
fromString(java.lang.String s)
String representation of this ApplyStatus.
|
java.lang.String |
getCurrentAction()
Action that the application process is currently performing.
|
int |
getProgress()
Progress percentage.
|
boolean |
isRunning()
Is configuration application running ?
|
ApplyStatus |
makeCopy()
Creates and returns a deep copy of this ApplyStatus.
|
static ApplyStatus |
readFrom(java.io.InputStream is)
Read this ApplyStatus from an XML fragment.
|
void |
setCurrentAction(java.lang.String currentAction)
Action that the application process is currently performing.
|
void |
setProgress(int progress)
Progress percentage.
|
void |
setRunning(boolean running)
Is configuration application running ?
|
java.lang.String |
toString()
String representation of this ApplyStatus.
|
ApplyStatus |
withCurrentAction(java.lang.String currentAction) |
ApplyStatus |
withProgress(int progress) |
ApplyStatus |
withProgress(java.lang.Integer progress) |
ApplyStatus |
withRunning(boolean running) |
ApplyStatus |
withRunning(java.lang.Boolean running) |
void |
writeTo(java.io.OutputStream os)
Write this ApplyStatus as an XML fragment
|
public boolean running
public static final boolean DEFAULT_RUNNING
public int progress
public java.lang.String currentAction
public ApplyStatus()
public ApplyStatus(ApplyStatus o)
public void setRunning(boolean running)
public boolean isRunning()
public ApplyStatus withRunning(boolean running)
public ApplyStatus withRunning(java.lang.Boolean running)
public void setProgress(int progress)
public int getProgress()
public ApplyStatus withProgress(int progress)
public ApplyStatus withProgress(java.lang.Integer progress)
public void setCurrentAction(java.lang.String currentAction)
public java.lang.String getCurrentAction()
public ApplyStatus withCurrentAction(java.lang.String currentAction)
public ApplyStatus makeCopy()
public static ApplyStatus 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 ApplyStatus 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.