Class ServiceStatus

    • Constructor Detail

      • ServiceStatus

        @ConstructorProperties({"id","parentId","childrenIds","requiredValues","providedValues","missingValues","serviceMode","serviceState","startException"})
        public ServiceStatus​(String id,
                             String parentId,
                             String[] childrenIds,
                             String[] requiredValues,
                             String[] providedValues,
                             String[] missingValues,
                             String mode,
                             String state,
                             String exception)
        Constructs a new instance.
        Parameters:
        id - runtime identification of service class
        parentId - runtime identification of parent service class
        childrenIds - runtime identification of children services classes
        requiredValues - required values by this service
        providedValues - provided values by this service
        missingValues - missing values of this service
        mode - the service mode
        state - the service state
        exception - the start failure reason
    • Method Detail

      • getId

        public String getId()
        Get runtime identification of service class
        Returns:
        the id
      • getParentId

        public String getParentId()
        Get runtime identification of parent service class
        Returns:
        the parent id
      • getChildrenIds

        public String[] getChildrenIds()
        Get runtime identification of child service classes
        Returns:
        the children ids
      • getRequiredValues

        public String[] getRequiredValues()
        The list of required values by this service.
        Returns:
        the required value names
      • getProvidedValues

        public String[] getProvidedValues()
        The list of provided values by this service.
        Returns:
        the provided value names
      • getMissingValues

        public String[] getMissingValues()
        The list of missing values of this service.
        Returns:
        the missing value names
      • getMode

        public String getMode()
        Get the service mode, as a string.
        Returns:
        the service mode
      • getState

        public String getState()
        Get the service state, as a string.
        Returns:
        the service state
      • getException

        public String getException()
        Get the service start exception.
        Returns:
        the service start exception
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object