Package com.sodius.oslc.server.model
Class JobScheduleConfig
- java.lang.Object
-
- org.eclipse.lyo.oslc4j.core.model.AbstractResource
-
- com.sodius.oslc.server.model.JobScheduleConfig
-
- All Implemented Interfaces:
IExtendedResource
,IResource
@OslcNamespace("http://www.sodius.com/ns/jobs#") @OslcResourceShape(title="Job Schedule Config Resource Shape", describes="http://www.sodius.com/ns/jobs#JobScheduleConfig") public class JobScheduleConfig extends AbstractResource
The configuration of a job schedule.- Since:
- 3.11.0
-
-
Constructor Summary
Constructors Constructor Description JobScheduleConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getDelay()
String
getDelayUnit()
Integer
getHour()
Integer
getMinute()
String
getScheduleType()
String
getTimeZone()
void
setDelay(Long delay)
void
setDelayUnit(String delayUnit)
void
setHour(Integer hour)
void
setMinute(Integer minute)
void
setScheduleType(String scheduleType)
void
setTimeZone(String timeZone)
-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Method Detail
-
getScheduleType
@OslcPropertyDefinition("http://www.sodius.com/ns/jobs#scheduleType") @OslcOccurs(ExactlyOne) public String getScheduleType()
-
setScheduleType
public void setScheduleType(String scheduleType)
-
getHour
@OslcPropertyDefinition("http://www.sodius.com/ns/jobs#hour") @OslcOccurs(ZeroOrOne) public Integer getHour()
-
setHour
public void setHour(Integer hour)
-
getMinute
@OslcPropertyDefinition("http://www.sodius.com/ns/jobs#minute") @OslcOccurs(ZeroOrOne) public Integer getMinute()
-
setMinute
public void setMinute(Integer minute)
-
getTimeZone
@OslcReadOnly(true) @OslcDescription("The server time zone") @OslcValueType(String) @OslcPropertyDefinition("http://www.sodius.com/ns/jobs#timeZone") @OslcOccurs(ExactlyOne) public String getTimeZone()
-
setTimeZone
public void setTimeZone(String timeZone)
-
getDelay
@OslcPropertyDefinition("http://www.sodius.com/ns/jobs#delay") @OslcOccurs(ZeroOrOne) public Long getDelay()
-
setDelay
public void setDelay(Long delay)
-
getDelayUnit
@OslcPropertyDefinition("http://www.sodius.com/ns/jobs#delayUnit") @OslcOccurs(ZeroOrOne) public String getDelayUnit()
-
setDelayUnit
public void setDelayUnit(String delayUnit)
-
-