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 -
Method Summary
Modifier and TypeMethodDescriptiongetDelay()getHour()voidvoidsetDelayUnit(String delayUnit) voidvoidvoidsetScheduleType(String scheduleType) voidsetTimeZone(String timeZone) Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
JobScheduleConfig
public JobScheduleConfig()
-
-
Method Details
-
getScheduleType
@OslcPropertyDefinition("http://www.sodius.com/ns/jobs#scheduleType") @OslcOccurs(ExactlyOne) public String getScheduleType() -
setScheduleType
-
getHour
@OslcPropertyDefinition("http://www.sodius.com/ns/jobs#hour") @OslcOccurs(ZeroOrOne) public Integer getHour() -
setHour
-
getMinute
@OslcPropertyDefinition("http://www.sodius.com/ns/jobs#minute") @OslcOccurs(ZeroOrOne) public Integer getMinute() -
setMinute
-
getTimeZone
@OslcReadOnly(true) @OslcDescription("The server time zone") @OslcValueType(String) @OslcPropertyDefinition("http://www.sodius.com/ns/jobs#timeZone") @OslcOccurs(ExactlyOne) public String getTimeZone() -
setTimeZone
-
getDelay
@OslcPropertyDefinition("http://www.sodius.com/ns/jobs#delay") @OslcOccurs(ZeroOrOne) public Long getDelay() -
setDelay
-
getDelayUnit
@OslcPropertyDefinition("http://www.sodius.com/ns/jobs#delayUnit") @OslcOccurs(ZeroOrOne) public String getDelayUnit() -
setDelayUnit
-