@Configuration
@ConfigurationProperties(prefix="results",
ignoreUnknownFields=true)
public class ResultsProperties
extends Properties
| Constructor and Description |
|---|
ResultsProperties() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAdditionalFileLocations() |
String |
getBaseURL() |
Boolean |
getCleanUpThreadEnabled() |
Integer |
getCleanUpThreadFrequency() |
String |
getFileLocation() |
int |
getSampleLines() |
void |
setAdditionalFileLocations(String[] fileStorageLocations) |
void |
setBaseURL(String baseURL) |
void |
setCleanUpThreadEnabled(Boolean cleanUpThreadEnabled) |
void |
setCleanUpThreadFrequency(Integer cleanUpThreadFrequency) |
void |
setFileLocation(String fileLocation) |
void |
setSampleLines(int sampleLines) |
void |
validate() |
checkNone, checkNoneMaskValue, checkNotEmpty, checkNotEmpty, checkNotEmpty, checkNotEmptyMaskValue, checkRangeInclusive, getPrefix, setPrefix, validateWithExitpublic void validate()
throws Exception
validate in class PropertiesExceptionpublic String getBaseURL()
public void setBaseURL(String baseURL)
public String getFileLocation()
public void setFileLocation(String fileLocation)
public int getSampleLines()
public void setSampleLines(int sampleLines)
public Boolean getCleanUpThreadEnabled()
public void setCleanUpThreadEnabled(Boolean cleanUpThreadEnabled)
public Integer getCleanUpThreadFrequency()
public void setCleanUpThreadFrequency(Integer cleanUpThreadFrequency)
public String[] getAdditionalFileLocations()
public void setAdditionalFileLocations(String[] fileStorageLocations)
Copyright © 2020. All rights reserved.