package p.studio.execution;

import p.studio.shipper.StudioShipperLogSource;

public enum StudioExecutionLogSource {
    BUILD,
    PACK_VALIDATION,
    PACK,
    MANIFEST,
    RUNTIME;

    public static StudioExecutionLogSource fromShipper(final StudioShipperLogSource source) {
        return switch (source) {
            case BUILD -> BUILD;
            case PACK_VALIDATION -> PACK_VALIDATION;
            case PACK -> PACK;
            case MANIFEST -> MANIFEST;
        };
    }
}
