|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dtolabs.rundeck.core.storage.StorageTimestamperConverter
public class StorageTimestamperConverter
StorageTimestamperConverter sets modification and creation timestamp metadata for updated/created resources.
Constructor Summary | |
---|---|
StorageTimestamperConverter()
|
Method Summary | |
---|---|
HasInputStream |
createResource(Path path,
ResourceMetaBuilder resourceMetaBuilder,
HasInputStream hasInputStream)
Convert a resource during create operation and return a new data stream, or null to pass the data without changing. |
HasInputStream |
readResource(Path path,
ResourceMetaBuilder resourceMetaBuilder,
HasInputStream hasInputStream)
Convert a resource during read operation and return a new data stream, or null to pass the data without changing. |
HasInputStream |
updateResource(Path path,
ResourceMetaBuilder resourceMetaBuilder,
HasInputStream hasInputStream)
Convert a resource during update operation and return a new data stream, or null to pass the data without changing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StorageTimestamperConverter()
Method Detail |
---|
public HasInputStream readResource(Path path, ResourceMetaBuilder resourceMetaBuilder, HasInputStream hasInputStream)
StorageConverterPlugin
readResource
in interface StorageConverterPlugin
path
- input pathresourceMetaBuilder
- builder to modify metadatahasInputStream
- accessor for underlying data stream
public HasInputStream createResource(Path path, ResourceMetaBuilder resourceMetaBuilder, HasInputStream hasInputStream)
StorageConverterPlugin
createResource
in interface StorageConverterPlugin
path
- input pathresourceMetaBuilder
- builder to modify metadatahasInputStream
- accessor for underlying data stream
public HasInputStream updateResource(Path path, ResourceMetaBuilder resourceMetaBuilder, HasInputStream hasInputStream)
StorageConverterPlugin
updateResource
in interface StorageConverterPlugin
path
- input pathresourceMetaBuilder
- builder to modify metadatahasInputStream
- accessor for underlying data stream
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |