Class DSLProtocolWithNetworkDrive<Client>

  • All Implemented Interfaces:
    DSL<Client>

    public abstract class DSLProtocolWithNetworkDrive<Client>
    extends DSLProtocol<Client>
    Author:
    Paul Brodner Extend this class if you are implementing a protocol that can be used within one mapped network drive see CifsWrapper.java protocol implementation
    • Constructor Detail

      • DSLProtocolWithNetworkDrive

        public DSLProtocolWithNetworkDrive()
    • Method Detail

      • isActionExecutedOnMappedDrive

        public boolean isActionExecutedOnMappedDrive()
      • setActionExecutedOnMappedDrive

        protected void setActionExecutedOnMappedDrive​(boolean actionExecutedOnMappedDrive)
      • usingNetworkDrive

        public abstract Client usingNetworkDrive()
                                          throws java.lang.Exception
        Define the code for initializing the network drive using your Client protocol public CifsWrapper usingNetworkDrive() throws Exception { if (!cifsNetworkDrive.inOSEnvironment().isNetworkDriveMounted()) cifsNetworkDrive.inOSEnvironment().mount(); setCurrentSpace(cifsNetworkDrive.inOSEnvironment().getLocalVolumePath()); setActionExecutedOnMappedDrive(true); return this; }
        Returns:
        Throws:
        java.lang.Exception