Class FpIfReleased

  • All Implemented Interfaces:
    org.cactoos.BiFunc<Path,​Path,​Path>, Footprint

    public final class FpIfReleased
    extends FpEnvelope
    Footprint that behaves like one of the given footprints depending on hash and semver of provided cache.
    Since:
    0.41
    • Constructor Detail

      • FpIfReleased

        public FpIfReleased​(String semver,
                            String hash,
                            Footprint first,
                            Footprint second)
        Ctor.
        Parameters:
        semver - Cache version
        hash - Git hash
        first - First wrapped footprint
        second - Second wrapped footprint
      • FpIfReleased

        public FpIfReleased​(String semver,
                            Supplier<String> hash,
                            Footprint first,
                            Footprint second)
        Ctor.
        Parameters:
        semver - Cache version
        hash - Git hash
        first - First wrapped footprint
        second - Second wrapped footprint