Class AutomationResult

java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
org.eclipse.lyo.client.oslc.resources.AutomationResult
All Implemented Interfaces:
IExtendedResource, IResource

@Deprecated @OslcResourceShape(title="Automation Result Resource Shape", describes="http://open-services.net/ns/auto#AutomationResult") @OslcNamespace("http://open-services.net/ns/auto#") public class AutomationResult extends AbstractResource
Deprecated.
See Also:
  • Constructor Details

    • AutomationResult

      public AutomationResult()
      Deprecated.
    • AutomationResult

      public AutomationResult(URI about)
      Deprecated.
  • Method Details

    • getRdfType

      protected URI getRdfType()
      Deprecated.
    • addContributor

      public void addContributor(URI contributor)
      Deprecated.
    • addCreator

      public void addCreator(URI creator)
      Deprecated.
    • addRdfType

      public void addRdfType(URI rdfType)
      Deprecated.
    • addSubject

      public void addSubject(String subject)
      Deprecated.
    • addState

      public void addState(URI state)
      Deprecated.
    • addVerdict

      public void addVerdict(URI verdict)
      Deprecated.
    • addContribution

      public void addContribution(URI contribution)
      Deprecated.
    • addInputParameter

      public void addInputParameter(ParameterInstance parameter)
      Deprecated.
    • addOutputParameter

      public void addOutputParameter(ParameterInstance parameter)
      Deprecated.
    • getContributors

      @OslcDescription("The person(s) who are responsible for the work needed to complete the automation result.") @OslcName("contributor") @OslcPropertyDefinition("http://purl.org/dc/terms/contributor") @OslcRange("http://xmlns.com/foaf/0.1/Person") @OslcTitle("Contributors") public URI[] getContributors()
      Deprecated.
    • getCreated

      @OslcDescription("Timestamp of resource creation.") @OslcPropertyDefinition("http://purl.org/dc/terms/created") @OslcReadOnly @OslcTitle("Created") public Date getCreated()
      Deprecated.
    • getCreators

      @OslcDescription("Creator or creators of resource.") @OslcName("creator") @OslcPropertyDefinition("http://purl.org/dc/terms/creator") @OslcRange("http://xmlns.com/foaf/0.1/Person") @OslcTitle("Creators") public URI[] getCreators()
      Deprecated.
    • 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") @OslcReadOnly @OslcTitle("Identifier") public String getIdentifier()
      Deprecated.
    • getInstanceShape

      @OslcDescription("Resource Shape that provides hints as to resource property value-types and allowed values. ") @OslcPropertyDefinition("http://open-services.net/ns/core#instanceShape") @OslcRange("http://open-services.net/ns/core#ResourceShape") @OslcTitle("Instance Shape") public URI getInstanceShape()
      Deprecated.
    • getModified

      @OslcDescription("Timestamp last latest resource modification.") @OslcPropertyDefinition("http://purl.org/dc/terms/modified") @OslcReadOnly @OslcTitle("Modified") public Date getModified()
      Deprecated.
    • getRdfTypes

      @OslcDescription("The resource type URIs.") @OslcName("type") @OslcPropertyDefinition("http://www.w3.org/1999/02/22-rdf-syntax-ns#type") @OslcTitle("Types") public URI[] getRdfTypes()
      Deprecated.
    • getServiceProvider

      @OslcDescription("The scope of a resource is a URI for the resource\'s OSLC Service Provider.") @OslcPropertyDefinition("http://open-services.net/ns/core#serviceProvider") @OslcRange("http://open-services.net/ns/core#ServiceProvider") @OslcTitle("Service Provider") public URI getServiceProvider()
      Deprecated.
    • getSubjects

      @OslcDescription("Tag or keyword for a resource. Each occurrence of a dcterms:subject property denotes an additional tag for the resource.") @OslcName("subject") @OslcPropertyDefinition("http://purl.org/dc/terms/subject") @OslcReadOnly(false) @OslcTitle("Subjects") public String[] getSubjects()
      Deprecated.
    • 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()
      Deprecated.
    • getStates

      @OslcDescription("Used to indicate the state of the automation result based on values defined by the service provider.") @OslcOccurs(OneOrMany) @OslcReadOnly(true) @OslcName("state") @OslcPropertyDefinition("http://open-services.net/ns/auto#state") @OslcTitle("State") @OslcAllowedValue({"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()
      Deprecated.
    • getContributions

      @OslcDescription("A result contribution associated with this automation result.") @OslcOccurs(ZeroOrMany) @OslcName("contribution") @OslcPropertyDefinition("http://open-services.net/ns/auto#contribution") @OslcTitle("Contribution") public URI[] getContributions()
      Deprecated.
    • getVerdicts

      @OslcDescription("Used to indicate the verdict of the automation result based on values defined by the service provider.") @OslcOccurs(OneOrMany) @OslcName("verdict") @OslcPropertyDefinition("http://open-services.net/ns/auto#verdict") @OslcTitle("Verdict") @OslcAllowedValue({"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()
      Deprecated.
    • getDesiredState

      @OslcDescription("Used to indicate the desired state of the Automation Request based on values defined by the service provider.") @OslcPropertyDefinition("http://open-services.net/ns/auto#desiredState") @OslcName("desiredState") @OslcOccurs(ZeroOrOne) @OslcTitle("Desired State") @OslcAllowedValue({"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()
      Deprecated.
    • getProducedByAutomationRequest

      @OslcDescription("Automation Request which produced the Automation Result.") @OslcPropertyDefinition("http://open-services.net/ns/auto#producedByAutomationRequest") @OslcName("producedByAutomationRequest") @OslcOccurs(ZeroOrOne) @OslcTitle("Produced By Automation Request") public Link getProducedByAutomationRequest()
      Deprecated.
    • getReportsOnAutomationPlan

      @OslcDescription("Automation Plan which the Automation Result reports on.") @OslcPropertyDefinition("http://open-services.net/ns/auto#reportsOnAutomationPlan") @OslcName("reportsOnAutomationPlan") @OslcOccurs(ExactlyOne) @OslcTitle("Reports On Automation Plan") public Link getReportsOnAutomationPlan()
      Deprecated.
    • getInputParameters

      @OslcDescription("A copy of the parameters provided during creation of the Automation Request which produced this Automation Result.") @OslcOccurs(ZeroOrMany) @OslcName("inputParameter") @OslcPropertyDefinition("http://open-services.net/ns/auto#inputParameter") @OslcReadOnly(true) @OslcTitle("Input Parameter") public ParameterInstance[] getInputParameters()
      Deprecated.
    • getOutputParameters

      @OslcDescription("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(ZeroOrMany) @OslcName("outputParameter") @OslcPropertyDefinition("http://open-services.net/ns/auto#outputParameter") @OslcTitle("Output Parameter") public ParameterInstance[] getOutputParameters()
      Deprecated.
    • setContributors

      public void setContributors(URI[] contributors)
      Deprecated.
    • setCreated

      public void setCreated(Date created)
      Deprecated.
    • setCreators

      public void setCreators(URI[] creators)
      Deprecated.
    • setIdentifier

      public void setIdentifier(String identifier)
      Deprecated.
    • setInstanceShape

      public void setInstanceShape(URI instanceShape)
      Deprecated.
    • setModified

      public void setModified(Date modified)
      Deprecated.
    • setRdfTypes

      public void setRdfTypes(URI[] rdfTypes)
      Deprecated.
    • setServiceProvider

      public void setServiceProvider(URI serviceProvider)
      Deprecated.
    • setSubjects

      public void setSubjects(String[] subjects)
      Deprecated.
    • setTitle

      public void setTitle(String title)
      Deprecated.
    • setStates

      public void setStates(URI[] states)
      Deprecated.
    • setVerdicts

      public void setVerdicts(URI[] verdicts)
      Deprecated.
    • setContributions

      public void setContributions(URI[] contributions)
      Deprecated.
    • setDesiredState

      public void setDesiredState(URI desiredState)
      Deprecated.
    • setProducedByAutomationRequest

      public void setProducedByAutomationRequest(Link producedByAutomationRequest)
      Deprecated.
    • setReportsOnAutomationPlan

      public void setReportsOnAutomationPlan(Link reportsOnAutomationPlan)
      Deprecated.
    • setInputParameters

      public void setInputParameters(ParameterInstance[] parameters)
      Deprecated.
    • setOutputParameters

      public void setOutputParameters(ParameterInstance[] parameters)
      Deprecated.