Sha256: 427bb3ef1e5456c6c2c7f34d4e6ac5a8293ea2fb042b96d209b69e0675a139f5
Contents?: true
Size: 659 Bytes
Versions: 5
Compression:
Stored size: 659 Bytes
Contents
package org.embulk.input.jira; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import org.embulk.config.ConfigException; public enum AuthenticateMethod { BASIC; @JsonValue @Override public String toString() { return this.name().toLowerCase(); } @JsonCreator public static AuthenticateMethod fromString(String value) { switch(value) { case "basic": return BASIC; default: throw new ConfigException(String.format("Unknown AuthenticateMethod value '%s'. Supported values is basic.", value)); } } }
Version data entries
5 entries across 5 versions & 1 rubygems