io.bdeploy.bhive.objects.view.MissingObjectView Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
Public API including dependencies, ready to be used for integrations and plugins.
package io.bdeploy.bhive.objects.view;
import java.util.Collection;
import io.bdeploy.bhive.model.ObjectId;
import io.bdeploy.bhive.model.Tree;
import io.bdeploy.bhive.model.Tree.EntryType;
import io.bdeploy.bhive.model.Tree.Key;
/**
* Refers to a missing object. This means that the object could not be found in the database, but was referenced by a
* {@link Tree}.
*/
public class MissingObjectView extends ElementView {
private final EntryType type;
public MissingObjectView(ObjectId id, EntryType type, Collection path) {
super(id, path);
this.type = type;
}
/**
* @return the expected {@link Key} {@link EntryType}.
*/
public EntryType getType() {
return type;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy