Node Director
|
accepts a ZIP archive as the input file and extracts it into a given directory. More...
Public Member Functions | |
void | setJob (RemoteJob job) |
boolean | is (String flag, boolean defaultVal) |
void | setPerms (File target) throws DirectorException |
void | exec () throws DirectorException |
Static Public Member Functions | |
static String | mangleName (String name) |
Protected Attributes | |
RemoteJob | job = null |
Vector | apps = new Vector() |
accepts a ZIP archive as the input file and extracts it into a given directory.
Job Arguments:
void sfi.director.application.executor.InstallFromZIP.exec | ( | ) | throws DirectorException |
Implements sfi.director.executor.GenericConnection.
Reimplemented in sfi.director.application.executor.InstallFromArchive.
References sfi.director.retriever.RemoteFile.connectRetrieve(), sfi.director.util.Tools.copyData(), sfi.director.util.Setup.fileSeparator, sfi.director.jobs.RemoteJob.getArgument(), sfi.director.retriever.RetrieverManager.getConnection(), sfi.director.jobs.RemoteJob.getInputFile(), sfi.director.application.executor.InstallFromZIP.is(), sfi.director.application.executor.InstallFromZIP.job, sfi.director.util.Tools.log(), sfi.director.application.executor.InstallFromZIP.mangleName(), sfi.director.util.Logger.NOTICE, sfi.director.application.executor.InstallFromZIP.setPerms(), and sfi.director.util.Logger.WARNING.
boolean sfi.director.application.executor.InstallFromZIP.is | ( | String | flag, |
boolean | defaultVal | ||
) |
|
static |
void sfi.director.application.executor.InstallFromZIP.setJob | ( | RemoteJob | job | ) |
Implements sfi.director.executor.GenericConnection.
References sfi.director.application.executor.InstallFromZIP.job.
void sfi.director.application.executor.InstallFromZIP.setPerms | ( | File | target | ) | throws DirectorException |
References sfi.director.system.Files.chgrp(), sfi.director.system.Files.chmod(), sfi.director.system.Files.chown(), sfi.director.jobs.RemoteJob.getArgument(), sfi.director.application.executor.InstallFromZIP.job, sfi.director.system.FileStats.setGroupId(), sfi.director.system.FileStats.setOwnerUid(), and sfi.director.system.FileStats.setPerms().
Referenced by sfi.director.application.executor.InstallFromArchive.exec(), and sfi.director.application.executor.InstallFromZIP.exec().
|
protected |
|
protected |
Referenced by sfi.director.application.executor.InstallFromArchive.exec(), sfi.director.application.executor.InstallFromZIP.exec(), sfi.director.application.executor.InstallFromZIP.is(), sfi.director.application.executor.InstallFromZIP.setJob(), and sfi.director.application.executor.InstallFromZIP.setPerms().