Class DSLProtocolWithNetworkDrive<Client>

java.lang.Object
org.alfresco.utility.dsl.DSLWrapper<Client>
org.alfresco.utility.dsl.DSLProtocol<Client>
org.alfresco.utility.dsl.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 Details

    • DSLProtocolWithNetworkDrive

      public DSLProtocolWithNetworkDrive()
  • Method Details

    • isActionExecutedOnMappedDrive

      public boolean isActionExecutedOnMappedDrive()
    • setActionExecutedOnMappedDrive

      protected void setActionExecutedOnMappedDrive(boolean actionExecutedOnMappedDrive)
    • usingNetworkDrive

      public abstract Client usingNetworkDrive() throws 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:
      Exception