nest.repository.support Documentation TaskDoc JavaDoc Packages
public final class BundlePropertyUtils
Utility class for working with properties related to saker.nest bundles.
Methods
public static ExecutionProperty<extends BundleContentDescriptorPropertyValue>
Gets an execution property that returns the contents descriptor and bundle reference for a bundle key.
public static ExecutionProperty<extends BundleContentDescriptorPathPropertyValue>
Gets an execution property that returns the contents descriptor and the local file system path of the bundle for a bundle key.
public static ExecutionProperty<extends BundleIdentifier>
Gets an execution property that returns the documentation attachment bundle identifier for a given bundle.
public static ExecutionProperty<extends BundleKey>
Gets an execution property that looks up the BundleKey for a BundleIdentifier.
public static ExecutionProperty<extends BundleIdentifier>
Gets an execution property that returns the source attachment bundle identifier for a given bundle.
Gets an execution property that returns the contents descriptor and bundle reference for a bundle key.

The execution property will load the specified bundle and return an object that provides access to the content descriptor and NestRepositoryBundle instance for the bundle.

bundlekeyThe bundle key.
The execution property.
NullPointerExceptionIf the argument is null.
Gets an execution property that returns the contents descriptor and the local file system path of the bundle for a bundle key.

Computing the value of the execution property will cause the bundle to be localized if it is not present in the local file system. (E.g. available from a server)

bundlekeyThe bundle key.
The execution property.
NullPointerExceptionIf the argument is null.
Gets an execution property that returns the documentation attachment bundle identifier for a given bundle.

The execution property will retrieve the bundle information using BundleStorageView.getBundleInformation(BundleIdentifier) from the associated storage view, and get the documentation attachment bundle identifier from it.

bundleThe bundle key for the bundle.
The execution property.
NullPointerExceptionIf the argument is null.
Gets an execution property that looks up the BundleKey for a BundleIdentifier.

The execution property will find the bundle for the specified bundle identifier. It uses the root bundle lookup to find the bundle.

The lookup has the same semantics as BundleLookup.lookupBundleInformation(BundleIdentifier).

bundleidThe identifier of the bundle.
The execution property.
NullPointerExceptionIf the argument is null.
Gets an execution property that returns the source attachment bundle identifier for a given bundle.

The execution property will retrieve the bundle information using BundleStorageView.getBundleInformation(BundleIdentifier) from the associated storage view, and get the source attachment bundle identifier from it.

bundleThe bundle key for the bundle.
The execution property.
NullPointerExceptionIf the argument is null.