Package com.github.euler.preview
Class PreviewTask
- java.lang.Object
-
- com.github.euler.core.AbstractTask
-
- com.github.euler.preview.PreviewTask
-
- All Implemented Interfaces:
Task
public class PreviewTask extends AbstractTask
-
-
Constructor Summary
Constructors Constructor Description PreviewTask(String name, com.github.euler.preview.EulerPreview preview, com.github.euler.preview.PreviewContext previewContext, String formatName, com.github.euler.preview.ScalrConfig resizeConfig, StreamFactory sf, StorageStrategy storageStrategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanaccept(URI uri, URI itemURI, ProcessingContext ctx)protected ItemProcessoritemProcessor()-
Methods inherited from class com.github.euler.core.AbstractTask
accept, behavior, name
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.euler.core.Task
getTimeout, isFlushable
-
-
-
-
Constructor Detail
-
PreviewTask
public PreviewTask(String name, com.github.euler.preview.EulerPreview preview, com.github.euler.preview.PreviewContext previewContext, String formatName, com.github.euler.preview.ScalrConfig resizeConfig, StreamFactory sf, StorageStrategy storageStrategy)
-
-
Method Detail
-
itemProcessor
protected ItemProcessor itemProcessor()
- Specified by:
itemProcessorin classAbstractTask
-
accept
protected boolean accept(URI uri, URI itemURI, ProcessingContext ctx)
- Overrides:
acceptin classAbstractTask
-
-