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 ConfigurationTrace
addLiteralStep(String title, String description, String source)
Convenient method to add a literalConfigurationTraceStep
on this instance.ConfigurationTrace
addOslcResourceStep(String title, String description, Link source)
Convenient method to add a oslcResourceConfigurationTraceStep
on this instance.ConfigurationTrace
addResourceStep(String title, String description, Link source)
Convenient method to add a resourceConfigurationTraceStep
on this instance.Link
getConfiguration()
ConfigurationTraceStep[]
getSteps()
static ConfigurationTrace
of(Link configuration)
void
setConfiguration(Link configuration)
void
setSteps(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 literalConfigurationTraceStep
on this instance. Thedcterms:source
property 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 resourceConfigurationTraceStep
on this instance. Thedcterms:source
property 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 oslcResourceConfigurationTraceStep
on this instance. Thedcterms:source
property 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.
-
-