Package edu.uiuc.ncsa.security.installer
Class DirectoryEntry
- java.lang.Object
-
- edu.uiuc.ncsa.security.installer.DirectoryEntry
-
public class DirectoryEntry extends Object
This models a set of directory entries on the target system. There may be several of these that point to the same directory, each with different properties (e.g. a set of executables, a set of config files.) This has the same flags as each individual file, meaning every file in the target directory is processed the same, unless the file is specifically overridden. files, etc).Created by Jeff Gaynor
on 6/13/24 at 11:28 AM
-
-
Constructor Summary
Constructors Constructor Description DirectoryEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,FileEntry>
getFilePermissions()
These are only processed for zip archives.List<FileEntryInterface>
getFiles()
List<String>
getIgnoredDirectories()
Sniff through the excluded files and returns the ones that end in /, i.e., the directories.List<String>
getIgnoredFiles()
In jar archives, a list of files and directories to ignoreString
getSourceURL()
String
getTargetDir()
boolean
hasExcludedFiles()
boolean
hasExecutable()
boolean
hasFilePermssions()
boolean
hasFiles()
boolean
hasUpdateable()
boolean
hasUseTemplates()
Boolean
isExecutable()
Boolean
isUpdateable()
Boolean
isUseTemplates()
void
setExecutable(Boolean executable)
void
setFilePermissions(Map<String,FileEntry> filePermissions)
void
setFiles(List<FileEntryInterface> files)
void
setIgnoredFiles(List<String> ignoredFiles)
void
setSourceURL(String sourceURL)
void
setTargetDir(String targetDir)
void
setUpdateable(Boolean updateable)
void
setUseTemplates(Boolean useTemplates)
int
size()
-
-
-
Method Detail
-
getSourceURL
public String getSourceURL()
-
setSourceURL
public void setSourceURL(String sourceURL)
-
size
public int size()
-
getTargetDir
public String getTargetDir()
-
setTargetDir
public void setTargetDir(String targetDir)
-
hasExecutable
public boolean hasExecutable()
-
hasUseTemplates
public boolean hasUseTemplates()
-
hasUpdateable
public boolean hasUpdateable()
-
hasFiles
public boolean hasFiles()
-
isExecutable
public Boolean isExecutable()
-
setExecutable
public void setExecutable(Boolean executable)
-
isUseTemplates
public Boolean isUseTemplates()
-
setUseTemplates
public void setUseTemplates(Boolean useTemplates)
-
isUpdateable
public Boolean isUpdateable()
-
setUpdateable
public void setUpdateable(Boolean updateable)
-
getFiles
public List<FileEntryInterface> getFiles()
-
setFiles
public void setFiles(List<FileEntryInterface> files)
-
getIgnoredFiles
public List<String> getIgnoredFiles()
In jar archives, a list of files and directories to ignore- Returns:
-
hasExcludedFiles
public boolean hasExcludedFiles()
-
hasFilePermssions
public boolean hasFilePermssions()
-
getFilePermissions
public Map<String,FileEntry> getFilePermissions()
These are only processed for zip archives.- Returns:
-
-