@OslcResourceShape(title="Automation Result Resource Shape",
describes="http://open-services.net/ns/auto#AutomationResult")
@OslcNamespace(value="http://open-services.net/ns/auto#")
public class AutomationResult
extends org.eclipse.lyo.oslc4j.core.model.AbstractResource
Constructor and Description |
---|
AutomationResult() |
AutomationResult(URI about) |
public AutomationResult()
public AutomationResult(URI about)
protected URI getRdfType()
public void addContributor(URI contributor)
public void addCreator(URI creator)
public void addRdfType(URI rdfType)
public void addSubject(String subject)
public void addState(URI state)
public void addVerdict(URI verdict)
public void addContribution(URI contribution)
public void addInputParameter(ParameterInstance parameter)
public void addOutputParameter(ParameterInstance parameter)
@OslcDescription(value="The person(s) who are responsible for the work needed to complete the automation result.") @OslcName(value="contributor") @OslcPropertyDefinition(value="http://purl.org/dc/terms/contributor") @OslcRange(value="http://xmlns.com/foaf/0.1/Person") @OslcTitle(value="Contributors") public URI[] getContributors()
@OslcDescription(value="Timestamp of resource creation.") @OslcPropertyDefinition(value="http://purl.org/dc/terms/created") @OslcReadOnly @OslcTitle(value="Created") public Date getCreated()
@OslcDescription(value="Creator or creators of resource.") @OslcName(value="creator") @OslcPropertyDefinition(value="http://purl.org/dc/terms/creator") @OslcRange(value="http://xmlns.com/foaf/0.1/Person") @OslcTitle(value="Creators") public URI[] getCreators()
@OslcDescription(value="A unique identifier for a resource. Assigned by the service provider when a resource is created. Not intended for end-user display.") @OslcOccurs(value=ExactlyOne) @OslcPropertyDefinition(value="http://purl.org/dc/terms/identifier") @OslcReadOnly @OslcTitle(value="Identifier") public String getIdentifier()
@OslcDescription(value="Resource Shape that provides hints as to resource property value-types and allowed values. ") @OslcPropertyDefinition(value="http://open-services.net/ns/core#instanceShape") @OslcRange(value="http://open-services.net/ns/core#ResourceShape") @OslcTitle(value="Instance Shape") public URI getInstanceShape()
@OslcDescription(value="Timestamp last latest resource modification.") @OslcPropertyDefinition(value="http://purl.org/dc/terms/modified") @OslcReadOnly @OslcTitle(value="Modified") public Date getModified()
@OslcDescription(value="The resource type URIs.") @OslcName(value="type") @OslcPropertyDefinition(value="http://www.w3.org/1999/02/22-rdf-syntax-ns#type") @OslcTitle(value="Types") public URI[] getRdfTypes()
@OslcDescription(value="The scope of a resource is a URI for the resource\'s OSLC Service Provider.") @OslcPropertyDefinition(value="http://open-services.net/ns/core#serviceProvider") @OslcRange(value="http://open-services.net/ns/core#ServiceProvider") @OslcTitle(value="Service Provider") public URI getServiceProvider()
@OslcDescription(value="Tag or keyword for a resource. Each occurrence of a dcterms:subject property denotes an additional tag for the resource.") @OslcName(value="subject") @OslcPropertyDefinition(value="http://purl.org/dc/terms/subject") @OslcReadOnly(value=false) @OslcTitle(value="Subjects") public String[] getSubjects()
@OslcDescription(value="Title (reference: Dublin Core) or often a single line summary of the resource represented as rich text in XHTML content.") @OslcOccurs(value=ExactlyOne) @OslcPropertyDefinition(value="http://purl.org/dc/terms/title") @OslcTitle(value="Title") @OslcValueType(value=XMLLiteral) public String getTitle()
@OslcDescription(value="Used to indicate the state of the automation result based on values defined by the service provider.") @OslcOccurs(value=OneOrMany) @OslcReadOnly(value=true) @OslcName(value="state") @OslcPropertyDefinition(value="http://open-services.net/ns/auto#state") @OslcTitle(value="State") @OslcAllowedValue(value={"http://open-services.net/ns/auto#http://open-services.net/ns/auto#new","http://open-services.net/ns/auto#http://open-services.net/ns/auto#inProgress","http://open-services.net/ns/auto#http://open-services.net/ns/auto#queued","http://open-services.net/ns/auto#http://open-services.net/ns/auto#canceling","http://open-services.net/ns/auto#http://open-services.net/ns/auto#canceled","http://open-services.net/ns/auto#http://open-services.net/ns/auto#complete"}) public URI[] getStates()
@OslcDescription(value="A result contribution associated with this automation result.") @OslcOccurs(value=ZeroOrMany) @OslcName(value="contribution") @OslcPropertyDefinition(value="http://open-services.net/ns/auto#contribution") @OslcTitle(value="Contribution") public URI[] getContributions()
@OslcDescription(value="Used to indicate the verdict of the automation result based on values defined by the service provider.") @OslcOccurs(value=OneOrMany) @OslcName(value="verdict") @OslcPropertyDefinition(value="http://open-services.net/ns/auto#verdict") @OslcTitle(value="Verdict") @OslcAllowedValue(value={"http://open-services.net/ns/auto#http://open-services.net/ns/auto#passed","http://open-services.net/ns/auto#http://open-services.net/ns/auto#failed","http://open-services.net/ns/auto#http://open-services.net/ns/auto#warning","http://open-services.net/ns/auto#http://open-services.net/ns/auto#error","http://open-services.net/ns/auto#http://open-services.net/ns/auto#unavailable"}) public URI[] getVerdicts()
@OslcDescription(value="Used to indicate the desired state of the Automation Request based on values defined by the service provider.") @OslcPropertyDefinition(value="http://open-services.net/ns/auto#desiredState") @OslcName(value="desiredState") @OslcOccurs(value=ZeroOrOne) @OslcTitle(value="Desired State") @OslcAllowedValue(value={"http://open-services.net/ns/auto#http://open-services.net/ns/auto#new","http://open-services.net/ns/auto#http://open-services.net/ns/auto#inProgress","http://open-services.net/ns/auto#http://open-services.net/ns/auto#queued","http://open-services.net/ns/auto#http://open-services.net/ns/auto#canceling","http://open-services.net/ns/auto#http://open-services.net/ns/auto#canceled","http://open-services.net/ns/auto#http://open-services.net/ns/auto#complete"}) public URI getDesiredState()
@OslcDescription(value="Automation Request which produced the Automation Result.") @OslcPropertyDefinition(value="http://open-services.net/ns/auto#producedByAutomationRequest") @OslcName(value="producedByAutomationRequest") @OslcOccurs(value=ZeroOrOne) @OslcTitle(value="Produced By Automation Request") public org.eclipse.lyo.oslc4j.core.model.Link getProducedByAutomationRequest()
@OslcDescription(value="Automation Plan which the Automation Result reports on.") @OslcPropertyDefinition(value="http://open-services.net/ns/auto#reportsOnAutomationPlan") @OslcName(value="reportsOnAutomationPlan") @OslcOccurs(value=ExactlyOne) @OslcTitle(value="Reports On Automation Plan") public org.eclipse.lyo.oslc4j.core.model.Link getReportsOnAutomationPlan()
@OslcDescription(value="A copy of the parameters provided during creation of the Automation Request which produced this Automation Result.") @OslcOccurs(value=ZeroOrMany) @OslcName(value="inputParameter") @OslcPropertyDefinition(value="http://open-services.net/ns/auto#inputParameter") @OslcReadOnly(value=true) @OslcTitle(value="Input Parameter") public ParameterInstance[] getInputParameters()
@OslcDescription(value="Automation Result output parameters are parameters associated with the automation execution which produced this Result. This includes the final value of all parameters used to initiate the execution and any additional parameters which may have been created during automation execution by the service provider or external agents.") @OslcOccurs(value=ZeroOrMany) @OslcName(value="outputParameter") @OslcPropertyDefinition(value="http://open-services.net/ns/auto#outputParameter") @OslcTitle(value="Output Parameter") public ParameterInstance[] getOutputParameters()
public void setContributors(URI[] contributors)
public void setCreated(Date created)
public void setCreators(URI[] creators)
public void setIdentifier(String identifier)
public void setInstanceShape(URI instanceShape)
public void setModified(Date modified)
public void setRdfTypes(URI[] rdfTypes)
public void setServiceProvider(URI serviceProvider)
public void setSubjects(String[] subjects)
public void setTitle(String title)
public void setStates(URI[] states)
public void setVerdicts(URI[] verdicts)
public void setContributions(URI[] contributions)
public void setDesiredState(URI desiredState)
public void setProducedByAutomationRequest(org.eclipse.lyo.oslc4j.core.model.Link producedByAutomationRequest)
public void setReportsOnAutomationPlan(org.eclipse.lyo.oslc4j.core.model.Link reportsOnAutomationPlan)
public void setInputParameters(ParameterInstance[] parameters)
public void setOutputParameters(ParameterInstance[] parameters)
Copyright © 2020. All Rights Reserved.