Interface Protocol

All Superinterfaces:
Cloneable
All Known Implementing Classes:
Http

public interface Protocol extends Cloneable
The protocol interface for Fungal's netboot functionality. Implementations of this interface must have a default constructor, and its Java bean properties will be injected.
Author:
Jesper Pedersen
  • Method Summary

    Modifier and Type
    Method
    Description
    Clone the protocol implementation
    boolean
    download(String path, File target)
    Download
  • Method Details

    • download

      boolean download(String path, File target)
      Download
      Parameters:
      path - The path
      target - The target
      Returns:
      True if artifact downloaded; otherwise false
    • clone

      Clone the protocol implementation
      Returns:
      A copy of the implementation
      Throws:
      CloneNotSupportedException - Thrown if the copy operation isn't supported