Sha256: f4fbe667c45ae31e0e47036c54c7463ccecc9a3d276591938bbf7e02e2cef500
Contents?: true
Size: 584 Bytes
Versions: 3
Compression:
Stored size: 584 Bytes
Contents
package org.embulk.output.kintone; import org.embulk.config.ConfigException; public enum KintoneMode { INSERT("insert"), UPDATE("update"), UPSERT("upsert"); private final String value; KintoneMode(String value) { this.value = value; } @Override public String toString() { return value; } public static KintoneMode getKintoneModeByValue(String value) { for (KintoneMode mode : values()) { if (mode.toString().equals(value)) { return mode; } } throw new ConfigException(String.format("Unknown mode '%s'", value)); } }
Version data entries
3 entries across 3 versions & 1 rubygems