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

se.kuseman.payloadbuilder.api.execution.IStatementContext Maven / Gradle / Ivy

package se.kuseman.payloadbuilder.api.execution;

import java.util.List;
import java.util.function.Supplier;

/** Definition of a statement context. */
public interface IStatementContext
{
    /** Get node data for provided node id */
     T getNodeData(Integer nodeId);

    /** Get or create node data for provided node id */
     T getOrCreateNodeData(Integer nodeId);

    /** Get or create node data for provided node id with supplier */
     T getOrCreateNodeData(Integer nodeId, final Supplier creator);

    /** Return all node datas for a specific node class */
     List getNodeDatas(Class nodeClass);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy