class YarnClusterDescriptor implements ClusterDescriptor<ApplicationId> {

	@VisibleForTesting
	void addPluginsFoldersToShipFiles(Collection<File> effectiveShipFiles) {
		final Optional<File> pluginsDir = PluginConfig.getPluginsDir();
		pluginsDir.ifPresent(effectiveShipFiles::add);
	}

	public  YarnClusterDescriptor(
			Configuration flinkConfiguration,
			YarnConfiguration yarnConfiguration,
			YarnClient yarnClient,
			YarnClusterInformationRetriever yarnClusterInformationRetriever,
			boolean sharedYarnClient);

}