public class FixedTimeScheduling extends Scheduling implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
cronExpression |
static int |
DEFAULT_WORKER_THREADS |
int |
workerThreads |
Constructor and Description |
---|
FixedTimeScheduling() |
FixedTimeScheduling(FixedTimeScheduling o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this FixedTimeScheduling.
|
static FixedTimeScheduling |
fromString(java.lang.String s)
String representation of this FixedTimeScheduling.
|
java.lang.String |
getCronExpression() |
int |
getWorkerThreads() |
FixedTimeScheduling |
makeCopy()
Creates and returns a deep copy of this FixedTimeScheduling.
|
static FixedTimeScheduling |
readFrom(java.io.InputStream is)
Read this FixedTimeScheduling from an XML fragment.
|
void |
setCronExpression(java.lang.String cronExpression) |
void |
setWorkerThreads(int workerThreads) |
java.lang.String |
toString()
String representation of this FixedTimeScheduling.
|
FixedTimeScheduling |
withCronExpression(java.lang.String cronExpression) |
FixedTimeScheduling |
withWorkerThreads(int workerThreads) |
FixedTimeScheduling |
withWorkerThreads(java.lang.Integer workerThreads) |
void |
writeTo(java.io.OutputStream os)
Write this FixedTimeScheduling as an XML fragment
|
public java.lang.String cronExpression
public int workerThreads
public static final int DEFAULT_WORKER_THREADS
public FixedTimeScheduling()
public FixedTimeScheduling(FixedTimeScheduling o)
public void setCronExpression(java.lang.String cronExpression)
public java.lang.String getCronExpression()
public FixedTimeScheduling withCronExpression(java.lang.String cronExpression)
public void setWorkerThreads(int workerThreads)
public int getWorkerThreads()
public FixedTimeScheduling withWorkerThreads(int workerThreads)
public FixedTimeScheduling withWorkerThreads(java.lang.Integer workerThreads)
public FixedTimeScheduling makeCopy()
makeCopy
in class Scheduling
public static FixedTimeScheduling 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
writeTo
in class Scheduling
javax.xml.bind.JAXBException
java.io.IOException
public static FixedTimeScheduling 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 Scheduling
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class Scheduling
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.