public abstract class DSLProtocolWithNetworkDrive<Client> extends DSLProtocol<Client>
contentService, dataContent, jmxBuilder, LOG| Constructor and Description |
|---|
DSLProtocolWithNetworkDrive() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isActionExecutedOnMappedDrive() |
protected void |
setActionExecutedOnMappedDrive(boolean actionExecutedOnMappedDrive) |
abstract Client |
usingNetworkDrive()
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;
}
|
and, assertThat, authenticateUser, buildPath, buildSiteDocumentLibraryPath, buildUserHomePath, closeJmxConnection, disconnect, getCurrentSpace, getCurrentUser, getDataDictionaryPath, getLastContentModel, getLastResource, getLastResourceWithoutPrefix, getPrefixSpace, getProtocolJMXConfigurationStatus, getProtocolName, getRootPath, getSitesPath, getUserHomesPath, isProtocolEnabled, setCurrentSpace, setLastContentModel, setLastResource, then, usingAdmin, usingResource, usingRoot, usingSite, usingSite, usingUser, usingUserHome, usingUserHome, waitSeconds, whengetDataContentService, getTestUser, setTestUserpublic boolean isActionExecutedOnMappedDrive()
protected void setActionExecutedOnMappedDrive(boolean actionExecutedOnMappedDrive)
public abstract Client usingNetworkDrive() throws Exception
ExceptionCopyright © 2005–2019 Alfresco Software. All rights reserved.