Package com.sodius.oslc.server.model
Class JobConfig
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
com.sodius.oslc.server.model.JobConfig
- All Implemented Interfaces:
IExtendedResource,IResource
@OslcNamespace("http://www.sodius.com/ns/jobs#")
@OslcResourceShape(title="Job Config Resource Shape",
describes="http://www.sodius.com/ns/jobs#JobConfig")
public class JobConfig
extends AbstractResource
The configuration of a job, detailing the schedule and providing feedback to the administrator.
- Since:
- 3.11.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTitle()voidsetDescription(String description) voidsetFeedback(Feedback feedback) voidsetIdentifier(String identifier) voidsetReadOnly(Boolean readOnly) voidsetSchedule(JobScheduleConfig schedule) voidMethods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
JobConfig
public JobConfig()
-
-
Method Details
-
getIdentifier
@OslcDescription("A unique identifier for a resource. Assigned by the service provider when a resource is created. Not intended for end-user display.") @OslcOccurs(ExactlyOne) @OslcPropertyDefinition("http://purl.org/dc/terms/identifier") @OslcTitle("Identifier") public String getIdentifier() -
setIdentifier
-
getTitle
@OslcDescription("Title (reference: Dublin Core) or often a single line summary of the resource represented as rich text in XHTML content.") @OslcOccurs(ExactlyOne) @OslcPropertyDefinition("http://purl.org/dc/terms/title") @OslcTitle("Title") @OslcValueType(XMLLiteral) public String getTitle() -
setTitle
-
getDescription
@OslcDescription("Descriptive text (reference: Dublin Core) about resource represented as rich text in XHTML content.") @OslcPropertyDefinition("http://purl.org/dc/terms/description") @OslcTitle("Description") @OslcValueType(XMLLiteral) @OslcOccurs(ExactlyOne) public String getDescription() -
setDescription
-
getFeedback
@OslcPropertyDefinition("http://www.sodius.com/ns/feedback#feedback") @OslcValueType(LocalResource) @OslcOccurs(ZeroOrOne) public Feedback getFeedback() -
setFeedback
-
getSchedule
@OslcPropertyDefinition("http://www.sodius.com/ns/jobs#schedule") @OslcOccurs(ExactlyOne) @OslcValueType(LocalResource) @OslcRepresentation(Inline) public JobScheduleConfig getSchedule() -
setSchedule
-
getReadOnly
-
setReadOnly
-