|
KIE API 6.0.0.Beta3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KieFileSystem
KieFileSystem is an in memory file system used to programmatically define the resources composing a KieModule
Method Summary | |
---|---|
void |
delete(String... paths)
Removes the files in the given paths from this KieFileSystem |
KieFileSystem |
generateAndWritePomXML(ReleaseId releaseId)
Generates a basic maven pom file with the given ReleaseId (groupId, artifactId and version) and adds it to this KieFileSystem |
byte[] |
read(String path)
Returns the content of the file in the specified path as a byte[] |
KieFileSystem |
write(Resource resource)
Adds the given Resource to this KieFileSystem |
KieFileSystem |
write(String path,
byte[] content)
Adds the given content to this KieFileSystem in the specified path |
KieFileSystem |
write(String path,
Resource resource)
Adds the given Resource to this KieFileSystem in the specified path |
KieFileSystem |
write(String path,
String content)
Adds the given content to this KieFileSystem in the specified path |
KieFileSystem |
writeKModuleXML(byte[] content)
Adds the given kmodule.xml file to this KieFileSystem |
KieFileSystem |
writeKModuleXML(String content)
Adds the given kmodule.xml file to this KieFileSystem |
KieFileSystem |
writePomXML(byte[] content)
Adds the given pom.xml file to this KieFileSystem |
KieFileSystem |
writePomXML(String content)
Adds the given pom.xml file to this KieFileSystem |
Method Detail |
---|
KieFileSystem generateAndWritePomXML(ReleaseId releaseId)
KieFileSystem writePomXML(byte[] content)
KieFileSystem writePomXML(String content)
KieFileSystem writeKModuleXML(byte[] content)
KieFileSystem writeKModuleXML(String content)
KieFileSystem write(String path, byte[] content)
KieFileSystem write(String path, String content)
KieFileSystem write(String path, Resource resource)
KieFileSystem write(Resource resource)
void delete(String... paths)
byte[] read(String path)
|
KIE API 6.0.0.Beta3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |