Interface IacPlatforms


  • public interface IacPlatforms
    Defines the platforms that the tool is supported on.
    Since:
    2.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Set<java.lang.String> getAllPlatforms()
      Standard set of supported platforms.
      org.gradle.api.provider.Provider<java.util.Set<java.lang.String>> getPlatforms()
      Provide the list of platforms that need to be supported.
      void platforms​(java.lang.Iterable<java.lang.String> reqPlatforms)
      Add one or more platforms to support for providers.
      void platforms​(java.lang.String... reqPlatforms)
      Add one or more platforms to support for providers.
    • Method Detail

      • getAllPlatforms

        java.util.Set<java.lang.String> getAllPlatforms()
        Standard set of supported platforms.
        Returns:
        The set of provider platforms supported at the time the plugin was released.
      • platforms

        void platforms​(java.lang.Iterable<java.lang.String> reqPlatforms)
        Add one or more platforms to support for providers. Use getAllPlatforms() to add all platforms supported bu this plugin.
        Parameters:
        reqPlatforms - Platforms to add.
      • platforms

        void platforms​(java.lang.String... reqPlatforms)
        Add one or more platforms to support for providers. Use getAllPlatforms() to add all platforms supported bu this plugin.
        Parameters:
        reqPlatforms - Platforms to add.
      • getPlatforms

        org.gradle.api.provider.Provider<java.util.Set<java.lang.String>> getPlatforms()
        Provide the list of platforms that need to be supported. If empty, only the current platform will be supported.
        Returns:
        List of supported platforms.