001 //
002 // Generated stub from file:/Users/bohn/Apache/tags-2.1.3/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/BaseJavaCommand.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 org.apache.geronimo.gshell.command.CommandSupport;
014 import org.apache.geronimo.gshell.command.CommandException;
015 import org.apache.geronimo.gshell.command.annotation.CommandComponent;
016 import org.apache.geronimo.gshell.command.annotation.Requirement;
017 import org.apache.geronimo.gshell.clp.Option;
018 import org.apache.tools.ant.ExitStatusException;
019 import org.apache.geronimo.commands.AntBuilder;
020 import org.apache.geronimo.gshell.shell.ShellInfo;
021
022 /**
023 * Support for commands which spin off a Java process.
024 *
025 * @version $Rev: 706640 $ $Date: 2008-10-21 14:44:05 +0000 (Tue, 21 Oct 2008) $
026 */
027 abstract public class BaseJavaCommand
028 extends CommandSupport
029 {
030 private AntBuilder ant = null;
031 public AntBuilder getAnt() {
032 throw new InternalError("Stubbed method");
033 }
034 public void setAnt(AntBuilder value) {
035 throw new InternalError("Stubbed method");
036 }
037
038 private ShellInfo shellInfo = null;
039 public ShellInfo getShellInfo() {
040 throw new InternalError("Stubbed method");
041 }
042 public void setShellInfo(ShellInfo value) {
043 throw new InternalError("Stubbed method");
044 }
045
046 private File geronimoHome = null;
047 public File getGeronimoHome() {
048 throw new InternalError("Stubbed method");
049 }
050 public void setGeronimoHome(File value) {
051 throw new InternalError("Stubbed method");
052 }
053
054 private File javaVirtualMachine = null;
055 public File getJavaVirtualMachine() {
056 throw new InternalError("Stubbed method");
057 }
058 public void setJavaVirtualMachine(File value) {
059 throw new InternalError("Stubbed method");
060 }
061
062 private java.lang.String javaAgent = null;
063 public java.lang.String getJavaAgent() {
064 throw new InternalError("Stubbed method");
065 }
066 public void setJavaAgent(java.lang.String value) {
067 throw new InternalError("Stubbed method");
068 }
069
070 private File logFile = null;
071 public File getLogFile() {
072 throw new InternalError("Stubbed method");
073 }
074 public void setLogFile(File value) {
075 throw new InternalError("Stubbed method");
076 }
077
078 private boolean background = false;
079 public boolean getBackground() {
080 throw new InternalError("Stubbed method");
081 }
082 public boolean isBackground() {
083 throw new InternalError("Stubbed method");
084 }
085 public void setBackground(boolean value) {
086 throw new InternalError("Stubbed method");
087 }
088
089 private int timeout = -1;
090 public int getTimeout() {
091 throw new InternalError("Stubbed method");
092 }
093 public void setTimeout(int value) {
094 throw new InternalError("Stubbed method");
095 }
096
097 private List profiles = null;
098 public List getProfiles() {
099 throw new InternalError("Stubbed method");
100 }
101 public void setProfiles(List value) {
102 throw new InternalError("Stubbed method");
103 }
104
105 private Map properties = null;
106 public Map getProperties() {
107 throw new InternalError("Stubbed method");
108 }
109 public void setProperties(Map value) {
110 throw new InternalError("Stubbed method");
111 }
112
113 private List javaFlags = null;
114 public List getJavaFlags() {
115 throw new InternalError("Stubbed method");
116 }
117 public void setJavaFlags(List value) {
118 throw new InternalError("Stubbed method");
119 }
120
121 private void appendProfile(java.lang.String name) {
122 throw new InternalError("Stubbed method");
123 }
124
125 protected void addPropertyFrom(final java.lang.String nameValue, final java.lang.String prefix) {
126 throw new InternalError("Stubbed method");
127 }
128
129 protected void setPropertyFrom(final java.lang.String nameValue) {
130 throw new InternalError("Stubbed method");
131 }
132
133 protected void setGeronimoPropertyFrom(final java.lang.String nameValue) {
134 throw new InternalError("Stubbed method");
135 }
136
137 protected File getJavaAgentJar() {
138 throw new InternalError("Stubbed method");
139 }
140
141 /**
142 * Process custom rc.d scripts.
143 */
144 protected void processScripts() {
145 throw new InternalError("Stubbed method");
146 }
147
148 protected java.lang.String prefixSystemPath(final java.lang.String name, final File file) {
149 throw new InternalError("Stubbed method");
150 }
151
152 public groovy.lang.MetaClass getMetaClass() {
153 throw new InternalError("Stubbed method");
154 }
155
156 public void setMetaClass(groovy.lang.MetaClass metaClass) {
157 throw new InternalError("Stubbed method");
158 }
159
160 public java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args) {
161 throw new InternalError("Stubbed method");
162 }
163
164 public java.lang.Object getProperty(java.lang.String name) {
165 throw new InternalError("Stubbed method");
166 }
167
168 public void setProperty(java.lang.String name, java.lang.Object value) {
169 throw new InternalError("Stubbed method");
170 }
171 }