Interface UpdatableResourceGroup
@ProviderType
public interface UpdatableResourceGroup
This is a group of resources all pointing to the same artifact,
but maybe in different versions or locations.
This object allows to update the alias and the resource id of
the group as a whole.
- Since:
- 1.5.0
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
getAlias()
Get the current alias for this group.@NotNull String
getId()
Get the unique id@NotNull String
Get the resource type of the groupvoid
Set the current alias for this group.void
Set a new unique id.void
update()
Update the OSGi installer with the new information If this method is not called, changed made through the setter methods are discarded.
-
Method Details
-
getAlias
Get the current alias for this group.- Returns:
- The alias or
null
.
-
setAlias
Set the current alias for this group.- Parameters:
value
- A new alias ornull
.
-
getResourceType
Get the resource type of the group- Returns:
- The resource type.
-
getId
Get the unique id- Returns:
- The unique id
-
setId
Set a new unique id.- Parameters:
id
- The unique id- Throws:
IllegalArgumentException
- Ifid
isnull
.
-
update
void update()Update the OSGi installer with the new information If this method is not called, changed made through the setter methods are discarded.
-