Package cz.vutbr.fit.layout.api
Interface ArtifactService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
BaseArtifactService,OperatorApplicationProvider,OperatorWrapperProvider,VisualBoxTreeProvider
public interface ArtifactService extends Service
A service that creates an artifact from another artifact.- Author:
- burgetr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.rdf4j.model.IRIgetConsumes()The artifact type consumed.org.eclipse.rdf4j.model.IRIgetProduces()The artifact type produced.Artifactprocess(Artifact input)Consumes an input artifact and produces an output artifact.-
Methods inherited from interface cz.vutbr.fit.layout.api.Service
getCategory, getDescription, getId, getName, setServiceManager
-
-
-
-
Method Detail
-
getConsumes
org.eclipse.rdf4j.model.IRI getConsumes()
The artifact type consumed.- Returns:
- the artifact type IRI or
nullwhen nothing is consumed (source only).
-
getProduces
org.eclipse.rdf4j.model.IRI getProduces()
The artifact type produced.- Returns:
- the artifact type IRI or
nullwhen nothing is produced (consumer only).
-
process
Artifact process(Artifact input) throws ServiceException
Consumes an input artifact and produces an output artifact.- Parameters:
input- The input artifact ornullwhen nothing is consumed- Returns:
- the output artifact
nullwhen nothing is produced - Throws:
ServiceException
-
-