com.netflix.karyon.server.utils
Class KaryonUtils

java.lang.Object
  extended by com.netflix.karyon.server.utils.KaryonUtils

public class KaryonUtils
extends java.lang.Object

Utility methods for karyon


Constructor Summary
KaryonUtils()
           
 
Method Summary
static boolean isCoreComponentEnabled(java.lang.String componentName)
          Karyon provides a few core components like eureka which can be enabled/disabled using a property of the form: PropertyNames.KARYON_PROPERTIES_PREFIX.[component_name].disable with the value set to true for disabling.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KaryonUtils

public KaryonUtils()
Method Detail

isCoreComponentEnabled

public static boolean isCoreComponentEnabled(java.lang.String componentName)
Karyon provides a few core components like eureka which can be enabled/disabled using a property of the form: PropertyNames.KARYON_PROPERTIES_PREFIX.[component_name].disable with the value set to true for disabling. By default all core components are enabled.

Parameters:
componentName - Name of the component for which the flag is to be retrieved.
Returns:
true if the component is enabled.