Class LocalPackageImpl

    • Constructor Detail

      • LocalPackageImpl

        public LocalPackageImpl()
    • Method Detail

      • getLocation

        @NonNull
        public java.nio.file.Path getLocation()
        Description copied from interface: LocalPackage
        Gets the installed location of this package.
        Specified by:
        getLocation in interface LocalPackage
      • setInstalledPath

        public void setInstalledPath​(@NonNull
                                     java.nio.file.Path path)
        Description copied from interface: LocalPackage
        Specifies the path at which this package is installed. This should be called directly after the package is created.
        Specified by:
        setInstalledPath in interface LocalPackage
      • asMarshallable

        @NonNull
        public RepoPackageImpl asMarshallable()
        Description copied from interface: RepoPackage
        Returns a package with the same content as this one that can be marshalled using JAXB (or this if it already can be marshalled).
        Specified by:
        asMarshallable in interface RepoPackage