Sha256: 241d60eed7920c364c9d48a1ef064ce388470c67288d859b0a6ccc4af8c188bf
Contents?: true
Size: 923 Bytes
Versions: 125
Compression:
Stored size: 923 Bytes
Contents
package org.embulk.plugin; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; public class PluginType { private final String name; // TODO accept isObject()/ObjectNode for complex PluginSource @JsonCreator public PluginType(String name) { if (name == null) { throw new NullPointerException("name must not be null"); } this.name = name; } @JsonValue public String getName() { return name; } @Override public int hashCode() { return name.hashCode(); } @Override public boolean equals(Object other) { if (!(other instanceof PluginType)) { return false; } PluginType o = (PluginType) other; return name.equals(o.name); } @Override public String toString() { return name; } }
Version data entries
125 entries across 125 versions & 1 rubygems