Class EfestoFileResource
- java.lang.Object
-
- org.kie.efesto.compilationmanager.api.model.EfestoFileResource
-
- All Implemented Interfaces:
EfestoResource<File>
public final class EfestoFileResource extends Object implements EfestoResource<File>
-
-
Constructor Summary
Constructors Constructor Description EfestoFileResource(File modelFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilegetContent()InputStreamgetInputStream()StringgetModelType()StringgetSourcePath()
-
-
-
Constructor Detail
-
EfestoFileResource
public EfestoFileResource(File modelFile)
-
-
Method Detail
-
getContent
public File getContent()
- Specified by:
getContentin interfaceEfestoResource<File>
-
getModelType
public String getModelType()
-
getInputStream
public InputStream getInputStream() throws IOException
- Throws:
IOException
-
getSourcePath
public String getSourcePath()
-
-