Java Code Examples for org.springframework.cloud.deployer.spi.local.LocalDeployerProperties#setDeleteFilesOnExit()

The following examples show how to use org.springframework.cloud.deployer.spi.local.LocalDeployerProperties#setDeleteFilesOnExit() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: JdbchdfsLocalTaskConfiguration.java    From spring-cloud-task-app-starters with Apache License 2.0 5 votes vote down vote up
@Bean
public TaskLauncher taskLauncher() {
	LocalDeployerProperties localDeployerProperties = new LocalDeployerProperties();

	localDeployerProperties.setDeleteFilesOnExit(false);

	return new LocalTaskLauncher(localDeployerProperties);
}
 
Example 2
Source File: TaskLauncherSinkTests.java    From spring-cloud-task with Apache License 2.0 5 votes vote down vote up
@Bean
public TaskLauncher taskLauncher() {
	LocalDeployerProperties props = new LocalDeployerProperties();
	props.setDeleteFilesOnExit(false);

	return new LocalTaskLauncher(props);
}
 
Example 3
Source File: ConsulBinderTests.java    From spring-cloud-consul with Apache License 2.0 4 votes vote down vote up
public ConsulBinderTests() {
	LocalDeployerProperties properties = new LocalDeployerProperties();
	properties.setDeleteFilesOnExit(false);
	this.deployer = new ClasspathDeployer(properties);
}