public class PushAPIStatus
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ENABLED |
boolean |
enabled |
Constructor and Description |
---|
PushAPIStatus() |
PushAPIStatus(PushAPIStatus o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this PushAPIStatus.
|
static PushAPIStatus |
fromString(java.lang.String s)
String representation of this PushAPIStatus.
|
boolean |
isEnabled() |
PushAPIStatus |
makeCopy()
Creates and returns a deep copy of this PushAPIStatus.
|
static PushAPIStatus |
readFrom(java.io.InputStream is)
Read this PushAPIStatus from an XML fragment.
|
void |
setEnabled(boolean enabled) |
java.lang.String |
toString()
String representation of this PushAPIStatus.
|
PushAPIStatus |
withEnabled(boolean enabled) |
PushAPIStatus |
withEnabled(java.lang.Boolean enabled) |
void |
writeTo(java.io.OutputStream os)
Write this PushAPIStatus as an XML fragment
|
public boolean enabled
public static final boolean DEFAULT_ENABLED
public PushAPIStatus()
public PushAPIStatus(PushAPIStatus o)
public void setEnabled(boolean enabled)
public boolean isEnabled()
public PushAPIStatus withEnabled(boolean enabled)
public PushAPIStatus withEnabled(java.lang.Boolean enabled)
public PushAPIStatus makeCopy()
public static PushAPIStatus 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 PushAPIStatus 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.