Class File

  • All Implemented Interfaces:
    Deployable, Loggable

    public class File
    extends AbstractDeployable
    Wraps a file that will be deployed into the container. The file type can be used to deploy an generic file or directory to the containers deploy directory.
    • Constructor Detail

      • File

        public File​(String file)
        Constructor.
        Parameters:
        file - The file name
    • Method Detail

      • getType

        public DeployableType getType()
        Returns:
        the deployable's type (war, ear, etc)