ij-16.png   inspectorJ -- JavaTM Profiler
sf project site browse source checkout source
SourceForge.net Logo



src/inspectorj/client/sessionprofile.cpp

Go to the documentation of this file.
00001 /***************************************************************************
00002 *   inspectorJ - java profiler                                            *
00003 *   Copyright (C) 2007 by James May                                       *
00004 *                                                                         *
00005 *   This program is free software; you can redistribute it and/or modify  *
00006 *   it under the terms of the GNU General Public License as published by  *
00007 *   the Free Software Foundation; either version 2 of the License, or     *
00008 *   (at your option) any later version.                                   *
00009 *                                                                         *
00010 *   This program is distributed in the hope that it will be useful,       *
00011 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00012 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00013 *   GNU General Public License for more details.                          *
00014 *                                                                         *
00015 *   You should have received a copy of the GNU General Public License     *
00016 *   along with this program; if not, write to the                         *
00017 *   Free Software Foundation, Inc.,                                       *
00018 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00019 ***************************************************************************/
00020 
00027 #include "inspectorj/client/sessionprofile.h"
00028 
00029 namespace inspectorj {
00030 namespace client {
00031 
00035 SessionProfile::SessionProfile()
00036 {
00037 }
00038 
00042 SessionProfile::~SessionProfile()
00043 {
00044 }
00045 
00050 void SessionProfile::setName(QString name)
00051 {
00052     this->name = name;
00053 }
00054 
00059 void SessionProfile::setFileName(QString name)
00060 {
00061     this->fileName = name;
00062 }
00063 
00068 void SessionProfile::setConnection(ijConnection connection)
00069 {
00070     this->connection = connection;
00071 }
00072 
00077 void SessionProfile::setClassFilters(QStringList classFilters)
00078 {
00079     this->classFilters = classFilters;
00080 }
00081 
00085 QString SessionProfile::getName()
00086 {
00087     return name;
00088 }
00089 
00093 QString SessionProfile::getFileName()
00094 {
00095     return fileName;
00096 }
00097 
00101 ijConnection SessionProfile::getConnection()
00102 {
00103     return connection;
00104 }
00105 
00109 QStringList SessionProfile::getClassFilters()
00110 {
00111     return classFilters;
00112 }
00113 
00117 void SessionProfile::addFilter(QString filterString)
00118 {
00119     this->classFilters << filterString;
00120 }
00121 
00125 void SessionProfile::removeFilter(QString filterString)
00126 {
00127     this->classFilters.removeAll(filterString);
00128 }
00129 
00134 QStringList SessionProfile::getClassPath()
00135 {
00136     return classPath;
00137 }
00138 
00143 QString SessionProfile::getJavaOptions()
00144 {
00145     return javaOptions;
00146 }
00147 
00152 QString SessionProfile::getApplicationArgs()
00153 {
00154     return applicationArgs;
00155 }
00156 
00161 QString SessionProfile::getApplicationEntry()
00162 {
00163     return applicationEntry;
00164 }
00165 
00170 QString SessionProfile::getJreHome()
00171 {
00172     return jreHome;
00173 }
00174 
00180 bool SessionProfile::isExternalLaunch()
00181 {
00182     return externalLaunch;
00183 }
00184 
00189 bool SessionProfile::isJarFile()
00190 {
00191     return jarFile;
00192 }
00193 
00198 bool SessionProfile::isTomcatApp()
00199 {
00200     return tomcatApp;
00201 }
00202 
00207 void SessionProfile::setClassPath(QStringList list)
00208 {
00209     this->classPath = list;
00210 }
00211 
00216 void SessionProfile::setJavaOptions(QString opts)
00217 {
00218     this->javaOptions = opts;
00219 }
00220 
00225 void SessionProfile::setApplicationArgs(QString args)
00226 {
00227     this->applicationArgs = args;
00228 }
00229 
00234 void SessionProfile::setApplicationEntry(QString entry)
00235 {
00236     this->applicationEntry = entry;
00237 }
00238 
00243 void SessionProfile::setJreHome(QString home)
00244 {
00245     this->jreHome = home;
00246 }
00247 
00252 void SessionProfile::setTomcatApp(bool tomcatApp)
00253 {
00254     this->tomcatApp = tomcatApp;
00255 }
00256 
00261 void SessionProfile::setJarFile(bool jarFile)
00262 {
00263     this->jarFile = jarFile;
00264 }
00265 
00272 void SessionProfile::setExternalLaunch(bool externalLaunch)
00273 {
00274     this->externalLaunch = externalLaunch;
00275 }
00276 
00277 } // end namespace client
00278 } // end namespace inspectorj
00279 

Generated on Sun Aug 19 17:07:53 2007 for inspectorJ by  doxygen 1.5.1