Module org.apache.nifi
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
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ImmutableExternalResourceDescriptor
-
-
Method Details
-
getLocation
- Specified by:
getLocationin interfaceExternalResourceDescriptor- Returns:
- The location of the resource, where the format depends on the actual provider implementation.
-
getLastModified
public long getLastModified()- Specified by:
getLastModifiedin interfaceExternalResourceDescriptor- Returns:
- Returns the modification time of the original resource file using Unix timestamp format.
-