public class PowershellServiceImpl extends org.mule.connectors.commons.template.service.DefaultConnectorService<PowershellConfiguration,PowershellConnection> implements PowershellService
| Constructor and Description |
|---|
PowershellServiceImpl(PowershellConfiguration config,
PowershellConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
String |
executeCommand(String command) |
String |
executeScriptFile(InputStream fileContent,
Map<String,String> parameters) |
static String |
readStream(InputStream stream) |
public PowershellServiceImpl(PowershellConfiguration config, PowershellConnection connection)
public String executeScriptFile(InputStream fileContent, Map<String,String> parameters)
executeScriptFile in interface PowershellServicepublic String executeCommand(String command)
executeCommand in interface PowershellServicepublic static String readStream(InputStream stream)
Copyright © 2021 MuleSoft, Inc.. All rights reserved.