Class GrouperInstallerIndexFile
java.lang.Object
edu.internet2.middleware.grouperInstaller.GrouperInstallerIndexFile
when indexing a file, keep track of the name, file, type, etc
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
type of patch file -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompute sha1errors to print when there is an errorgetFile()
reference to the file object itselftype of filegetPath()
path from the project directory for the filerelative path is path from patch dir (e.g.name and extension of fileboolean
if there are multiple files by path from start of projectboolean
if there are multiple files by relative path (in the patch)boolean
if there are multiple files by this simplenamevoid
setErrors
(StringBuilder errors1) errors to print when there is an errorvoid
reference to the file object itselfvoid
setHasMultipleFilesByPath
(boolean hasMultipleFilesByPath1) if there are multiple files by path from start of projectvoid
setHasMultipleFilesByRelativePath
(boolean hasMultipleFilesByRelativePath1) if there are multiple files by relative path (in the patch)void
setHasMultipleFilesBySimpleName
(boolean hasMultipleFilesBysimpleName1) if there are multiple files by this simplenamevoid
setPatchFileType
(GrouperInstallerIndexFile.PatchFileType patchFileType1) type of filevoid
path from the project directory for the filevoid
setRelativePath
(String relativePath1) relative path is path from patch dir (e.g.void
setSimpleName
(String simpleName1) name and extension of filetoString()
-
Constructor Details
-
GrouperInstallerIndexFile
public GrouperInstallerIndexFile()
-
-
Method Details
-
getErrors
errors to print when there is an error- Returns:
- the errors
-
setErrors
errors to print when there is an error- Parameters:
errors1
- the errors to set
-
isHasMultipleFilesByRelativePath
public boolean isHasMultipleFilesByRelativePath()if there are multiple files by relative path (in the patch)- Returns:
- the hasMultipleFilesByRelativePath
-
setHasMultipleFilesByRelativePath
public void setHasMultipleFilesByRelativePath(boolean hasMultipleFilesByRelativePath1) if there are multiple files by relative path (in the patch)- Parameters:
hasMultipleFilesByRelativePath1
- the hasMultipleFilesByRelativePath to set
-
isHasMultipleFilesBySimpleName
public boolean isHasMultipleFilesBySimpleName()if there are multiple files by this simplename- Returns:
- the hasMultipleFilesBysimpleName
-
setHasMultipleFilesBySimpleName
public void setHasMultipleFilesBySimpleName(boolean hasMultipleFilesBysimpleName1) if there are multiple files by this simplename- Parameters:
hasMultipleFilesBysimpleName1
- the hasMultipleFilesBysimpleName to set
-
getRelativePath
relative path is path from patch dir (e.g. inside files or classes)- Returns:
- the relativePath
-
toString
-
setRelativePath
relative path is path from patch dir (e.g. inside files or classes)- Parameters:
relativePath1
- the relativePath to set
-
isHasMultipleFilesByPath
public boolean isHasMultipleFilesByPath()if there are multiple files by path from start of project- Returns:
- the hasMultipleFilesByPath
-
setHasMultipleFilesByPath
public void setHasMultipleFilesByPath(boolean hasMultipleFilesByPath1) if there are multiple files by path from start of project- Parameters:
hasMultipleFilesByPath1
- the hasMultipleFilesByPath to set
-
getSimpleName
name and extension of file- Returns:
- the simpleName
-
setSimpleName
name and extension of file- Parameters:
simpleName1
- the simpleName to set
-
getPatchFileType
type of file- Returns:
- the patchFileType
-
setPatchFileType
type of file- Parameters:
patchFileType1
- the patchFileType to set
-
getPath
path from the project directory for the file- Returns:
- the path
-
setPath
path from the project directory for the file- Parameters:
path1
- the path to set
-
getFile
reference to the file object itself- Returns:
- the file
-
setFile
reference to the file object itself- Parameters:
file1
- the file to set
-
computeSha1
compute sha1- Returns:
- the hex sha1
-