Class ModuleEntry


  • public class ModuleEntry
    extends java.lang.Object
    A cockpit module description, containing all necessary info to access a cockpit module.
    • Constructor Detail

      • ModuleEntry

        public ModuleEntry()
    • Method Detail

      • getUrl

        public java.lang.String getUrl()
        Returns:
        The url where the module descriptor can be accessed.
      • setUrl

        public void setUrl​(java.lang.String url)
        Corresponding setter for getUrl().
      • isEnabled

        public boolean isEnabled()
        Returns:
        True, if the module should be enabled.
      • setEnabled

        public void setEnabled​(boolean enabled)
        Corresponding setter for isEnabled().
      • getLabel

        public java.lang.String getLabel()
        Returns:
        The display label for the module.
      • setLabel

        public void setLabel​(java.lang.String label)
        Corresponding setter for getLabel().
      • isAlive

        public boolean isAlive()
        Returns:
        true if service/module is alive
      • setAlive

        public void setAlive​(boolean alive)
        Parameters:
        alive - the alive flag to set
      • isUpToDate

        public boolean isUpToDate()
        Returns:
        true if service is up to date
      • setUpToDate

        public void setUpToDate​(boolean isUpToDate)
        Parameters:
        isUpToDate - setter for up to date flag
      • getParentModuleUrls

        public java.util.Collection<java.lang.String> getParentModuleUrls()
        Returns:
        collection of parent modules i.e. all modules that should preceede the current module in case of in-order processing.
      • setParentModuleUrls

        public void setParentModuleUrls​(java.util.Collection<java.lang.String> parentModuleUrls)
        Parameters:
        parentModuleUrls - collection of parent modules urls i.e. all modules that should preceede the current module in case of in-order processing.