Class DockerCopyFileToContainer.CopyFileToContainer

java.lang.Object
run.halo.gradle.docker.DockerCopyFileToContainer.CopyFileToContainer
Enclosing class:
DockerCopyFileToContainer

public static class DockerCopyFileToContainer.CopyFileToContainer extends Object
Class holding metadata for an arbitrary copy-file-to-container invocation.
  • Constructor Details

    • CopyFileToContainer

      public CopyFileToContainer()
  • Method Details

    • getHostPath

      public Object getHostPath()
      The host path.

      Can take the form of String, GString, File, or Closure which returns any of the previous.

    • getRemotePath

      public Object getRemotePath()
      The remote path.

      Can take the form of String, GString, File, or Closure which returns any of the previous.

    • isTar

      public boolean isTar()
      Indicates if copied file is a TAR file.
    • setHostPath

      public void setHostPath(Object hostPath)
      The host path.

      Can take the form of String, GString, File, or Closure which returns any of the previous.

    • setRemotePath

      public void setRemotePath(Object remotePath)
      The remote path.

      Can take the form of String, GString, File, or Closure which returns any of the previous.

    • setTar

      public void setTar(boolean isTar)
      Indicates if copied file is a TAR file.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object