Interface AnyNamespaceOperation<T,​L,​R>

    • Method Detail

      • dryRun

        @Deprecated
        ItemWritableOperation<T> dryRun()
        Deprecated.
        use Resource.dryRun()
        Indicates that modifications should not be persisted. All dry run stages will be processed. the request is still processed as typical request: the fields are defaulted, the object is validated, it goes through the validation admission chain, and through the mutating admission chain, and then the final object is returned to the user as it normally would, without being persisted.
        Returns:
        write operations which are applicable for dry run
      • dryRun

        @Deprecated
        ItemWritableOperation<T> dryRun​(boolean isDryRun)
        Deprecated.
        use Resource.dryRun()
        Indicates whether modifications should not be persisted or not. If enabled, All dry run stages will be processed. the request is still processed as typical request: the fields are defaulted, the object is validated, it goes through the validation admission chain, and through the mutating admission chain, and then the final object is returned to the user as it normally would, without being persisted.
        Parameters:
        isDryRun - whether dry run is enabled or disabled
        Returns:
        write operations which are applicable for dry run
      • load

        R load​(InputStream is)
        Load from an InputStream.
        Parameters:
        is - The input stream.
        Returns:
        returns de-serialized object
      • load

        R load​(URL url)
        Load from a URL.
        Parameters:
        url - The url.
        Returns:
        returns de-serialized object
      • load

        R load​(File file)
        Load from a File.
        Parameters:
        file - The file.
        Returns:
        returns de-serialized object
      • load

        R load​(String path)
        Load from path.
        Parameters:
        path - The path.
        Returns:
        returns de-serialized object
      • resource

        R resource​(T item)
        Provide a Resource for the given item
        Parameters:
        item -
        Returns:
        the resource upon which operations can be performed