Package org.apache.nifi.flow.resource
Class ImmutableExternalResourceDescriptor
java.lang.Object
org.apache.nifi.flow.resource.ImmutableExternalResourceDescriptor
- All Implemented Interfaces:
ExternalResourceDescriptor
public class ImmutableExternalResourceDescriptor
extends Object
implements ExternalResourceDescriptor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
location
-
modifiedAt
private final long modifiedAt
-
-
Constructor Details
-
ImmutableExternalResourceDescriptor
-
-
Method Details
-
getLocation
- Specified by:
getLocation
in interfaceExternalResourceDescriptor
- Returns:
- The location of the resource, where the format depends on the actual provider implementation.
-
getLastModified
public long getLastModified()- Specified by:
getLastModified
in interfaceExternalResourceDescriptor
- Returns:
- Returns the modification time of the original resource file using Unix timestamp format.
-