Class ConfigurationTrace
- java.lang.Object
-
- org.eclipse.lyo.oslc4j.core.model.AbstractResource
-
- com.sodius.oslc.server.process.model.ConfigurationTrace
-
- All Implemented Interfaces:
IExtendedResource,IResource
@OslcNamespace("http://www.sodius.com/ns/process#") @OslcResourceShape(title="Configuration Trace", describes="http://www.sodius.com/ns/process#ConfigurationTrace") public class ConfigurationTrace extends AbstractResource
The trace to determine why a configuration is used.- Since:
- 3.1.0
-
-
Constructor Summary
Constructors Constructor Description ConfigurationTrace()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationTraceaddLiteralStep(String title, String description, String source)Convenient method to add a literalConfigurationTraceStepon this instance.ConfigurationTraceaddOslcResourceStep(String title, String description, Link source)Convenient method to add a oslcResourceConfigurationTraceStepon this instance.ConfigurationTraceaddResourceStep(String title, String description, Link source)Convenient method to add a resourceConfigurationTraceStepon this instance.LinkgetConfiguration()ConfigurationTraceStep[]getSteps()static ConfigurationTraceof(Link configuration)voidsetConfiguration(Link configuration)voidsetSteps(ConfigurationTraceStep[] steps)-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Method Detail
-
of
public static ConfigurationTrace of(Link configuration)
-
getConfiguration
@OslcPropertyDefinition("http://open-services.net/ns/config#configuration") public Link getConfiguration()
-
setConfiguration
public void setConfiguration(Link configuration)
-
getSteps
@OslcTitle("Trace Steps") @OslcName("configurationTraceStep") @OslcRepresentation(Inline) @OslcRdfCollectionType(collectionType="Seq") @OslcValueType(LocalResource) @OslcPropertyDefinition("http://www.sodius.com/ns/process#configurationTraceStep") public ConfigurationTraceStep[] getSteps()
-
setSteps
public void setSteps(ConfigurationTraceStep[] steps)
-
addLiteralStep
public ConfigurationTrace addLiteralStep(String title, String description, String source)
Convenient method to add a literalConfigurationTraceStepon this instance. Thedcterms:sourceproperty value type of 'literal' steps isString.- Parameters:
title- the step's title.description- the step's description.source- the step's source (value).- Returns:
- this instance.
-
addResourceStep
public ConfigurationTrace addResourceStep(String title, String description, Link source)
Convenient method to add a resourceConfigurationTraceStepon this instance. Thedcterms:sourceproperty value type of 'resource' steps isLink.- Parameters:
title- the step's title.description- the step's description.source- the step's source (value).- Returns:
- this instance.
-
addOslcResourceStep
public ConfigurationTrace addOslcResourceStep(String title, String description, Link source)
Convenient method to add a oslcResourceConfigurationTraceStepon this instance. Thedcterms:sourceproperty value type of 'oslcResource' steps isLink. Unlike 'resource' steps, 'oslcResource' steps MUST be able to start an OAuth session in client applications.- Parameters:
title- the step's title.description- the step's description.source- the step's source (value).- Returns:
- this instance.
-
-