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

com.societegenerale.cidroid.tasks.consumer.services.model.github.PRmergeableStatus Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
package com.societegenerale.cidroid.tasks.consumer.services.model.github;

import lombok.Getter;

import java.util.Map;

import static java.util.Arrays.stream;
import static java.util.stream.Collectors.toMap;

public enum PRmergeableStatus {

    MERGEABLE(true),
    NOT_MERGEABLE(false),
    UNKNOWN(null);

    @Getter
    private Boolean value;

    public final static Map mapping =
            stream(PRmergeableStatus.values()).collect(toMap(leg -> leg.value, leg -> leg));

    PRmergeableStatus(Boolean value) {
        this.value=value;
    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy