@Configuration
@Profile(value={"ci","integration"})
public class IntegrationTestingConfiguration
extends java.lang.Object
Constructor and Description |
---|
IntegrationTestingConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Get rid of the directories created by the system temporarily.
|
org.springframework.core.io.Resource |
jobsDir()
Returns a temporary directory as the jobs resource.
|
@Bean public org.springframework.core.io.Resource jobsDir()
@PreDestroy public void cleanup() throws java.io.IOException
java.io.IOException
- when unable to delete directory