public interface WorkspaceCustomizationContext extends CustomizationContext
| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE
The context type returned that must be returned by implementations of the
CustomizationContext.getContextType() method. |
| Modifier and Type | Method and Description |
|---|---|
<S> Customization<S> |
customize(String name,
ContentType<S> contentType,
String contentId,
S state)
Configure a root customization for the specified content.
|
<S> Customization<S> |
customize(String name,
Customization<S> customization)
Configure a customization for extending the specified customization.
|
Customization<?> |
getCustomization(String name)
The root customization.
|
String |
nameOf(Customization customization)
Returns the customization name related to this context or null if the customization is not related to this
context.
|
contains, getContextId, getContextTypestatic final String TYPE
CustomizationContext.getContextType() method.Customization<?> getCustomization(String name)
name - the customization name<S> Customization<S> customize(String name, ContentType<S> contentType, String contentId, S state)
S - the content state typa parametername - the customization namecontentType - the content typecontentId - the content idstate - the customization state<S> Customization<S> customize(String name, Customization<S> customization)
S - the content state typa parametername - the customization namecustomization - the customization to extendString nameOf(Customization customization)
customization - the customization related to this contextCopyright © 2025 JBoss by Red Hat. All Rights Reserved.