public class UrlStatus extends java.lang.Object implements com.exalead.util.Checkable, java.io.Serializable, Cloneable
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_FOLLOWED |
static boolean |
DEFAULT_INDEXED |
boolean |
followed |
boolean |
indexed |
java.lang.String |
url |
Constructor and Description |
---|
UrlStatus() |
UrlStatus(UrlStatus o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this UrlStatus.
|
UrlStatus |
clone()
Creates and returns a deep copy of this UrlStatus.
|
static UrlStatus |
fromString(java.lang.String s)
String representation of this UrlStatus.
|
java.lang.String |
getUrl() |
boolean |
isFollowed() |
boolean |
isIndexed() |
UrlStatus |
makeCopy()
Creates and returns a deep copy of this UrlStatus.
|
static UrlStatus |
readFrom(java.io.InputStream is)
Read this UrlStatus from an XML fragment.
|
void |
setFollowed(boolean followed) |
void |
setIndexed(boolean indexed) |
void |
setUrl(java.lang.String url) |
java.lang.String |
toString()
String representation of this UrlStatus.
|
UrlStatus |
withFollowed(boolean followed) |
UrlStatus |
withFollowed(java.lang.Boolean followed) |
UrlStatus |
withIndexed(boolean indexed) |
UrlStatus |
withIndexed(java.lang.Boolean indexed) |
UrlStatus |
withUrl(java.lang.String url) |
void |
writeTo(java.io.OutputStream os)
Write this UrlStatus as an XML fragment
|
public java.lang.String url
public boolean indexed
public static final boolean DEFAULT_INDEXED
public boolean followed
public static final boolean DEFAULT_FOLLOWED
public UrlStatus()
public UrlStatus(UrlStatus o)
public void setUrl(java.lang.String url)
public java.lang.String getUrl()
public UrlStatus withUrl(java.lang.String url)
public void setIndexed(boolean indexed)
public boolean isIndexed()
public UrlStatus withIndexed(boolean indexed)
public UrlStatus withIndexed(java.lang.Boolean indexed)
public void setFollowed(boolean followed)
public boolean isFollowed()
public UrlStatus withFollowed(boolean followed)
public UrlStatus withFollowed(java.lang.Boolean followed)
public UrlStatus clone()
clone
in class java.lang.Object
public UrlStatus makeCopy()
public static UrlStatus 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 UrlStatus 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.