public class PythonSimple extends Object
| Constructor and Description |
|---|
PythonSimple() |
PythonSimple(PythonVersion pyVerison) |
PythonSimple(PythonVersion pyVerison,
org.osgi.framework.Bundle context) |
| Modifier and Type | Method and Description |
|---|---|
String |
getSystemUserName() |
PythonSimpleResult |
run(URI pathToScript,
Object data,
String args,
String[] env) |
void |
setContext(org.osgi.framework.Bundle context) |
void |
setPythonVersion(PythonVersion pyVerison) |
void |
setSystemUserName(String userName)
For property work must add to sudo for user which call other permission.
|
public PythonSimple()
public PythonSimple(PythonVersion pyVerison)
public PythonSimple(PythonVersion pyVerison, org.osgi.framework.Bundle context)
public void setPythonVersion(PythonVersion pyVerison)
public void setContext(org.osgi.framework.Bundle context)
public void setSystemUserName(String userName)
userName - public String getSystemUserName()
public PythonSimpleResult run(URI pathToScript, Object data, String args, String[] env) throws IOException
IOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.