Method and Description |
---|
io.wcm.wcm.commons.util.RunMode.disableIfNoRunModeActive(Set<String>, String[], ComponentContext, Logger)
Instead of directly using the run modes, it is better to make the component in question require a
configuration (see OSGI Declarative Services Spec: configuration policy). In this case, a component
gets only active if a configuration is available. Such a configuration can be put into the repository
for the specific run mode.
|
io.wcm.wcm.commons.util.RunMode.disableIfNotAuthor(Set<String>, ComponentContext, Logger)
Instead of directly using the run modes, it is better to make the component in question require a
configuration (see OSGI Declarative Services Spec: configuration policy). In this case, a component
gets only active if a configuration is available. Such a configuration can be put into the repository
for the specific run mode.
|
io.wcm.wcm.commons.util.RunMode.disableIfNotPublish(Set<String>, ComponentContext, Logger)
Instead of directly using the run modes, it is better to make the component in question require a
configuration (see OSGI Declarative Services Spec: configuration policy). In this case, a component
gets only active if a configuration is available. Such a configuration can be put into the repository
for the specific run mode.
|
io.wcm.wcm.commons.contenttype.FileExtension.getFlashFileExtensions()
Use
io.wcm.handler.media.MediaFileType.getFlashFileExtensions instead. |
io.wcm.wcm.commons.contenttype.FileExtension.getImageFileExtensions()
Use
io.wcm.handler.media.MediaFileType.getImageFileExtensions instead. |
io.wcm.wcm.commons.util.RunMode.is(Set<String>, String...)
Instead of directly using the run modes, it is better to make the component in question require a
configuration (see OSGI Declarative Services Spec: configuration policy). In this case, a component
gets only active if a configuration is available. Such a configuration can be put into the repository
for the specific run mode.
|
io.wcm.wcm.commons.util.RunMode.isAuthor(Set<String>)
Instead of directly using the run modes, it is better to make the component in question require a
configuration (see OSGI Declarative Services Spec: configuration policy). In this case, a component
gets only active if a configuration is available. Such a configuration can be put into the repository
for the specific run mode.
|
io.wcm.wcm.commons.contenttype.FileExtension.isFlash(String)
Use
io.wcm.handler.media.MediaFileType.isFlash instead. |
io.wcm.wcm.commons.contenttype.FileExtension.isImage(String)
Use
io.wcm.handler.media.MediaFileType.isImage instead. |
io.wcm.wcm.commons.util.RunMode.isPublish(Set<String>)
Instead of directly using the run modes, it is better to make the component in question require a
configuration (see OSGI Declarative Services Spec: configuration policy). In this case, a component
gets only active if a configuration is available. Such a configuration can be put into the repository
for the specific run mode.
|
Copyright © 2014–2019 wcm.io. All rights reserved.