net.nemerosa.ontrack.model.structure.SyncConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ontrack-model Show documentation
Show all versions of ontrack-model Show documentation
Ontrack module: ontrack-model
package net.nemerosa.ontrack.model.structure;
import java.util.Collection;
public interface SyncConfig {
String getItemType();
Collection getSourceItems();
Collection getTargetItems();
D getItemId(T item);
void createTargetItem(T source);
void replaceTargetItem(T source, T target);
void deleteTargetItem(T target);
default boolean isTargetItemPresent(T targetItem) {
return targetItem != null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy