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

net.nemerosa.ontrack.model.structure.SyncConfig Maven / Gradle / Ivy

There is a newer version: 4.4.5
Show newest version
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