Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 31 package org.objectweb.proactive.core.process; 32 33 import org.apache.log4j.Logger; 34 35 42 public interface UniversalProcess extends java.io.Serializable { 43 44 45 static Logger logger = Logger.getLogger(UniversalProcess.class.getName()); 46 47 54 public String [] getEnvironment(); 55 56 57 64 public void setEnvironment(String [] environment); 65 66 67 71 public String getHostname(); 72 73 74 79 public void setHostname(String hostname); 80 81 82 86 public String getUsername(); 87 88 89 94 public void setUsername(String username); 95 96 97 101 public String getCommand(); 102 103 104 109 public void startProcess() throws java.io.IOException ; 110 111 112 116 public void stopProcess(); 117 118 119 127 public int waitFor() throws InterruptedException ; 128 129 130 134 public boolean isStarted(); 135 136 137 141 public boolean isFinished(); 142 143 public void setCertificateLocation(String file); 145 146 public String getCertificateLocation(); 147 148 public void setPrivateKeyLocation(String privatekey); 149 150 public String getPrivateKeyLocation(); 151 152 public void setSecurityFile(String privatekey); 153 154 public String getSecurityFile(); 155 156 } 157
| Popular Tags
|