class DataEventAttrBuilder {

    public static String toType(final String channelName, final ProcessInstance process) {
        Objects.requireNonNull(process);
        Objects.requireNonNull(channelName);
        return String.format(AbstractDataEvent.TYPE_FORMAT, process.getProcessId().toLowerCase(), channelName.toLowerCase());
    }

    private  DataEventAttrBuilder();

}