public class DefaultMuleTogglzFeatureProvider extends Object implements MuleTogglzFeatureProvider
FeatureProvider for the Mule Runtime.| Modifier and Type | Field and Description |
|---|---|
static String |
ARGUMENT_MUST_BE_ENUM |
static String |
CONSUMER_NAME_MUST_NOT_BE_NULL |
static String |
FEATURE_ENUMS_NOT_NULL |
static String |
FEATURE_HAS_ALREADY_BEEN_ADDED |
static String |
FEATURE_NAME_MUST_NOT_BE_NULL |
static String |
RUNTIME_FEATURE_NOT_REGISTERED |
| Constructor and Description |
|---|
DefaultMuleTogglzFeatureProvider(Class<? extends org.togglz.core.Feature> initialFeatureEnum) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFeatureEnum(Class<? extends org.togglz.core.Feature> featureEnum)
Adds as
Feature's each of the enums items provided by the class. |
Collection<MuleTogglzProfilingFeature> |
getConsumerFeaturesFor(org.mule.runtime.api.profiling.type.ProfilingEventType<?> profilingEventType) |
org.togglz.core.Feature |
getFeature(String featureName)
returns a
Feature by name |
Set<org.togglz.core.Feature> |
getFeatures() |
org.togglz.core.metadata.FeatureMetaData |
getMetaData(org.togglz.core.Feature feature) |
MuleTogglzProfilingFeature |
getOrRegisterProfilingTogglzFeatureFrom(org.mule.runtime.api.profiling.type.ProfilingEventType<?> profilingEventType,
String consumerName)
Registers a Togglz
Feature associated to a ProfilingEventType and a
ProfilingDataConsumer |
MuleTogglzRuntimeFeature |
getOrRegisterRuntimeTogglzFeatureFrom(org.mule.runtime.api.config.Feature feature)
Gets a Togglz feature associated with a
Feature |
org.togglz.core.Feature |
getRuntimeTogglzFeature(org.mule.runtime.api.config.Feature feature)
Gets a
Feature associated with a Feature |
public static final String RUNTIME_FEATURE_NOT_REGISTERED
public static final String FEATURE_ENUMS_NOT_NULL
public static final String ARGUMENT_MUST_BE_ENUM
public static final String FEATURE_HAS_ALREADY_BEEN_ADDED
public static final String CONSUMER_NAME_MUST_NOT_BE_NULL
public static final String FEATURE_NAME_MUST_NOT_BE_NULL
public DefaultMuleTogglzFeatureProvider(Class<? extends org.togglz.core.Feature> initialFeatureEnum)
public void addFeatureEnum(Class<? extends org.togglz.core.Feature> featureEnum)
Feature's each of the enums items provided by the class.featureEnum - the class containing the enumpublic Set<org.togglz.core.Feature> getFeatures()
getFeatures in interface org.togglz.core.spi.FeatureProviderpublic org.togglz.core.metadata.FeatureMetaData getMetaData(org.togglz.core.Feature feature)
getMetaData in interface org.togglz.core.spi.FeatureProviderpublic org.togglz.core.Feature getRuntimeTogglzFeature(org.mule.runtime.api.config.Feature feature)
MuleTogglzFeatureProviderFeature associated with a FeaturegetRuntimeTogglzFeature in interface MuleTogglzFeatureProviderfeature - the runtime FeatureFeaturepublic MuleTogglzRuntimeFeature getOrRegisterRuntimeTogglzFeatureFrom(org.mule.runtime.api.config.Feature feature)
MuleTogglzFeatureProviderFeaturegetOrRegisterRuntimeTogglzFeatureFrom in interface MuleTogglzFeatureProviderfeature - the runtime FeatureFeature. If the feature is already registered it returns the corresponding togglz feature.public MuleTogglzProfilingFeature getOrRegisterProfilingTogglzFeatureFrom(org.mule.runtime.api.profiling.type.ProfilingEventType<?> profilingEventType, String consumerName)
MuleTogglzFeatureProviderFeature associated to a ProfilingEventType and a
ProfilingDataConsumergetOrRegisterProfilingTogglzFeatureFrom in interface MuleTogglzFeatureProviderprofilingEventType - the ProfilingEventType.consumerName - the id associated to a ProfilingDataConsumerFeaturepublic Collection<MuleTogglzProfilingFeature> getConsumerFeaturesFor(org.mule.runtime.api.profiling.type.ProfilingEventType<?> profilingEventType)
public org.togglz.core.Feature getFeature(String featureName)
MuleTogglzFeatureProviderFeature by namegetFeature in interface MuleTogglzFeatureProviderfeatureName - the name for the featureFeatureCopyright © 2003–2024 MuleSoft, Inc.. All rights reserved.