Interface ConditionalResourceProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean shouldApply​(ISettings settings, Resource existing)
      If an implementation needs to apply only under certain conditions related to the config or the existing state of the Resource being built, they can choose to override this default.
      • Methods inherited from interface com.intergral.deep.agent.api.spi.Ordered

        order
    • Method Detail

      • shouldApply

        boolean shouldApply​(ISettings settings,
                            Resource existing)
        If an implementation needs to apply only under certain conditions related to the config or the existing state of the Resource being built, they can choose to override this default.
        Parameters:
        settings - The auto configuration properties
        existing - The current state of the Resource being created
        Returns:
        false to skip over this ResourceProvider, or true to use it