Interface SystemProvider

All Superinterfaces:
PluginProvider

public interface SystemProvider extends PluginProvider
Provides a set of interface methods for integration with a vme manager System
Since:
1.2.10
  • Method Details

    • getDescription

      String getDescription()
      Grabs the description for the SystemProvider
      Returns:
      String
    • getIcon

      Icon getIcon()
      Returns the logo for display. SVGs are preferred.
      Returns:
      Icon representation of assets stored in the src/assets of the project.
    • getSystemComponentTypes

      Collection<SystemComponentType> getSystemComponentTypes()
      Provides a Collection of SystemComponentType which are supported for this system provider
    • getSystemTypes

      Collection<SystemType> getSystemTypes()
      Providers a collection of system types that are supported by this provider
    • getSystemTypeLayouts

      Collection<SystemTypeLayout> getSystemTypeLayouts()
      Provides a collection of SystemTypeLayout which are supported by this system provider. These layouts map the resources which are maintained, configured, updated by the provider implementation
    • prepareInitializeSystem

      default ServiceResponse prepareInitializeSystem(System system, SystemRequest systemRequest)
      This phase is run prior to exeucting the system initialization workflows. In this phase you can perform any form up pre initialization checks, additional input validations, etc.
      Parameters:
      system -
      Returns:
    • initializeSystem

      default ServiceResponse initializeSystem(System system, SystemRequest systemRequest)
      This method is executed post initialization workflows have been executed. Not required to implement.
      Parameters:
      system -
      Returns:
    • prepareUpdateSystem

      default ServiceResponse prepareUpdateSystem(System system, SystemRequest systemRequest)
      This phase is run prior to executing the system update workflows. Perform any pre checks, validations, or resource auditing here.
      Parameters:
      system -
      Returns:
    • updateSystem

      default ServiceResponse updateSystem(System system, SystemRequest systemRequest)
      This method is executed post update workflows for the given system.
      Parameters:
      system -
      Returns:
    • deleteSystem

      default ServiceResponse deleteSystem(System system)
      Perform any cleanup/state reset operations required on removal of a system
      Parameters:
      system -
      Returns:
    • refreshSystem

      default ServiceResponse refreshSystem(System system)
      This method is bound to a periodic job that is executed by the VME Manager.
      Parameters:
      system -
      Returns:
    • refreshSystemDaily

      default ServiceResponse refreshSystemDaily(System system)
      Executed once a day, perform any desireable action on a daily interval
      Parameters:
      system -
      Returns:
    • addSystemComponent

      default ServiceResponse addSystemComponent(System system, SystemRequest systemRequest, SystemComponentType componentType)
      This method is called when adding an additional component to an existing system (adding a new host, storage array etc)
      Parameters:
      system -
      systemRequest -
      componentType -
      Returns: