package saker.nest.bundle
BundleDependency builder class.
| public Builder | Adds a bundle dependency kind. |
| public Builder | addMetaData( Adds a new meta-data entry. |
| public BundleDependency | build() Creates the bundle dependency based on the assigned data. |
| public Builder | Clears the previously set kinds. |
| public Builder | Clears the previously set meta-datas. |
| public boolean | hasMetaData( Checks if the argument meta-data is already present in this builder. |
| public Builder | setRange( Sets the version range. |
Adds a bundle dependency kind.
kindThe dependency kind.
thisNullPointerExceptionIf the argument is
null.Adds a new meta-data entry.
nameThe name of the meta-data.
contentThe value of the meta-data.
thisNullPointerExceptionIf any the arguments are
null.Creates the bundle dependency based on the assigned data.
The builder can be reused after this call.
The created dependency.
IllegalStateExceptionIf no version range was set, or no
kinds were specified.
Clears the previously set kinds.
thisClears the previously set meta-datas.
thisChecks if the argument meta-data is already present in this builder.
nameThe meta-data name.
true if it was already set.