ROOT
6.06/09
Reference Guide
|
Definition at line 36 of file TAlienPackage.h.
Public Member Functions | |
TAlienPackage () | |
TAlienPackage (const char *name, const char *version, const char *platform, const char *installationdirectory="/var/tmp/alien/packages") | |
Constructor of a AliEn package. More... | |
virtual | ~TAlienPackage () |
Destructor. More... | |
Bool_t | Enable () |
Install/enable an AliEn package on the local computer. More... | |
const char * | GetEnable () |
Return shell command to enable package. More... | |
Bool_t | Exec (const char *cmdline) |
Execute package command. More... | |
Bool_t | UnInstall () |
Uninstall a package e.g. remove it from the local disk. More... | |
Bool_t | ReInstall () |
Reinstalls a package e.g. uninstall + install. More... | |
Bool_t | CheckDependencies () |
Check the dependency packages of this package. More... | |
Bool_t | IsDirectory (const char *dir1, const char *str) |
Check that <str> is listed in GRID directory <dir1>. More... | |
Bool_t | CheckDirectories (TString name, TString version) |
Check the name and version directory of package/version given. More... | |
void | SetName (const TString &theValue) |
TString | GetName () const |
void | SetVersion (const TString &theValue) |
TString | GetVersion () const |
void | SetPlatform (const TString &theValue) |
TString | GetPlatform () const |
void | SetInstallationDirectory (const TString &theValue) |
TString | GetInstallationDirectory () const |
void | SetAliEnMainPackageDir (const TString &theValue) |
TString | GetAliEnMainPackageDir () const |
void | SetInstallList (TList *theValue) |
TList * | GetInstallList () const |
void | SetDebugLevel (Int_t &theValue) |
Int_t | GetDebugLevel () |
ClassDef (TAlienPackage, 0) | |
Private Member Functions | |
Bool_t | PostInstall (TString name, TString version) |
Execute post_install procedure for a package. More... | |
Bool_t | InstallSinglePackage (TString name, TString version, Bool_t isDep=kFALSE) |
Install a single package. More... | |
Bool_t | InstallAllPackages () |
Installs a package and all its direct dependencies. More... | |
#include <TAlienPackage.h>
TAlienPackage::TAlienPackage | ( | ) |
Referenced by InstallAllPackages().
TAlienPackage::TAlienPackage | ( | const char * | name, |
const char * | version, | ||
const char * | platform, | ||
const char * | installationdirectory = "/var/tmp/alien/packages" |
||
) |
Constructor of a AliEn package.
Definition at line 85 of file TAlienPackage.cxx.
|
virtual |
Destructor.
Definition at line 121 of file TAlienPackage.cxx.
Bool_t TAlienPackage::CheckDependencies | ( | ) |
Check the dependency packages of this package.
Definition at line 321 of file TAlienPackage.cxx.
Referenced by Enable().
Check the name and version directory of package/version given.
Definition at line 203 of file TAlienPackage.cxx.
Referenced by CheckDependencies(), and Enable().
TAlienPackage::ClassDef | ( | TAlienPackage | , |
0 | |||
) |
Bool_t TAlienPackage::Enable | ( | ) |
Install/enable an AliEn package on the local computer.
Definition at line 132 of file TAlienPackage.cxx.
Referenced by Exec(), InstallAllPackages(), and ReInstall().
Bool_t TAlienPackage::Exec | ( | const char * | cmdline | ) |
Execute package command.
Definition at line 294 of file TAlienPackage.cxx.
|
inline |
Definition at line 93 of file TAlienPackage.h.
Referenced by CheckDirectories().
|
inline |
Definition at line 101 of file TAlienPackage.h.
Referenced by CheckDependencies(), CheckDirectories(), Enable(), InstallAllPackages(), InstallSinglePackage(), PostInstall(), and ~TAlienPackage().
const char * TAlienPackage::GetEnable | ( | ) |
Return shell command to enable package.
Definition at line 160 of file TAlienPackage.cxx.
|
inline |
Definition at line 89 of file TAlienPackage.h.
|
inline |
Definition at line 97 of file TAlienPackage.h.
|
inline |
Definition at line 77 of file TAlienPackage.h.
|
inline |
Definition at line 85 of file TAlienPackage.h.
Referenced by CheckDirectories().
|
inline |
Definition at line 81 of file TAlienPackage.h.
|
private |
Installs a package and all its direct dependencies.
Definition at line 479 of file TAlienPackage.cxx.
Referenced by Enable().
|
private |
Install a single package.
Definition at line 388 of file TAlienPackage.cxx.
Referenced by InstallAllPackages().
Bool_t TAlienPackage::IsDirectory | ( | const char * | dir1, |
const char * | str | ||
) |
Check that <str> is listed in GRID directory <dir1>.
Definition at line 186 of file TAlienPackage.cxx.
Referenced by CheckDirectories().
Execute post_install procedure for a package.
Definition at line 250 of file TAlienPackage.cxx.
Referenced by InstallSinglePackage().
Bool_t TAlienPackage::ReInstall | ( | ) |
Reinstalls a package e.g. uninstall + install.
Definition at line 237 of file TAlienPackage.cxx.
Definition at line 91 of file TAlienPackage.h.
Definition at line 99 of file TAlienPackage.h.
Definition at line 87 of file TAlienPackage.h.
Definition at line 95 of file TAlienPackage.h.
Definition at line 75 of file TAlienPackage.h.
Definition at line 83 of file TAlienPackage.h.
Definition at line 79 of file TAlienPackage.h.
Bool_t TAlienPackage::UnInstall | ( | ) |
Uninstall a package e.g. remove it from the local disk.
Definition at line 172 of file TAlienPackage.cxx.
Referenced by ReInstall().
|
private |
Definition at line 43 of file TAlienPackage.h.
Referenced by CheckDependencies(), GetAliEnMainPackageDir(), InstallSinglePackage(), PostInstall(), and TAlienPackage().
|
private |
Definition at line 48 of file TAlienPackage.h.
Referenced by GetDebugLevel().
|
private |
Definition at line 45 of file TAlienPackage.h.
Referenced by GetEnable(), and TAlienPackage().
|
private |
Definition at line 49 of file TAlienPackage.h.
Referenced by Enable(), Exec(), TAlienPackage(), and UnInstall().
|
private |
Definition at line 42 of file TAlienPackage.h.
Referenced by Enable(), GetEnable(), GetInstallationDirectory(), InstallSinglePackage(), PostInstall(), TAlienPackage(), and UnInstall().
|
private |
Definition at line 46 of file TAlienPackage.h.
Referenced by CheckDependencies(), Enable(), GetInstallList(), InstallAllPackages(), TAlienPackage(), and ~TAlienPackage().
|
private |
Definition at line 39 of file TAlienPackage.h.
Referenced by CheckDependencies(), Enable(), Exec(), GetEnable(), GetName(), InstallAllPackages(), TAlienPackage(), UnInstall(), and ~TAlienPackage().
|
private |
Definition at line 47 of file TAlienPackage.h.
Referenced by Exec(), InstallAllPackages(), and TAlienPackage().
|
private |
Definition at line 41 of file TAlienPackage.h.
Referenced by Enable(), GetPlatform(), InstallAllPackages(), InstallSinglePackage(), TAlienPackage(), and ~TAlienPackage().
|
private |
Definition at line 44 of file TAlienPackage.h.
Referenced by InstallSinglePackage(), PostInstall(), and TAlienPackage().
|
private |
Definition at line 40 of file TAlienPackage.h.
Referenced by CheckDependencies(), Enable(), Exec(), GetEnable(), GetVersion(), InstallAllPackages(), TAlienPackage(), UnInstall(), and ~TAlienPackage().