com.societegenerale.cidroid.tasks.consumer.services.model.github.PRmergeableStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ci-droid-tasks-consumer-services Show documentation
Show all versions of ci-droid-tasks-consumer-services Show documentation
ci-droid-tasks-consumer services
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