public class RestJobExecutionListener extends Object implements org.springframework.batch.core.JobExecutionListener, org.springframework.beans.factory.InitializingBean
| Modifier and Type | Field and Description |
|---|---|
static String |
destroyPathJobParameterName |
static String |
endpoinUrlJobParameterName |
static String |
initPathJobParameterName |
static String |
outputFormatJobParameterName |
| Constructor and Description |
|---|
RestJobExecutionListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterJob(org.springframework.batch.core.JobExecution jobExecution) |
void |
afterPropertiesSet() |
void |
beforeJob(org.springframework.batch.core.JobExecution jobExecution) |
String |
getDestroyPath() |
String |
getEndpoinUrl() |
String |
getInitPath() |
List<javax.ws.rs.ext.MessageBodyWriter> |
getProviders() |
void |
setDestroyPath(String destroyPath) |
void |
setEndpoinUrl(String endpoinUrl) |
void |
setInitPath(String initPath) |
void |
setOutputFormat(String outputFormat) |
void |
setProviders(List<javax.ws.rs.ext.MessageBodyWriter> providers) |
public static final String endpoinUrlJobParameterName
public static final String initPathJobParameterName
public static final String destroyPathJobParameterName
public static final String outputFormatJobParameterName
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void beforeJob(org.springframework.batch.core.JobExecution jobExecution)
beforeJob in interface org.springframework.batch.core.JobExecutionListenerpublic void afterJob(org.springframework.batch.core.JobExecution jobExecution)
afterJob in interface org.springframework.batch.core.JobExecutionListenerpublic String getEndpoinUrl()
public void setEndpoinUrl(String endpoinUrl)
public String getInitPath()
public void setInitPath(String initPath)
public String getDestroyPath()
public void setDestroyPath(String destroyPath)
public void setOutputFormat(String outputFormat)
public List<javax.ws.rs.ext.MessageBodyWriter> getProviders()
public void setProviders(List<javax.ws.rs.ext.MessageBodyWriter> providers)
Copyright © 2016. All rights reserved.