Class GrouperInstallerIndexFile

java.lang.Object
edu.internet2.middleware.grouperInstaller.GrouperInstallerIndexFile

public class GrouperInstallerIndexFile extends Object
when indexing a file, keep track of the name, file, type, etc
  • Constructor Details

    • GrouperInstallerIndexFile

      public GrouperInstallerIndexFile()
  • Method Details

    • getErrors

      public StringBuilder getErrors()
      errors to print when there is an error
      Returns:
      the errors
    • setErrors

      public void setErrors(StringBuilder errors1)
      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

      public String getRelativePath()
      relative path is path from patch dir (e.g. inside files or classes)
      Returns:
      the relativePath
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also:
    • setRelativePath

      public void setRelativePath(String relativePath1)
      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

      public String getSimpleName()
      name and extension of file
      Returns:
      the simpleName
    • setSimpleName

      public void setSimpleName(String simpleName1)
      name and extension of file
      Parameters:
      simpleName1 - the simpleName to set
    • getPatchFileType

      public GrouperInstallerIndexFile.PatchFileType getPatchFileType()
      type of file
      Returns:
      the patchFileType
    • setPatchFileType

      public void setPatchFileType(GrouperInstallerIndexFile.PatchFileType patchFileType1)
      type of file
      Parameters:
      patchFileType1 - the patchFileType to set
    • getPath

      public String getPath()
      path from the project directory for the file
      Returns:
      the path
    • setPath

      public void setPath(String path1)
      path from the project directory for the file
      Parameters:
      path1 - the path to set
    • getFile

      public File getFile()
      reference to the file object itself
      Returns:
      the file
    • setFile

      public void setFile(File file1)
      reference to the file object itself
      Parameters:
      file1 - the file to set
    • computeSha1

      public String computeSha1()
      compute sha1
      Returns:
      the hex sha1