public static Deployment of ( final File content ) { final DeploymentContent deploymentContent = DeploymentContent . of ( Assert . checkNotNullParam ( "content" , content ) . toPath ( ) ) ; return new Deployment ( deploymentContent , null ) ; }
Creates a new deployment for the file . If the file is a directory the content will be deployed exploded using the file system location .