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

com.github.molcikas.photon.query.GetParameterValuesResult Maven / Gradle / Ivy

The newest version!
package com.github.molcikas.photon.query;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.Collections;
import java.util.Map;

@AllArgsConstructor
@Getter
public class GetParameterValuesResult
{
    private boolean skipped;
    private boolean changed;
    private Map values;

    public static GetParameterValuesResult skipped()
    {
        return new GetParameterValuesResult(true, false, Collections.emptyMap());
    }

    public static GetParameterValuesResult unchanged()
    {
        return new GetParameterValuesResult(false, false, Collections.emptyMap());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy