Object CopySpecUtil

  • All Implemented Interfaces:

    
    public class CopySpecUtil
    
                        

    This object provides methodes to transfer configurations to a CopySpec.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Unit applyServerDirTo(CopySpec parent, ServerDir serverDir) Applies a ServerDir configuration to an existing CopySpec.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • applyServerDirTo

         final Unit applyServerDirTo(CopySpec parent, ServerDir serverDir)

        Applies a ServerDir configuration to an existing CopySpec.

        Use this overload at task execution time. In contrast to {@link #getCSForServerDir} it does not need a project to create a CopySpec, so it can be used inside a {@code FileSystemOperations.copy {}} block.

        Parameters:
        parent - the CopySpec the configuration is added to as a child spec
        serverDir - a ServerDir configuration