Skip navigation links
C E G I O P 

C

close() - Method in class com.profesorfalken.jpowershell.PowerShell
Closes all the resources used to maintain the PowerShell context
com.profesorfalken.jpowershell - package com.profesorfalken.jpowershell
 
configuration(Map<String, String>) - Method in class com.profesorfalken.jpowershell.PowerShell
Allows to override jPowerShell configuration using a map of key/value
Default values are taken from file jpowershell.properties, which can be replaced just setting it on project classpath The values that can be overridden are: maxThreads: the maximum number of thread to use in pool. 3 is an optimal and default value waitPause: the pause in ms between each loop pooling for a response.

E

END_SCRIPT_STRING - Static variable in class com.profesorfalken.jpowershell.PowerShell
 
executeCommand(String) - Method in class com.profesorfalken.jpowershell.PowerShell
Launch a PowerShell command.
executeScript(String) - Method in class com.profesorfalken.jpowershell.PowerShell
Executed the provided PowerShell script in PowerShell console and gets result.
executeScript(BufferedReader) - Method in class com.profesorfalken.jpowershell.PowerShell
Executed the provided PowerShell script in PowerShell console and gets result.
executeSingleCommand(String) - Static method in class com.profesorfalken.jpowershell.PowerShell
Execute a single command in PowerShell console and gets result

G

getCommandOutput() - Method in class com.profesorfalken.jpowershell.PowerShellResponse
Retrieves the content returned by the executed command

I

isError() - Method in class com.profesorfalken.jpowershell.PowerShellResponse
True if the command finished in error
isTimeout() - Method in class com.profesorfalken.jpowershell.PowerShellResponse
True if the command finished in timeout

O

openSession() - Static method in class com.profesorfalken.jpowershell.PowerShell
Creates a session in PowerShell console an returns an instance which allows to execute commands in PowerShell context.
openSession(String) - Static method in class com.profesorfalken.jpowershell.PowerShell
Creates a session in PowerShell console an returns an instance which allows to execute commands in PowerShell context.

P

PowerShell - Class in com.profesorfalken.jpowershell
Allows to open a session into PowerShell console and launch different commands.
PowerShellNotAvailableException - Exception in com.profesorfalken.jpowershell
Custom checked exception produced when the Powershell executable cannot be found
PowerShellResponse - Class in com.profesorfalken.jpowershell
Response of PowerShell command.
C E G I O P 
Skip navigation links

Copyright © 2018. All rights reserved.