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 Constructor Description JobConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()FeedbackgetFeedback()StringgetIdentifier()BooleangetReadOnly()JobScheduleConfiggetSchedule()StringgetTitle()voidsetDescription(String description)voidsetFeedback(Feedback feedback)voidsetIdentifier(String identifier)voidsetReadOnly(Boolean readOnly)voidsetSchedule(JobScheduleConfig schedule)voidsetTitle(String title)-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Method Detail
-
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
public void setIdentifier(String identifier)
-
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
public void setTitle(String title)
-
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
public void setDescription(String description)
-
getFeedback
@OslcPropertyDefinition("http://www.sodius.com/ns/feedback#feedback") @OslcValueType(LocalResource) @OslcOccurs(ZeroOrOne) public Feedback getFeedback()
-
setFeedback
public void setFeedback(Feedback feedback)
-
getSchedule
@OslcPropertyDefinition("http://www.sodius.com/ns/jobs#schedule") @OslcOccurs(ExactlyOne) @OslcValueType(LocalResource) @OslcRepresentation(Inline) public JobScheduleConfig getSchedule()
-
setSchedule
public void setSchedule(JobScheduleConfig schedule)
-
getReadOnly
@OslcPropertyDefinition("http://open-services.net/ns/core#readOnly") public Boolean getReadOnly()
-
setReadOnly
public void setReadOnly(Boolean readOnly)
-
-