Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package com.opencredo.concourse.domain.commands;
import com.google.common.reflect.TypeToken;
import com.opencredo.concourse.domain.functional.Either;
import java.lang.reflect.Type;
import java.time.Instant;
import java.util.Objects;
import java.util.Optional;
import java.util.UUID;
import java.util.function.Function;
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkNotNull;
/**
* The result of processing a {@link Command}, which may be either success or failure.
*/
public final class CommandResult {
static CommandResult ofSuccess(UUID processingId, Instant processedTimestamp, Type resultType, Optional