001    //
002    // Generated stub from file:/Users/bohn/Apache/tags-2.1.3/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/ProcessLauncher.groovy
003    //
004    
005    package org.apache.geronimo.commands;
006    
007    import java.lang.*;
008    import java.io.*;
009    import java.net.*;
010    import java.util.*;
011    import groovy.lang.*;
012    import groovy.util.*;
013    import java.util.Timer;
014    import org.apache.geronimo.gshell.common.StopWatch;
015    import org.slf4j.Logger;
016    import org.slf4j.LoggerFactory;
017    import org.apache.geronimo.gshell.command.IO;
018    
019    /**
020     * Helper to execute a process and perform some verification logic to determine if the process is up or not.
021     *
022     * @version $Rev: 706640 $ $Date: 2008-10-21 14:44:05 +0000 (Tue, 21 Oct 2008) $
023     */
024    public class ProcessLauncher
025        extends java.lang.Object
026    {
027        private Logger log = null;
028    
029        private IO io = null;
030        public IO getIo() {
031            throw new InternalError("Stubbed method");
032        }
033        public void setIo(IO value) {
034            throw new InternalError("Stubbed method");
035        }
036    
037        private java.lang.String name = null;
038        public java.lang.String getName() {
039            throw new InternalError("Stubbed method");
040        }
041        public void setName(java.lang.String value) {
042            throw new InternalError("Stubbed method");
043        }
044    
045        private Closure process = null;
046        public Closure getProcess() {
047            throw new InternalError("Stubbed method");
048        }
049        public void setProcess(Closure value) {
050            throw new InternalError("Stubbed method");
051        }
052    
053        private Closure verifier = null;
054        public Closure getVerifier() {
055            throw new InternalError("Stubbed method");
056        }
057        public void setVerifier(Closure value) {
058            throw new InternalError("Stubbed method");
059        }
060    
061        private int verifyWaitDelay = -1;
062        public int getVerifyWaitDelay() {
063            throw new InternalError("Stubbed method");
064        }
065        public void setVerifyWaitDelay(int value) {
066            throw new InternalError("Stubbed method");
067        }
068    
069        private int timeout = -1;
070        public int getTimeout() {
071            throw new InternalError("Stubbed method");
072        }
073        public void setTimeout(int value) {
074            throw new InternalError("Stubbed method");
075        }
076    
077        private boolean background = false;
078        public boolean getBackground() {
079            throw new InternalError("Stubbed method");
080        }
081        public boolean isBackground() {
082            throw new InternalError("Stubbed method");
083        }
084        public void setBackground(boolean value) {
085            throw new InternalError("Stubbed method");
086        }
087    
088        public java.lang.Object launch() {
089            throw new InternalError("Stubbed method");
090        }
091    
092        public groovy.lang.MetaClass getMetaClass() {
093            throw new InternalError("Stubbed method");
094        }
095    
096        public void setMetaClass(groovy.lang.MetaClass metaClass) {
097            throw new InternalError("Stubbed method");
098        }
099    
100        public java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args) {
101            throw new InternalError("Stubbed method");
102        }
103    
104        public java.lang.Object getProperty(java.lang.String name) {
105            throw new InternalError("Stubbed method");
106        }
107    
108        public void setProperty(java.lang.String name, java.lang.Object value) {
109            throw new InternalError("Stubbed method");
110        }
111    }