All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.retest.recheck.meta.GlobalMetadataProvider Maven / Gradle / Ivy

There is a newer version: 1.13.0
Show newest version
package de.retest.recheck.meta;

import java.util.Map;

import de.retest.recheck.meta.global.GitMetadataProvider;
import de.retest.recheck.meta.global.MachineMetadataProvider;
import de.retest.recheck.meta.global.OSMetadataProvider;
import de.retest.recheck.meta.global.TimeMetadataProvider;

/**
 * Provides generic metadata that apply in particular to the current context in which a program is executed. This
 * includes for example:
 * 
    *
  • The operating systems name and version.
  • *
  • The date and time executed.
  • *
  • ...
  • *
*/ final class GlobalMetadataProvider implements MetadataProvider { private final MetadataProvider globalProvider = MultiMetadataProvider.of( // new GitMetadataProvider(), // new MachineMetadataProvider(), // new OSMetadataProvider(), // new TimeMetadataProvider() // ); @Override public Map retrieve() { return globalProvider.retrieve(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy