Interface StorageConverterPlugin

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.rundeck.storage.api.HasInputStream createResource​(org.rundeck.storage.api.Path path, ResourceMetaBuilder resourceMetaBuilder, org.rundeck.storage.api.HasInputStream hasInputStream)
      Convert a resource during create operation and return a new data stream, or null to pass the data without changing.
      org.rundeck.storage.api.HasInputStream readResource​(org.rundeck.storage.api.Path path, ResourceMetaBuilder resourceMetaBuilder, org.rundeck.storage.api.HasInputStream hasInputStream)
      Convert a resource during read operation and return a new data stream, or null to pass the data without changing.
      org.rundeck.storage.api.HasInputStream updateResource​(org.rundeck.storage.api.Path path, ResourceMetaBuilder resourceMetaBuilder, org.rundeck.storage.api.HasInputStream hasInputStream)
      Convert a resource during update operation and return a new data stream, or null to pass the data without changing.
    • Method Detail

      • readResource

        org.rundeck.storage.api.HasInputStream readResource​(org.rundeck.storage.api.Path path,
                                                            ResourceMetaBuilder resourceMetaBuilder,
                                                            org.rundeck.storage.api.HasInputStream hasInputStream)
        Convert a resource during read operation and return a new data stream, or null to pass the data without changing.
        Parameters:
        path - input path
        resourceMetaBuilder - builder to modify metadata
        hasInputStream - accessor for underlying data stream
        Returns:
        new data stream, or null
      • createResource

        org.rundeck.storage.api.HasInputStream createResource​(org.rundeck.storage.api.Path path,
                                                              ResourceMetaBuilder resourceMetaBuilder,
                                                              org.rundeck.storage.api.HasInputStream hasInputStream)
        Convert a resource during create operation and return a new data stream, or null to pass the data without changing.
        Parameters:
        path - input path
        resourceMetaBuilder - builder to modify metadata
        hasInputStream - accessor for underlying data stream
        Returns:
        new data stream, or null
      • updateResource

        org.rundeck.storage.api.HasInputStream updateResource​(org.rundeck.storage.api.Path path,
                                                              ResourceMetaBuilder resourceMetaBuilder,
                                                              org.rundeck.storage.api.HasInputStream hasInputStream)
        Convert a resource during update operation and return a new data stream, or null to pass the data without changing.
        Parameters:
        path - input path
        resourceMetaBuilder - builder to modify metadata
        hasInputStream - accessor for underlying data stream
        Returns:
        new data stream, or null