public class Priority extends Action implements com.exalead.util.Checkable, java.io.Serializable, Cloneable
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_SHIFT |
int |
shift |
Constructor and Description |
---|
Priority() |
Priority(Priority o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this Priority.
|
Priority |
clone()
Creates and returns a deep copy of this Priority.
|
static Priority |
fromString(java.lang.String s)
String representation of this Priority.
|
int |
getShift()
set a negative number to crawl faster, positive to crawl slower.
|
Priority |
makeCopy()
Creates and returns a deep copy of this Priority.
|
static Priority |
readFrom(java.io.InputStream is)
Read this Priority from an XML fragment.
|
void |
setShift(int shift)
set a negative number to crawl faster, positive to crawl slower.
|
java.lang.String |
toString()
String representation of this Priority.
|
Priority |
withShift(int shift) |
Priority |
withShift(java.lang.Integer shift) |
void |
writeTo(java.io.OutputStream os)
Write this Priority as an XML fragment
|
public int shift
public static final int DEFAULT_SHIFT
public Priority()
public Priority(Priority o)
public void setShift(int shift)
public int getShift()
public Priority withShift(int shift)
public Priority withShift(java.lang.Integer shift)
public Priority clone()
public Priority makeCopy()
public static Priority 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
public static Priority 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()
Copyright © 2021 Dassault Systèmes, All Rights Reserved.