@ProviderType
public interface UpdatableResourceGroup
Modifier and Type | Method and Description |
---|---|
@Nullable java.lang.String |
getAlias()
Get the current alias for this group.
|
@NotNull java.lang.String |
getId()
Get the unique id
|
@NotNull java.lang.String |
getResourceType()
Get the resource type of the group
|
void |
setAlias(@Nullable java.lang.String value)
Set the current alias for this group.
|
void |
setId(@NotNull java.lang.String id)
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.
|
@Nullable @Nullable java.lang.String getAlias()
null
.void setAlias(@Nullable @Nullable java.lang.String value)
value
- A new alias or null
.@NotNull @NotNull java.lang.String getResourceType()
@NotNull @NotNull java.lang.String getId()
void setId(@NotNull @NotNull java.lang.String id)
id
- The unique idjava.lang.IllegalArgumentException
- If id
is null
.void update()
Copyright © 2018 The Apache Software Foundation. All rights reserved.