public abstract class PostMimeTypeWorker extends Object
| Constructor and Description |
|---|
PostMimeTypeWorker() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
execute(String mimeType,
GraphPropertyWorkData data,
org.vertexium.Authorizations authorizations) |
void |
executeAndCleanup(String mimeType,
GraphPropertyWorkData data,
org.vertexium.Authorizations authorizations) |
protected org.vertexium.Graph |
getGraph() |
protected File |
getLocalFileForRaw(org.vertexium.Element element) |
protected User |
getUser() |
protected WorkQueueRepository |
getWorkQueueRepository() |
void |
prepare(GraphPropertyWorkerPrepareData workerPrepareData) |
void |
setGraph(org.vertexium.Graph graph) |
void |
setWorkQueueRepository(WorkQueueRepository workQueueRepository) |
public void prepare(GraphPropertyWorkerPrepareData workerPrepareData) throws Exception
Exceptionprotected abstract void execute(String mimeType, GraphPropertyWorkData data, org.vertexium.Authorizations authorizations) throws Exception
Exceptionpublic void executeAndCleanup(String mimeType, GraphPropertyWorkData data, org.vertexium.Authorizations authorizations) throws Exception
Exceptionprotected File getLocalFileForRaw(org.vertexium.Element element) throws IOException
IOExceptionprotected User getUser()
@Inject public final void setGraph(org.vertexium.Graph graph)
protected org.vertexium.Graph getGraph()
@Inject public final void setWorkQueueRepository(WorkQueueRepository workQueueRepository)
protected WorkQueueRepository getWorkQueueRepository()
Copyright © 2013–2016 V5 Analytics. All rights reserved.