org.molgenis.navigator.copy.CopyResourceRequest Maven / Gradle / Ivy
package org.molgenis.navigator.copy;
import com.google.auto.value.AutoValue;
import java.util.List;
import javax.annotation.CheckForNull;
import javax.annotation.Nullable;
import org.molgenis.navigator.model.ResourceIdentifier;
import org.molgenis.util.AutoGson;
@AutoValue
@AutoGson(autoValueClass = AutoValue_CopyResourceRequest.class)
@SuppressWarnings(
"squid:S1610") // Abstract classes without fields should be converted to interfaces
public abstract class CopyResourceRequest {
public abstract List getResources();
@Nullable
@CheckForNull
public abstract String getTargetPackage();
public static CopyResourceRequest create(
List resources, String targetPackage) {
return new AutoValue_CopyResourceRequest(resources, targetPackage);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy