List<PlatformParameters> getPlatforms() {
    String property = getProperty(PropertyNames.FROM_PLATFORMS);
    if (property != null) {
      return ConfigurationPropertyValidator.parseListProperty(property).stream()
          .map(PlatformParameters::of)
          .collect(Collectors.toList());
    }
    return from.platforms;
  }
Gets the specified platforms.

@return the specified platforms
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/JibPluginConfiguration.java