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.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.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–2018 wcm.io. All rights reserved.