Class UpdateOptions

    • Field Detail

      • pkgId

        protected String pkgId
        TYhe package ID
      • file

        protected File file
        The jar file to be installed for this version
      • nameWithoutVersion

        protected String nameWithoutVersion
        The file name without the version
      • version

        protected String version
        The version of this update file (including classifier)
      • targetFile

        protected File targetFile
        Where the update file will be installed
      • targetDir

        protected File targetDir
        The directory where this file will be installed
      • allowDowngrade

        protected boolean allowDowngrade
        Allow install of a lower version
      • upgradeOnly

        protected boolean upgradeOnly
        Install only if already installed
      • deleteOnExit

        protected boolean deleteOnExit
    • Constructor Detail

      • UpdateOptions

        protected UpdateOptions()
    • Method Detail

      • getFile

        public File getFile()
      • getTargetDir

        public File getTargetDir()
      • getTargetFile

        public File getTargetFile()
      • getVersion

        public String getVersion()
      • isSnapshotVersion

        public boolean isSnapshotVersion()
      • getPackageId

        public String getPackageId()
      • setUpgradeOnly

        public void setUpgradeOnly​(boolean upgradeOnly)
      • setAllowDowngrade

        public void setAllowDowngrade​(boolean allowDowngrade)
      • isUpgradeOnly

        public boolean isUpgradeOnly()
      • isAllowDowngrade

        public boolean isAllowDowngrade()
      • setDeleteOnExit

        public void setDeleteOnExit​(boolean deleteOnExit)
      • isDeleteOnExit

        public boolean isDeleteOnExit()