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

io.bdeploy.bhive.objects.view.DamagedObjectView Maven / Gradle / Ivy

Go to download

Public API including dependencies, ready to be used for integrations and plugins.

There is a newer version: 7.3.6
Show newest version
package io.bdeploy.bhive.objects.view;

import java.util.Collection;

import io.bdeploy.bhive.model.Manifest;
import io.bdeploy.bhive.model.ObjectId;
import io.bdeploy.bhive.model.Tree;
import io.bdeploy.bhive.model.Tree.EntryType;
import io.bdeploy.bhive.op.FsckOperation;
import io.bdeploy.bhive.op.ScanOperation;

/**
 * Holds data about an object which was damaged. This usually means that the file's content does not match the expected content
 * checksum when running the {@link FsckOperation}. Can also happen when running the {@link ScanOperation} on broken {@link Tree}s
 * or {@link Manifest} references (i.e. cannot be deserialized).
 * 

* A {@link DamagedObjectView} is also a {@link MissingObjectView} as the object referred to cannot be used. */ public class DamagedObjectView extends MissingObjectView { public DamagedObjectView(ObjectId id, EntryType type, Collection path) { super(id, type, path); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy