|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectsrc.groovy.pl.burningice.plugins.image.engines.Worker
class Worker
Execute actions on image
Property Summary | |
---|---|
private def |
loadedImage
Object represents image to manipulate |
private java.lang.String |
resultDir
Path to output directory |
Constructor Summary | |
Worker()
|
Method Summary | |
---|---|
Worker
|
execute(groovy.lang.Closure chain)
Methods execute action on image It use as a output file name name of original image |
Worker
|
execute(java.lang.String outputFileName, groovy.lang.Closure chain)
Methods execute action on image Allows to specify output name by the user |
Worker
|
execute(SaveCommand saveCommand, groovy.lang.Closure chain)
Methods execute action on image Allows to specify output name by the user |
private void
|
save(java.lang.String outputFilePath, ImageFile image)
Save changed image TODO: Check if this can be replaced by SaveCommand object |
private Worker
|
work(def outputFilePath, def fileName, def chain, ImageFile image)
Perform work |
Methods inherited from class java.lang.Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Property Detail |
---|
private def loadedImage
private java.lang.String resultDir
Constructor Detail |
---|
Worker()
Method Detail |
---|
Worker execute(groovy.lang.Closure chain)
Worker execute(java.lang.String outputFileName, groovy.lang.Closure chain)
Worker execute(SaveCommand saveCommand, groovy.lang.Closure chain)
private void save(java.lang.String outputFilePath, ImageFile image)
private Worker work(def outputFilePath, def fileName, def chain, ImageFile image)
Groovy Documentation