Class Utilities


  • public class Utilities
    extends java.lang.Object
    Run level service related utilities.
    • Constructor Summary

      Constructors 
      Constructor Description
      Utilities()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int getRunLevelMode​(ServiceLocator locator, Descriptor descriptor, java.lang.Integer modeOverride)
      Get the run level mode from the metadata of the given descriptor.
      static int getRunLevelValue​(ServiceLocator locator, Descriptor descriptor)
      Get the run level value from the metadata of the given descriptor.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Utilities

        public Utilities()
    • Method Detail

      • getRunLevelValue

        public static int getRunLevelValue​(ServiceLocator locator,
                                           Descriptor descriptor)
        Get the run level value from the metadata of the given descriptor.
        Parameters:
        descriptor - the descriptor to get the run level for
        Returns:
        the run level
      • getRunLevelMode

        public static int getRunLevelMode​(ServiceLocator locator,
                                          Descriptor descriptor,
                                          java.lang.Integer modeOverride)
        Get the run level mode from the metadata of the given descriptor.
        Parameters:
        descriptor - the descriptor
        Returns:
        the mode