Class FileReloaderUtils.FileMetadatas
- java.lang.Object
-
- org.ametys.core.util.filereloader.FileReloaderUtils.FileMetadatas
-
- Enclosing class:
- FileReloaderUtils
private static class FileReloaderUtils.FileMetadatas extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private long
_lastModified
private Map
_parameters
private String
_sourceUrl
static long
FILE_DOES_NOT_EXIST
When there is no corresponding filestatic long
UNKNOWN
When the date was not set yet
-
Constructor Summary
Constructors Constructor Description FileMetadatas(String sourceUrl, Map parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getLastModified()
Map
getParameters()
String
getSourceUrl()
void
setLastModified(long lastFileReading)
-
-
-
Field Detail
-
UNKNOWN
public static final long UNKNOWN
When the date was not set yet- See Also:
- Constant Field Values
-
FILE_DOES_NOT_EXIST
public static final long FILE_DOES_NOT_EXIST
When there is no corresponding file- See Also:
- Constant Field Values
-
_lastModified
private long _lastModified
-
_sourceUrl
private String _sourceUrl
-
_parameters
private Map _parameters
-
-
Constructor Detail
-
FileMetadatas
public FileMetadatas(String sourceUrl, Map parameters)
-
-
Method Detail
-
getLastModified
public long getLastModified()
-
setLastModified
public void setLastModified(long lastFileReading)
-
getSourceUrl
public String getSourceUrl()
-
getParameters
public Map getParameters()
-
-