Class ResourceTypeChange
- java.lang.Object
-
- com.sodius.oslc.server.process.types.ResourceTypeChange
-
public class ResourceTypeChange extends Object
Encapsulates a resource type change data.- Since:
- 3.9.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArtifactType
getArtifactType()
Gets the artifact type.String
getContainer()
Gets the container id.Optional<URI>
getCurrentType()
Gets the current resource type URI.Optional<URI>
getPreviousType()
Gets the previous resource type URI.
-
-
-
Method Detail
-
getContainer
public String getContainer()
Gets the container id.- Returns:
- the container id.
-
getArtifactType
public ArtifactType getArtifactType()
Gets the artifact type.- Returns:
- the artifact type.
-
getPreviousType
public Optional<URI> getPreviousType()
Gets the previous resource type URI.- Returns:
- an empty
Optional
if no resource type was mapped previously; the contained reference otherwise.
-
-