Class Overlay


  • public class Overlay
    extends java.lang.Object
    Overlay An Overlay represents overlay information derived from the maven-war-plugin.
    • Method Detail

      • setResource

        public void setResource​(Resource r)
      • getResource

        public Resource getResource()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • unpackTo

        public void unpackTo​(java.io.File dir)
                      throws java.io.IOException
        Unpack the overlay into the given directory. Only unpack if the directory does not exist, or the overlay has been modified since the dir was created.
        Parameters:
        dir - the directory into which to unpack the overlay
        Throws:
        java.io.IOException